public Mask_YUV16(int height, int width, int orgX, int orgY, YUV161616Pixel v) : this(VisionLabPINVOKE.new_Mask_YUV16__SWIG_4(height, width, orgX, orgY, YUV161616Pixel.getCPtr(v)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public void SetPixel(int x, int y, YUV161616Pixel value)
 {
     VisionLabPINVOKE.__NumYUV161616Image_SetPixel(swigCPtr, x, y, YUV161616Pixel.getCPtr(value));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void SetMaskValue(int x, int y, YUV161616Pixel v)
 {
     VisionLabPINVOKE.Mask_YUV16_SetMaskValue(swigCPtr, x, y, YUV161616Pixel.getCPtr(v));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public YUV161616Pixel GetMaskValue(int x, int y)
    {
        YUV161616Pixel ret = new YUV161616Pixel(VisionLabPINVOKE.Mask_YUV16_GetMaskValue(swigCPtr, x, y), true);

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

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public YUV161616Pixel Add(YUV161616Pixel p)
    {
        YUV161616Pixel ret = new YUV161616Pixel(VisionLabPINVOKE.YUV161616Pixel_Add(swigCPtr, YUV161616Pixel.getCPtr(p)), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 7
0
    public XYCoord GetXYCoord(YUV161616Pixel ptr)
    {
        XYCoord ret = new XYCoord(VisionLabPINVOKE.__NumYUV161616Image_GetXYCoord(swigCPtr, YUV161616Pixel.getCPtr(ptr)), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 8
0
    public __NumYUV161616Image Assign_Op(YUV161616Pixel pixel)
    {
        __NumYUV161616Image ret = new __NumYUV161616Image(VisionLabPINVOKE.__NumYUV161616Image_Assign_Op__SWIG_1(swigCPtr, YUV161616Pixel.getCPtr(pixel)), false);

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

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public YUV161616Pixel GetPixelPtr(int x, int y)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.__NumYUV161616Image_GetPixelPtr__SWIG_0(swigCPtr, x, y);
        YUV161616Pixel        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new YUV161616Pixel(cPtr, false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 11
0
    public YUV161616Pixel GetPixelPtr(XYCoord xy)
    {
        IntPtr         cPtr = VisionLabPINVOKE.__NumYUV161616Image_GetPixelPtr__SWIG_1(swigCPtr, XYCoord.getCPtr(xy));
        YUV161616Pixel ret  = (cPtr == IntPtr.Zero) ? null : new YUV161616Pixel(cPtr, false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 12
0
    public YUV161616Pixel GetFirstPixelPtr()
    {
        IntPtr         cPtr = VisionLabPINVOKE.__NumYUV161616Image_GetFirstPixelPtr(swigCPtr);
        YUV161616Pixel ret  = (cPtr == IntPtr.Zero) ? null : new YUV161616Pixel(cPtr, false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static HandleRef getCPtr(YUV161616Pixel obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 14
0
 public static int CountPixel(YUV161616Image image, YUV161616Pixel value) {
   int ret = VisionLabPINVOKE.CountPixel__SWIG_12(YUV161616Image.getCPtr(image), YUV161616Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 15
0
 public static void BlockPattern(YUV161616Image image, XYCoord leftTop, int height, int width, YUV161616Pixel value, int repeatx, int repeaty) {
   VisionLabPINVOKE.BlockPattern__SWIG_25(YUV161616Image.getCPtr(image), XYCoord.getCPtr(leftTop), height, width, YUV161616Pixel.getCPtr(value), repeatx, repeaty);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 16
0
 public static YUV161616Pixel ConvertRGB161616ToYUV161616Pixel(RGB161616Pixel rgb) {
   YUV161616Pixel ret = new YUV161616Pixel(VisionLabPINVOKE.ConvertRGB161616ToYUV161616Pixel(RGB161616Pixel.getCPtr(rgb)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 17
0
 public static YUV161616Pixel StrToYUV161616Pixel(string str) {
   YUV161616Pixel ret = new YUV161616Pixel(VisionLabPINVOKE.StrToYUV161616Pixel(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 18
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;
 }
Exemplo n.º 19
0
 public static int ConvertYUV161616PixelToInt(YUV161616Pixel yuv) {
   int ret = VisionLabPINVOKE.ConvertYUV161616PixelToInt(YUV161616Pixel.getCPtr(yuv));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 20
0
 public static void FishEye(YUV161616Image src, YUV161616Image dest, int height, int width, double omega, double scale, YUV161616Pixel border, PixelInterpolation pi) {
   VisionLabPINVOKE.FishEye__SWIG_25(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), height, width, omega, scale, YUV161616Pixel.getCPtr(border), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 21
0
 public static void DrawPolygon(YUV161616Image image, vector_XYCoord tab, YUV161616Pixel value) {
   VisionLabPINVOKE.DrawPolygon__SWIG_25(YUV161616Image.getCPtr(image), vector_XYCoord.getCPtr(tab), YUV161616Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 22
0
 public static void DrawLines(YUV161616Image image, vector_LineXY tab, YUV161616Pixel value) {
   VisionLabPINVOKE.DrawLines__SWIG_25(YUV161616Image.getCPtr(image), vector_LineXY.getCPtr(tab), YUV161616Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 23
0
 public static void DiskShape(YUV161616Image image, XYCoord centre, double r, YUV161616Pixel value, ZeroOrOriginal zorg) {
   VisionLabPINVOKE.DiskShape__SWIG_24(YUV161616Image.getCPtr(image), XYCoord.getCPtr(centre), r, YUV161616Pixel.getCPtr(value), (int)zorg);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public YUV161616Pixel Divide(YUV161616Pixel p) {
   YUV161616Pixel ret = new YUV161616Pixel(VisionLabPINVOKE.YUV161616Pixel_Divide(swigCPtr, YUV161616Pixel.getCPtr(p)), false);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public YUV161616Pixel Add_Op(YUV161616Pixel p) {
   YUV161616Pixel ret = new YUV161616Pixel(VisionLabPINVOKE.YUV161616Pixel_Add_Op(swigCPtr, YUV161616Pixel.getCPtr(p)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(YUV161616Pixel obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 27
0
 public static void Multiply(__NumYUV161616Image image, YUV161616Pixel pixel) {
   VisionLabPINVOKE.Multiply__SWIG_21(__NumYUV161616Image.getCPtr(image), YUV161616Pixel.getCPtr(pixel));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 28
0
 public static void LinePattern(YUV161616Image image, int startx, int starty, YUV161616Pixel value, int repeatx, int repeaty) {
   VisionLabPINVOKE.LinePattern__SWIG_25(YUV161616Image.getCPtr(image), startx, starty, YUV161616Pixel.getCPtr(value), repeatx, repeaty);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 29
0
 public static YUV161616Pixel ConvertIntToYUV161616Pixel(int i) {
   YUV161616Pixel ret = new YUV161616Pixel(VisionLabPINVOKE.ConvertIntToYUV161616Pixel(i), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 30
0
 public static void OpticalCorrection(YUV161616Image src, YUV161616Image dest, double k1, double k2, double k3, YUV161616Pixel borderValue, PixelInterpolation pi) {
   VisionLabPINVOKE.OpticalCorrection__SWIG_25(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), k1, k2, k3, YUV161616Pixel.getCPtr(borderValue), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 31
0
 public static string YUV161616PixelToStr(YUV161616Pixel p) {
   string ret = VisionLabPINVOKE.YUV161616PixelToStr(YUV161616Pixel.getCPtr(p));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public bool Not(YUV161616Pixel p) {
   bool ret = VisionLabPINVOKE.YUV161616Pixel_Not(swigCPtr, YUV161616Pixel.getCPtr(p));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 33
0
 public static RGB161616Pixel ConvertYUV161616ToRGB161616Pixel(YUV161616Pixel yuv) {
   RGB161616Pixel ret = new RGB161616Pixel(VisionLabPINVOKE.ConvertYUV161616ToRGB161616Pixel(YUV161616Pixel.getCPtr(yuv)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public void SetPixel(int x, int y, YUV161616Pixel value) {
   VisionLabPINVOKE.__NumYUV161616Image_SetPixel(swigCPtr, x, y, YUV161616Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 35
0
 public static void AddBorder(YUV161616Image src, YUV161616Image dest, int top, int left, int right, int bottom, YUV161616Pixel value) {
   VisionLabPINVOKE.AddBorder__SWIG_12(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), top, left, right, bottom, YUV161616Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 36
0
 public static XYCoord RotateFull(YUV161616Image src, YUV161616Image dest, double phi, YUV161616Pixel borderValue, PixelInterpolation pi) {
   XYCoord ret = new XYCoord(VisionLabPINVOKE.RotateFull__SWIG_25(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), phi, YUV161616Pixel.getCPtr(borderValue), (int)pi), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 37
0
 public static void CircleShape(YUV161616Image image, XYCoord centre, int r, YUV161616Pixel value) {
   VisionLabPINVOKE.CircleShape__SWIG_25(YUV161616Image.getCPtr(image), XYCoord.getCPtr(centre), r, YUV161616Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 38
0
 public static void SetBorders(YUV161616Image image, YUV161616Pixel value) {
   VisionLabPINVOKE.SetBorders__SWIG_25(YUV161616Image.getCPtr(image), YUV161616Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 39
0
 public static void Warp(YUV161616Image src, YUV161616Image dest, TransformDirection dir, Coord2D leftTop, Coord2D rightTop, Coord2D leftBottom, Coord2D rightBottom, int height, int width, YUV161616Pixel border, PixelInterpolation pi) {
   VisionLabPINVOKE.Warp__SWIG_25(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), (int)dir, Coord2D.getCPtr(leftTop), Coord2D.getCPtr(rightTop), Coord2D.getCPtr(leftBottom), Coord2D.getCPtr(rightBottom), height, width, YUV161616Pixel.getCPtr(border), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 40
0
 public static int XYCoordTabFromImage(YUV161616Image image, vector_XYCoord tab, YUV161616Pixel low, YUV161616Pixel high) {
   int ret = VisionLabPINVOKE.XYCoordTabFromImage__SWIG_25(YUV161616Image.getCPtr(image), vector_XYCoord.getCPtr(tab), YUV161616Pixel.getCPtr(low), YUV161616Pixel.getCPtr(high));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 41
0
 public static int PixelPtrTabFromImage(YUV161616Image image, SWIGTYPE_p_std__vectorT_JL_VisionLib_V3__YUV161616Pixel_p_t tab, YUV161616Pixel low, YUV161616Pixel high) {
   int ret = VisionLabPINVOKE.PixelPtrTabFromImage__SWIG_25(YUV161616Image.getCPtr(image), SWIGTYPE_p_std__vectorT_JL_VisionLib_V3__YUV161616Pixel_p_t.getCPtr(tab), YUV161616Pixel.getCPtr(low), YUV161616Pixel.getCPtr(high));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 42
0
 internal static HandleRef getCPtr(YUV161616Pixel obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 43
0
 public static void Rotate(YUV161616Image src, YUV161616Image dest, XYCoord centre, double phi, YUV161616Pixel borderValue, PixelInterpolation pi) {
   VisionLabPINVOKE.Rotate__SWIG_25(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), XYCoord.getCPtr(centre), phi, YUV161616Pixel.getCPtr(borderValue), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public XYCoord GetXYCoord(YUV161616Pixel ptr) {
   XYCoord ret = new XYCoord(VisionLabPINVOKE.__NumYUV161616Image_GetXYCoord(swigCPtr, YUV161616Pixel.getCPtr(ptr)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }