Beispiel #1
0
            // Methods

            public Cv.Vec4i At(uint pos)
            {
                Cv.Exception exception = new Cv.Exception();
                Cv.Vec4i     element   = new Cv.Vec4i(au_std_vectorVec4i_at(CppPtr, pos, exception.CppPtr), DeleteResponsibility.False);
                exception.Check();
                return(element);
            }
Beispiel #2
0
        public static void DrawCharucoDiamond(Dictionary dictionary, Cv.Vec4i ids, int squareLength, int markerLength, out Cv.Mat image,
                                              int marginSize = 0, int borderBits = 1)
        {
            Cv.Exception exception = new Cv.Exception();
            IntPtr       imagePtr;

            au_drawCharucoDiamond(dictionary.CppPtr, ids.CppPtr, squareLength, markerLength, out imagePtr, marginSize, borderBits, exception.CppPtr);
            image = new Cv.Mat(imagePtr);

            exception.Check();
        }
Beispiel #3
0
            public unsafe Cv.Vec4i[] Data()
            {
                IntPtr *dataPtr = au_std_vectorVec4i_data(CppPtr);
                uint    size    = Size();

                Cv.Vec4i[] data = new Cv.Vec4i[size];
                for (int i = 0; i < size; i++)
                {
                    data[i] = new Cv.Vec4i(dataPtr[i], DeleteResponsibility.False);
                }

                return(data);
            }
Beispiel #4
0
 public void PushBack(Cv.Vec4i value)
 {
     au_std_vectorVec4i_push_back(CppPtr, value.CppPtr);
 }