public static vector_HoughLine FindFastBestLines(DoubleImage src, HLParams p, double edgeMin, int nrLines, double minR, double minPhi, int minHits) {
   vector_HoughLine ret = new vector_HoughLine(VisionLabPINVOKE.FindFastBestLines__SWIG_6(DoubleImage.getCPtr(src), HLParams.getCPtr(p), edgeMin, nrLines, minR, minPhi, minHits), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(HLParams obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public static HoughLine FindBestLine(FloatImage src, HLParams p) {
   HoughLine ret = new HoughLine(VisionLabPINVOKE.FindBestLine__SWIG_5(FloatImage.getCPtr(src), HLParams.getCPtr(p)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static HoughLine FindFastBestLine(DoubleImage src, HLParams p, double edgeMin) {
   HoughLine ret = new HoughLine(VisionLabPINVOKE.FindFastBestLine__SWIG_6(DoubleImage.getCPtr(src), HLParams.getCPtr(p), edgeMin), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static vector_HoughLine HTBestLines(FloatImage src, HLParams p, int nrLines, double minR, double minPhi, int minHits) {
   vector_HoughLine ret = new vector_HoughLine(VisionLabPINVOKE.HTBestLines__SWIG_5(FloatImage.getCPtr(src), HLParams.getCPtr(p), nrLines, minR, minPhi, minHits), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static void FastHoughLineT(DoubleImage src, HLParams p, double edgeMin, DoubleImage dest) {
   VisionLabPINVOKE.FastHoughLineT__SWIG_6(DoubleImage.getCPtr(src), HLParams.getCPtr(p), edgeMin, DoubleImage.getCPtr(dest));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static void HoughLineT(FloatImage src, HLParams p, FloatImage dest) {
   VisionLabPINVOKE.HoughLineT__SWIG_5(FloatImage.getCPtr(src), HLParams.getCPtr(p), FloatImage.getCPtr(dest));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Example #8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HLParams obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #9
0
 internal static HandleRef getCPtr(HLParams obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }