Exemplo n.º 1
0
 public Mask_RGB8(int height, int width, int orgX, int orgY, RGB888Pixel v) : this(VisionLabPINVOKE.new_Mask_RGB8__SWIG_4(height, width, orgX, orgY, RGB888Pixel.getCPtr(v)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public RGB161616Pixel(RGB888Pixel pixel) : this(VisionLabPINVOKE.new_RGB161616Pixel__SWIG_3(RGB888Pixel.getCPtr(pixel)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public void SetMaskValue(int x, int y, RGB888Pixel v)
 {
     VisionLabPINVOKE.Mask_RGB8_SetMaskValue(swigCPtr, x, y, RGB888Pixel.getCPtr(v));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void SetPixel(int x, int y, RGB888Pixel value)
 {
     VisionLabPINVOKE.NumRGB888Image_SetPixel(swigCPtr, x, y, RGB888Pixel.getCPtr(value));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public RGB888Pixel Add(RGB888Pixel p)
    {
        RGB888Pixel ret = new RGB888Pixel(VisionLabPINVOKE.RGB888Pixel_Add(swigCPtr, RGB888Pixel.getCPtr(p)), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public RGB888Pixel Divide_Op(RGB888Pixel p)
    {
        RGB888Pixel ret = new RGB888Pixel(VisionLabPINVOKE.RGB888Pixel_Divide_Op(swigCPtr, RGB888Pixel.getCPtr(p)), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public XYCoord GetXYCoord(RGB888Pixel ptr)
    {
        XYCoord ret = new XYCoord(VisionLabPINVOKE.NumRGB888Image_GetXYCoord(swigCPtr, RGB888Pixel.getCPtr(ptr)), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public NumRGB888Image Assign_Op(RGB888Pixel pixel)
    {
        NumRGB888Image ret = new NumRGB888Image(VisionLabPINVOKE.NumRGB888Image_Assign_Op__SWIG_1(swigCPtr, RGB888Pixel.getCPtr(pixel)), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 9
0
    public RGB888Pixel GetMaskValue(int x, int y)
    {
        RGB888Pixel ret = new RGB888Pixel(VisionLabPINVOKE.Mask_RGB8_GetMaskValue(swigCPtr, x, y), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public bool Not(RGB888Pixel p)
    {
        bool ret = VisionLabPINVOKE.RGB888Pixel_Not(swigCPtr, RGB888Pixel.getCPtr(p));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public RGB888Pixel GetPixelPtr(XYCoord xy)
    {
        IntPtr      cPtr = VisionLabPINVOKE.NumRGB888Image_GetPixelPtr__SWIG_1(swigCPtr, XYCoord.getCPtr(xy));
        RGB888Pixel ret  = (cPtr == IntPtr.Zero) ? null : new RGB888Pixel(cPtr, false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 12
0
    public RGB888Pixel GetPixelPtr(int x, int y)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.__NumRGB888Image_GetPixelPtr__SWIG_0(swigCPtr, x, y);
        RGB888Pixel           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new RGB888Pixel(cPtr, false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public RGB888Pixel GetLastPixelPtr()
    {
        IntPtr      cPtr = VisionLabPINVOKE.NumRGB888Image_GetLastPixelPtr(swigCPtr);
        RGB888Pixel ret  = (cPtr == IntPtr.Zero) ? null : new RGB888Pixel(cPtr, false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 14
0
 public static void Rotate(RGB888Image src, RGB888Image dest, XYCoord centre, double phi, RGB888Pixel borderValue, PixelInterpolation pi) {
   VisionLabPINVOKE.Rotate__SWIG_15(RGB888Image.getCPtr(src), RGB888Image.getCPtr(dest), XYCoord.getCPtr(centre), phi, RGB888Pixel.getCPtr(borderValue), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 15
0
 public static int SnapOnSoftTrigger(SWIGTYPE_p_CameraT_JL_VisionLib_V3__ColorImageT_JL_VisionLib_V3__RGB888Pixel_t_t cam, XYCoord c1, XYCoord c2, RGB888Pixel low, RGB888Pixel high, int minPixels, RGB888Image image) {
   int ret = VisionLabPINVOKE.SnapOnSoftTrigger__SWIG_3(SWIGTYPE_p_CameraT_JL_VisionLib_V3__ColorImageT_JL_VisionLib_V3__RGB888Pixel_t_t.getCPtr(cam), XYCoord.getCPtr(c1), XYCoord.getCPtr(c2), RGB888Pixel.getCPtr(low), RGB888Pixel.getCPtr(high), minPixels, RGB888Image.getCPtr(image));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 16
0
 public static int PixelPtrTabFromImage(RGB888Image image, SWIGTYPE_p_std__vectorT_JL_VisionLib_V3__RGB888Pixel_p_t tab, RGB888Pixel low, RGB888Pixel high) {
   int ret = VisionLabPINVOKE.PixelPtrTabFromImage__SWIG_15(RGB888Image.getCPtr(image), SWIGTYPE_p_std__vectorT_JL_VisionLib_V3__RGB888Pixel_p_t.getCPtr(tab), RGB888Pixel.getCPtr(low), RGB888Pixel.getCPtr(high));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 17
0
 public static void OpticalCorrection(RGB888Image src, RGB888Image dest, double k1, double k2, double k3, RGB888Pixel borderValue, PixelInterpolation pi) {
   VisionLabPINVOKE.OpticalCorrection__SWIG_15(RGB888Image.getCPtr(src), RGB888Image.getCPtr(dest), k1, k2, k3, RGB888Pixel.getCPtr(borderValue), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public __NumRGB888Image Assign_Op(RGB888Pixel pixel) {
   __NumRGB888Image ret = new __NumRGB888Image(VisionLabPINVOKE.__NumRGB888Image_Assign_Op__SWIG_1(swigCPtr, RGB888Pixel.getCPtr(pixel)), false);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 19
0
 public static RGB888Pixel ConvertIntToRGB888Pixel(int i) {
   RGB888Pixel ret = new RGB888Pixel(VisionLabPINVOKE.ConvertIntToRGB888Pixel(i), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public void SetPixel(int x, int y, RGB888Pixel value) {
   VisionLabPINVOKE.__NumRGB888Image_SetPixel(swigCPtr, x, y, RGB888Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 21
0
 public static void Warp(RGB888Image src, RGB888Image dest, TransformDirection dir, Coord2D leftTop, Coord2D rightTop, Coord2D leftBottom, Coord2D rightBottom, int height, int width, RGB888Pixel border, PixelInterpolation pi) {
   VisionLabPINVOKE.Warp__SWIG_15(RGB888Image.getCPtr(src), RGB888Image.getCPtr(dest), (int)dir, Coord2D.getCPtr(leftTop), Coord2D.getCPtr(rightTop), Coord2D.getCPtr(leftBottom), Coord2D.getCPtr(rightBottom), height, width, RGB888Pixel.getCPtr(border), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 22
0
 public static void Multiply(__NumRGB888Image image, RGB888Pixel pixel) {
   VisionLabPINVOKE.Multiply__SWIG_11(__NumRGB888Image.getCPtr(image), RGB888Pixel.getCPtr(pixel));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RGB888Pixel obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public RGB161616Pixel(RGB888Pixel pixel) : this(VisionLabPINVOKE.new_RGB161616Pixel__SWIG_3(RGB888Pixel.getCPtr(pixel)), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public XYCoord GetXYCoord(RGB888Pixel ptr) {
   XYCoord ret = new XYCoord(VisionLabPINVOKE.__NumRGB888Image_GetXYCoord(swigCPtr, RGB888Pixel.getCPtr(ptr)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 26
0
 public static XYCoord RotateFull(RGB888Image src, RGB888Image dest, double phi, RGB888Pixel borderValue, PixelInterpolation pi) {
   XYCoord ret = new XYCoord(VisionLabPINVOKE.RotateFull__SWIG_15(RGB888Image.getCPtr(src), RGB888Image.getCPtr(dest), phi, RGB888Pixel.getCPtr(borderValue), (int)pi), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 27
0
 public static string RGB888PixelToStr(RGB888Pixel p) {
   string ret = VisionLabPINVOKE.RGB888PixelToStr(RGB888Pixel.getCPtr(p));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 28
0
 public static void SetBorders(RGB888Image image, RGB888Pixel value) {
   VisionLabPINVOKE.SetBorders__SWIG_15(RGB888Image.getCPtr(image), RGB888Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 29
0
 internal static HandleRef getCPtr(RGB888Pixel obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 30
0
 public static int XYCoordTabFromImage(RGB888Image image, vector_XYCoord tab, RGB888Pixel low, RGB888Pixel high) {
   int ret = VisionLabPINVOKE.XYCoordTabFromImage__SWIG_15(RGB888Image.getCPtr(image), vector_XYCoord.getCPtr(tab), RGB888Pixel.getCPtr(low), RGB888Pixel.getCPtr(high));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 31
0
 public static RGB888Pixel ConvertHSV888ToRGB888Pixel(HSV888Pixel hsv) {
   RGB888Pixel ret = new RGB888Pixel(VisionLabPINVOKE.ConvertHSV888ToRGB888Pixel(HSV888Pixel.getCPtr(hsv)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 32
0
 public static int ConvertRGB888PixelToInt(RGB888Pixel rgb) {
   int ret = VisionLabPINVOKE.ConvertRGB888PixelToInt(RGB888Pixel.getCPtr(rgb));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 33
0
 public static void AddBorder(RGB888Image src, RGB888Image dest, int top, int left, int right, int bottom, RGB888Pixel value) {
   VisionLabPINVOKE.AddBorder__SWIG_7(RGB888Image.getCPtr(src), RGB888Image.getCPtr(dest), top, left, right, bottom, RGB888Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 34
0
 public static RGB888Pixel ConvertRGB161616PixelTo888(RGB161616Pixel pixel) {
   RGB888Pixel ret = new RGB888Pixel(VisionLabPINVOKE.ConvertRGB161616PixelTo888(RGB161616Pixel.getCPtr(pixel)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 35
0
 public static void CircleShape(RGB888Image image, XYCoord centre, int r, RGB888Pixel value) {
   VisionLabPINVOKE.CircleShape__SWIG_15(RGB888Image.getCPtr(image), XYCoord.getCPtr(centre), r, RGB888Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 36
0
 public static RGB888Pixel StrToRGB888Pixel(string str) {
   RGB888Pixel ret = new RGB888Pixel(VisionLabPINVOKE.StrToRGB888Pixel(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 37
0
 public static void DiskShape(RGB888Image image, XYCoord centre, double r, RGB888Pixel value, ZeroOrOriginal zorg) {
   VisionLabPINVOKE.DiskShape__SWIG_14(RGB888Image.getCPtr(image), XYCoord.getCPtr(centre), r, RGB888Pixel.getCPtr(value), (int)zorg);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 38
0
 public static HSV888Pixel ConvertRGB888ToHSV888Pixel(RGB888Pixel rgb) {
   HSV888Pixel ret = new HSV888Pixel(VisionLabPINVOKE.ConvertRGB888ToHSV888Pixel(RGB888Pixel.getCPtr(rgb)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 39
0
 public static void DrawLines(RGB888Image image, vector_LineXY tab, RGB888Pixel value) {
   VisionLabPINVOKE.DrawLines__SWIG_15(RGB888Image.getCPtr(image), vector_LineXY.getCPtr(tab), RGB888Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 40
0
 public static void BlockPattern(RGB888Image image, XYCoord leftTop, int height, int width, RGB888Pixel value, int repeatx, int repeaty) {
   VisionLabPINVOKE.BlockPattern__SWIG_15(RGB888Image.getCPtr(image), XYCoord.getCPtr(leftTop), height, width, RGB888Pixel.getCPtr(value), repeatx, repeaty);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 41
0
 public static void DrawPolygon(RGB888Image image, vector_XYCoord tab, RGB888Pixel value) {
   VisionLabPINVOKE.DrawPolygon__SWIG_15(RGB888Image.getCPtr(image), vector_XYCoord.getCPtr(tab), RGB888Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 42
0
 public static int CountPixel(RGB888Image image, RGB888Pixel value) {
   int ret = VisionLabPINVOKE.CountPixel__SWIG_7(RGB888Image.getCPtr(image), RGB888Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 43
0
 public static void FishEye(RGB888Image src, RGB888Image dest, int height, int width, double omega, double scale, RGB888Pixel border, PixelInterpolation pi) {
   VisionLabPINVOKE.FishEye__SWIG_15(RGB888Image.getCPtr(src), RGB888Image.getCPtr(dest), height, width, omega, scale, RGB888Pixel.getCPtr(border), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 44
0
 public static void LinePattern(RGB888Image image, int startx, int starty, RGB888Pixel value, int repeatx, int repeaty) {
   VisionLabPINVOKE.LinePattern__SWIG_15(RGB888Image.getCPtr(image), startx, starty, RGB888Pixel.getCPtr(value), repeatx, repeaty);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public RGB888Pixel Subtract_Op(RGB888Pixel p) {
   RGB888Pixel ret = new RGB888Pixel(VisionLabPINVOKE.RGB888Pixel_Subtract_Op(swigCPtr, RGB888Pixel.getCPtr(p)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }