Beispiel #1
0
 internal MatrixOp(Dlib.Native.ElementType elementType, ImageTypes type, IntPtr ptr)
 {
     this._ElementType = elementType;
     this._Array2DType = type.ToNativeArray2DType();
     this.NativePtr    = ptr;
     this._ImageType   = type;
 }
        internal MatrixOp(Dlib.Native.ElementType elementType, MatrixElementTypes type, IntPtr ptr, int templateRows = 0, int temlateColumns = 0)
        {
            this._ElementType       = elementType;
            this._MatrixElementType = type.ToNativeMatrixElementType();
            this.NativePtr          = ptr;

            this.TemplateRows    = templateRows;
            this.TemplateColumns = temlateColumns;
        }
Beispiel #3
0
 public static extern Dlib.Native.ErrorType image_window_set_image_matrix_op(IntPtr window, Dlib.Native.ElementType matrixElementType, Dlib.Native.Array2DType type, IntPtr matrix);
Beispiel #4
0
 public static extern IntPtr image_window_new_matrix_op2(Dlib.Native.ElementType matrixElementType, Dlib.Native.Array2DType type, IntPtr image, byte[] title);
Beispiel #5
0
 public static extern IntPtr image_window_new_matrix_op4(Dlib.Native.ElementType etype,
                                                         Dlib.Native.MatrixElementType type,
                                                         IntPtr img,
                                                         int templateRows,
                                                         int templateColumns,
                                                         byte[] title);
Beispiel #6
0
 public static extern Dlib.Native.ErrorType matrix_op_nr(Dlib.Native.ElementType etype, Dlib.Native.Array2DType type, IntPtr matrix, out int ret);
Beispiel #7
0
 public static extern Dlib.Native.ErrorType matrix_op_operator(Dlib.Native.ElementType etype, Dlib.Native.Array2DType type, IntPtr matrix, int r, int c, IntPtr rgbPixel);
Beispiel #8
0
 public static extern bool matrix_op_nc(Dlib.Native.ElementType etype, Dlib.Native.Array2DType type, IntPtr matrix, out int ret);