コード例 #1
0
 public NumByteImage(NumByteImage image) : this(VisionLabPINVOKE.new_NumByteImage__SWIG_3(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
 internal static HandleRef getCPtr(NumByteImage obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }