Exemple #1
0
            public static void DrawCharucoDiamond(Dictionary dictionary, Cv.Core.Vec4i ids, int squareLength, int markerLength, out Cv.Core.Mat image)
            {
                Cv.Core.Exception exception = new Cv.Core.Exception();
                System.IntPtr     imagePtr;

                au_drawCharucoDiamond3(dictionary.cppPtr, ids.cppPtr, squareLength, markerLength, out imagePtr, exception.cppPtr);
                image = new Cv.Core.Mat(imagePtr);

                exception.Check();
            }
Exemple #2
0
                public unsafe Cv.Core.Vec4i[] Data()
                {
                    System.IntPtr *dataPtr = au_std_vectorVec4i_data(cppPtr);
                    uint           size    = Size();

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

                    return(data);
                }
Exemple #3
0
 public void PushBack(Cv.Core.Vec4i value)
 {
     au_std_vectorVec4i_push_back(cppPtr, value.cppPtr);
 }