コード例 #1
0
 public Mask_YUV8(int height, int width, int orgX, int orgY, YUV888Pixel v) : this(VisionLabPINVOKE.new_Mask_YUV8__SWIG_4(height, width, orgX, orgY, YUV888Pixel.getCPtr(v)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public YUV161616Pixel(YUV888Pixel pixel) : this(VisionLabPINVOKE.new_YUV161616Pixel__SWIG_3(YUV888Pixel.getCPtr(pixel)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
 public void SetMaskValue(int x, int y, YUV888Pixel v)
 {
     VisionLabPINVOKE.Mask_YUV8_SetMaskValue(swigCPtr, x, y, YUV888Pixel.getCPtr(v));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
 public void SetPixel(int x, int y, YUV888Pixel value)
 {
     VisionLabPINVOKE.__NumYUV888Image_SetPixel(swigCPtr, x, y, YUV888Pixel.getCPtr(value));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #5
0
    public XYCoord GetXYCoord(YUV888Pixel ptr)
    {
        XYCoord ret = new XYCoord(VisionLabPINVOKE.__NumYUV888Image_GetXYCoord(swigCPtr, YUV888Pixel.getCPtr(ptr)), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #6
0
    public YUV888Pixel Divide_Op(YUV888Pixel p)
    {
        YUV888Pixel ret = new YUV888Pixel(VisionLabPINVOKE.YUV888Pixel_Divide_Op(swigCPtr, YUV888Pixel.getCPtr(p)), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #7
0
    public bool Not(YUV888Pixel p)
    {
        bool ret = VisionLabPINVOKE.YUV888Pixel_Not(swigCPtr, YUV888Pixel.getCPtr(p));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #8
0
    public YUV888Pixel GetMaskValue(int x, int y)
    {
        YUV888Pixel ret = new YUV888Pixel(VisionLabPINVOKE.Mask_YUV8_GetMaskValue(swigCPtr, x, y), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #9
0
    public YUV888Pixel Add(YUV888Pixel p)
    {
        YUV888Pixel ret = new YUV888Pixel(VisionLabPINVOKE.YUV888Pixel_Add(swigCPtr, YUV888Pixel.getCPtr(p)), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #10
0
    public __NumYUV888Image Assign_Op(YUV888Pixel pixel)
    {
        __NumYUV888Image ret = new __NumYUV888Image(VisionLabPINVOKE.__NumYUV888Image_Assign_Op__SWIG_1(swigCPtr, YUV888Pixel.getCPtr(pixel)), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #11
0
    public YUV888Pixel GetPixelPtr(int x, int y)
    {
        IntPtr      cPtr = VisionLabPINVOKE.__NumYUV888Image_GetPixelPtr__SWIG_0(swigCPtr, x, y);
        YUV888Pixel ret  = (cPtr == IntPtr.Zero) ? null : new YUV888Pixel(cPtr, false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #12
0
    public YUV888Pixel GetPixelPtr(XYCoord xy)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.__NumYUV888Image_GetPixelPtr__SWIG_1(swigCPtr, XYCoord.getCPtr(xy));
        YUV888Pixel           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new YUV888Pixel(cPtr, false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #13
0
    public YUV888Pixel GetFirstPixelPtr()
    {
        IntPtr      cPtr = VisionLabPINVOKE.NumYUV888Image_GetFirstPixelPtr(swigCPtr);
        YUV888Pixel ret  = (cPtr == IntPtr.Zero) ? null : new YUV888Pixel(cPtr, false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #14
0
 public static void OpticalCorrection(YUV888Image src, YUV888Image dest, double k1, double k2, double k3, YUV888Pixel borderValue, PixelInterpolation pi) {
   VisionLabPINVOKE.OpticalCorrection__SWIG_23(YUV888Image.getCPtr(src), YUV888Image.getCPtr(dest), k1, k2, k3, YUV888Pixel.getCPtr(borderValue), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #15
0
 public static void LinePattern(YUV888Image image, int startx, int starty, YUV888Pixel value, int repeatx, int repeaty) {
   VisionLabPINVOKE.LinePattern__SWIG_23(YUV888Image.getCPtr(image), startx, starty, YUV888Pixel.getCPtr(value), repeatx, repeaty);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #16
0
 public static void FishEye(YUV888Image src, YUV888Image dest, int height, int width, double omega, double scale, YUV888Pixel border, PixelInterpolation pi) {
   VisionLabPINVOKE.FishEye__SWIG_23(YUV888Image.getCPtr(src), YUV888Image.getCPtr(dest), height, width, omega, scale, YUV888Pixel.getCPtr(border), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #17
0
 public static void DrawPolygon(YUV888Image image, vector_XYCoord tab, YUV888Pixel value) {
   VisionLabPINVOKE.DrawPolygon__SWIG_23(YUV888Image.getCPtr(image), vector_XYCoord.getCPtr(tab), YUV888Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #18
0
 public static string YUV888PixelToStr(YUV888Pixel p) {
   string ret = VisionLabPINVOKE.YUV888PixelToStr(YUV888Pixel.getCPtr(p));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #19
0
 public static void Multiply(__NumYUV888Image image, YUV888Pixel pixel) {
   VisionLabPINVOKE.Multiply__SWIG_19(__NumYUV888Image.getCPtr(image), YUV888Pixel.getCPtr(pixel));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #20
0
 public __NumYUV888Image Assign_Op(YUV888Pixel pixel) {
   __NumYUV888Image ret = new __NumYUV888Image(VisionLabPINVOKE.__NumYUV888Image_Assign_Op__SWIG_1(swigCPtr, YUV888Pixel.getCPtr(pixel)), false);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #21
0
 public static XYCoord RotateFull(YUV888Image src, YUV888Image dest, double phi, YUV888Pixel borderValue, PixelInterpolation pi) {
   XYCoord ret = new XYCoord(VisionLabPINVOKE.RotateFull__SWIG_23(YUV888Image.getCPtr(src), YUV888Image.getCPtr(dest), phi, YUV888Pixel.getCPtr(borderValue), (int)pi), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #22
0
 public static void Warp(YUV888Image src, YUV888Image dest, TransformDirection dir, Coord2D leftTop, Coord2D rightTop, Coord2D leftBottom, Coord2D rightBottom, int height, int width, YUV888Pixel border, PixelInterpolation pi) {
   VisionLabPINVOKE.Warp__SWIG_23(YUV888Image.getCPtr(src), YUV888Image.getCPtr(dest), (int)dir, Coord2D.getCPtr(leftTop), Coord2D.getCPtr(rightTop), Coord2D.getCPtr(leftBottom), Coord2D.getCPtr(rightBottom), height, width, YUV888Pixel.getCPtr(border), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #23
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(YUV888Pixel obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #24
0
 public XYCoord GetXYCoord(YUV888Pixel ptr) {
   XYCoord ret = new XYCoord(VisionLabPINVOKE.__NumYUV888Image_GetXYCoord(swigCPtr, YUV888Pixel.getCPtr(ptr)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #25
0
 internal static HandleRef getCPtr(YUV888Pixel obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #26
0
 public static int PixelPtrTabFromImage(YUV888Image image, SWIGTYPE_p_std__vectorT_JL_VisionLib_V3__YUV888Pixel_p_t tab, YUV888Pixel low, YUV888Pixel high) {
   int ret = VisionLabPINVOKE.PixelPtrTabFromImage__SWIG_23(YUV888Image.getCPtr(image), SWIGTYPE_p_std__vectorT_JL_VisionLib_V3__YUV888Pixel_p_t.getCPtr(tab), YUV888Pixel.getCPtr(low), YUV888Pixel.getCPtr(high));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #27
0
 public static YUV888Pixel ConvertIntToYUV888Pixel(int i) {
   YUV888Pixel ret = new YUV888Pixel(VisionLabPINVOKE.ConvertIntToYUV888Pixel(i), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #28
0
 public static void Rotate(YUV888Image src, YUV888Image dest, XYCoord centre, double phi, YUV888Pixel borderValue, PixelInterpolation pi) {
   VisionLabPINVOKE.Rotate__SWIG_23(YUV888Image.getCPtr(src), YUV888Image.getCPtr(dest), XYCoord.getCPtr(centre), phi, YUV888Pixel.getCPtr(borderValue), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #29
0
 public YUV161616Pixel(YUV888Pixel pixel) : this(VisionLabPINVOKE.new_YUV161616Pixel__SWIG_3(YUV888Pixel.getCPtr(pixel)), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #30
0
 public static void SetBorders(YUV888Image image, YUV888Pixel value) {
   VisionLabPINVOKE.SetBorders__SWIG_23(YUV888Image.getCPtr(image), YUV888Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #31
0
 public static RGB888Pixel ConvertYUV888ToRGB888Pixel(YUV888Pixel yuv) {
   RGB888Pixel ret = new RGB888Pixel(VisionLabPINVOKE.ConvertYUV888ToRGB888Pixel(YUV888Pixel.getCPtr(yuv)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #32
0
 public static int XYCoordTabFromImage(YUV888Image image, vector_XYCoord tab, YUV888Pixel low, YUV888Pixel high) {
   int ret = VisionLabPINVOKE.XYCoordTabFromImage__SWIG_23(YUV888Image.getCPtr(image), vector_XYCoord.getCPtr(tab), YUV888Pixel.getCPtr(low), YUV888Pixel.getCPtr(high));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #33
0
 public static void AddBorder(YUV888Image src, YUV888Image dest, int top, int left, int right, int bottom, YUV888Pixel value) {
   VisionLabPINVOKE.AddBorder__SWIG_11(YUV888Image.getCPtr(src), YUV888Image.getCPtr(dest), top, left, right, bottom, YUV888Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #34
0
 public static int ConvertYUV888PixelToInt(YUV888Pixel yuv) {
   int ret = VisionLabPINVOKE.ConvertYUV888PixelToInt(YUV888Pixel.getCPtr(yuv));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #35
0
 public static void CircleShape(YUV888Image image, XYCoord centre, int r, YUV888Pixel value) {
   VisionLabPINVOKE.CircleShape__SWIG_23(YUV888Image.getCPtr(image), XYCoord.getCPtr(centre), r, YUV888Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #36
0
 public static YUV888Pixel ConvertYUV161616PixelTo888(YUV161616Pixel pixel) {
   YUV888Pixel ret = new YUV888Pixel(VisionLabPINVOKE.ConvertYUV161616PixelTo888(YUV161616Pixel.getCPtr(pixel)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #37
0
 public YUV888Pixel Subtract_Op(YUV888Pixel p) {
   YUV888Pixel ret = new YUV888Pixel(VisionLabPINVOKE.YUV888Pixel_Subtract_Op(swigCPtr, YUV888Pixel.getCPtr(p)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #38
0
 public static YUV888Pixel StrToYUV888Pixel(string str) {
   YUV888Pixel ret = new YUV888Pixel(VisionLabPINVOKE.StrToYUV888Pixel(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #39
0
 public void SetPixel(int x, int y, YUV888Pixel value) {
   VisionLabPINVOKE.__NumYUV888Image_SetPixel(swigCPtr, x, y, YUV888Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #40
0
 public static YUV888Pixel ConvertRGB888ToYUV888Pixel(RGB888Pixel rgb) {
   YUV888Pixel ret = new YUV888Pixel(VisionLabPINVOKE.ConvertRGB888ToYUV888Pixel(RGB888Pixel.getCPtr(rgb)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #41
0
 public static void DiskShape(YUV888Image image, XYCoord centre, double r, YUV888Pixel value, ZeroOrOriginal zorg) {
   VisionLabPINVOKE.DiskShape__SWIG_22(YUV888Image.getCPtr(image), XYCoord.getCPtr(centre), r, YUV888Pixel.getCPtr(value), (int)zorg);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #42
0
 public static void BlockPattern(YUV888Image image, XYCoord leftTop, int height, int width, YUV888Pixel value, int repeatx, int repeaty) {
   VisionLabPINVOKE.BlockPattern__SWIG_23(YUV888Image.getCPtr(image), XYCoord.getCPtr(leftTop), height, width, YUV888Pixel.getCPtr(value), repeatx, repeaty);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #43
0
 public static void DrawLines(YUV888Image image, vector_LineXY tab, YUV888Pixel value) {
   VisionLabPINVOKE.DrawLines__SWIG_23(YUV888Image.getCPtr(image), vector_LineXY.getCPtr(tab), YUV888Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #44
0
 public static int CountPixel(YUV888Image image, YUV888Pixel value) {
   int ret = VisionLabPINVOKE.CountPixel__SWIG_11(YUV888Image.getCPtr(image), YUV888Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #45
0
 public YUV888Pixel Divide(YUV888Pixel p) {
   YUV888Pixel ret = new YUV888Pixel(VisionLabPINVOKE.YUV888Pixel_Divide(swigCPtr, YUV888Pixel.getCPtr(p)), false);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }