Exemple #1
0
 public ByteImage(__NumByteImage image) : this(VisionLabPINVOKE.new_ByteImage__SWIG_4(__NumByteImage.getCPtr(image)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public virtual void Resize(HeightWidth hw, __NumByteImage properties)
 {
     VisionLabPINVOKE.__NumByteImage_Resize__SWIG_1(swigCPtr, HeightWidth.getCPtr(hw), __NumByteImage.getCPtr(properties));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
    public bool Not(__NumByteImage image)
    {
        bool ret = VisionLabPINVOKE.__NumByteImage_Not(swigCPtr, __NumByteImage.getCPtr(image));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #4
0
    public __NumByteImage Assign_Op(byte pixel)
    {
        __NumByteImage ret = new __NumByteImage(VisionLabPINVOKE.__NumByteImage_Assign_Op__SWIG_1(swigCPtr, pixel), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #5
0
    public __NumByteImage Assign_Op(__NumByteImage image)
    {
        __NumByteImage ret = new __NumByteImage(VisionLabPINVOKE.__NumByteImage_Assign_Op__SWIG_0(swigCPtr, __NumByteImage.getCPtr(image)), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public static void Multiply(__NumByteImage image, byte pixel) {
   VisionLabPINVOKE.Multiply__SWIG_3(__NumByteImage.getCPtr(image), pixel);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static void Multiply(__NumByteImage dest, __NumByteImage source) {
   VisionLabPINVOKE.Multiply__SWIG_2(__NumByteImage.getCPtr(dest), __NumByteImage.getCPtr(source));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static void Divide(__NumByteImage image, __NumByteImage divider) {
   VisionLabPINVOKE.Divide__SWIG_2(__NumByteImage.getCPtr(image), __NumByteImage.getCPtr(divider));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public ByteImage(__NumByteImage image) : this(VisionLabPINVOKE.new_ByteImage__SWIG_4(__NumByteImage.getCPtr(image)), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public virtual void Resize(HeightWidth hw, __NumByteImage properties) {
   VisionLabPINVOKE.__NumByteImage_Resize__SWIG_1(swigCPtr, HeightWidth.getCPtr(hw), __NumByteImage.getCPtr(properties));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(__NumByteImage obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public bool Not(__NumByteImage image) {
   bool ret = VisionLabPINVOKE.__NumByteImage_Not(swigCPtr, __NumByteImage.getCPtr(image));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public bool IsEqual_Op(__NumByteImage image) {
   bool ret = VisionLabPINVOKE.__NumByteImage_IsEqual_Op(swigCPtr, __NumByteImage.getCPtr(image));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public __NumByteImage Assign_Op(byte pixel) {
   __NumByteImage ret = new __NumByteImage(VisionLabPINVOKE.__NumByteImage_Assign_Op__SWIG_1(swigCPtr, pixel), false);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public __NumByteImage Assign_Op(__NumByteImage image) {
   __NumByteImage ret = new __NumByteImage(VisionLabPINVOKE.__NumByteImage_Assign_Op__SWIG_0(swigCPtr, __NumByteImage.getCPtr(image)), false);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemple #16
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(__NumByteImage obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }