コード例 #1
0
 public ByteImage(__NumByteImage image) : this(VisionLabPINVOKE.new_ByteImage__SWIG_4(__NumByteImage.getCPtr(image)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #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();
     }
 }
コード例 #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);
    }
コード例 #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);
    }
コード例 #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);
    }
コード例 #6
0
 public static void Multiply(__NumByteImage image, byte pixel) {
   VisionLabPINVOKE.Multiply__SWIG_3(__NumByteImage.getCPtr(image), pixel);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #7
0
 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();
 }
コード例 #8
0
 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();
 }
コード例 #9
0
 public ByteImage(__NumByteImage image) : this(VisionLabPINVOKE.new_ByteImage__SWIG_4(__NumByteImage.getCPtr(image)), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #10
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();
 }
コード例 #11
0
 internal static HandleRef getCPtr(__NumByteImage obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #12
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;
 }
コード例 #13
0
 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;
 }
コード例 #14
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;
 }
コード例 #15
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;
 }
コード例 #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);
 }