Exemplo n.º 1
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 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.º 4
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.º 5
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 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);
    }
    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 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();
     }
 }