コード例 #1
0
 public static HeightWidth VarianceFilterHW(Image src, FixEdge edge, MaskBase mask) {
   HeightWidth ret = new HeightWidth(VisionLabPINVOKE.VarianceFilterHW(Image.getCPtr(src), (int)edge, MaskBase.getCPtr(mask)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #2
0
 public static HeightWidth ExtendBorderHW(Image src, MaskBase mask) {
   HeightWidth ret = new HeightWidth(VisionLabPINVOKE.ExtendBorderHW__SWIG_1(Image.getCPtr(src), MaskBase.getCPtr(mask)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #3
0
 public static void ExtendBorder(ComplexDoubleImage src, ComplexDoubleImage dest, MaskBase mask) {
   VisionLabPINVOKE.ExtendBorder__SWIG_29(ComplexDoubleImage.getCPtr(src), ComplexDoubleImage.getCPtr(dest), MaskBase.getCPtr(mask));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #4
0
 public static void ExtendBorder(RGB161616Image src, RGB161616Image dest, MaskBase mask) {
   VisionLabPINVOKE.ExtendBorder__SWIG_17(RGB161616Image.getCPtr(src), RGB161616Image.getCPtr(dest), MaskBase.getCPtr(mask));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #5
0
 internal static HandleRef getCPtr(MaskBase obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #6
0
 internal static HandleRef getCPtr(MaskBase obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MaskBase obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }