コード例 #1
0
 public FloatImage(NumFloatImage image) : this(VisionLabPINVOKE.new_FloatImage__SWIG_4(NumFloatImage.getCPtr(image)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public virtual void Resize(HeightWidth hw, NumFloatImage properties)
 {
     VisionLabPINVOKE.NumFloatImage_Resize__SWIG_1(swigCPtr, HeightWidth.getCPtr(hw), NumFloatImage.getCPtr(properties));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
    public bool Not(NumFloatImage image)
    {
        bool ret = VisionLabPINVOKE.NumFloatImage_Not(swigCPtr, NumFloatImage.getCPtr(image));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #4
0
    public NumFloatImage Assign_Op(float pixel)
    {
        NumFloatImage ret = new NumFloatImage(VisionLabPINVOKE.NumFloatImage_Assign_Op__SWIG_1(swigCPtr, pixel), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #5
0
    public NumFloatImage Assign_Op(NumFloatImage image)
    {
        NumFloatImage ret = new NumFloatImage(VisionLabPINVOKE.NumFloatImage_Assign_Op__SWIG_0(swigCPtr, NumFloatImage.getCPtr(image)), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #6
0
 internal static HandleRef getCPtr(NumFloatImage obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }