Beispiel #1
0
 private static extern void cvRectangle(ref IplImage img, CvPoint pt1, CvPoint pt2, CvScalar color, int thickness, int line_type, int shift);
Beispiel #2
0
        public static void CvRectangle(IntPtr img, CvPoint pt1, CvPoint pt2, CvScalar color, int thickness, int line_type, int shift)
        {
            IplImage _img = (IplImage)Marshal.PtrToStructure(img, typeof(IplImage));

            cvRectangle(ref _img, pt1, pt2, color, thickness, line_type, shift);
        }
Beispiel #3
0
 private static extern void cvFilter2D(ref CvMat src, ref CvMat dst, ref CvMat kernel, CvPoint anchor);
Beispiel #4
0
 private static extern void cvPutText(ref IplImage img, [MarshalAs(UnmanagedType.LPStr)] String text, CvPoint org, ref CvFont font, CvScalar color);
Beispiel #5
0
 public static void CvFilter2D(ref CvMat src, ref CvMat dst, ref CvMat kernel, CvPoint anchor)
 {
     cvFilter2D(ref src, ref dst, ref kernel, anchor);
 }