예제 #1
0
 public vector_HoughCircle(vector_HoughCircle other) : this(VisionLabPINVOKE.new_vector_HoughCircle__SWIG_1(vector_HoughCircle.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public vector_HoughCircleEnumerator(vector_HoughCircle collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
 public void SetRange(int index, vector_HoughCircle values)
 {
     VisionLabPINVOKE.vector_HoughCircle_SetRange(swigCPtr, index, vector_HoughCircle.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
    public static vector_HoughCircle Repeat(HoughCircle value, int count)
    {
        IntPtr             cPtr = VisionLabPINVOKE.vector_HoughCircle_Repeat(HoughCircle.getCPtr(value), count);
        vector_HoughCircle ret  = (cPtr == IntPtr.Zero) ? null : new vector_HoughCircle(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
예제 #5
0
    public vector_HoughCircle GetRange(int index, int count)
    {
        IntPtr             cPtr = VisionLabPINVOKE.vector_HoughCircle_GetRange(swigCPtr, index, count);
        vector_HoughCircle ret  = (cPtr == IntPtr.Zero) ? null : new vector_HoughCircle(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public static vector_HoughCircle FindFastBestCircles(DoubleImage src, CircleBrightness brightness, double edgeMin, double minR, double maxR, double deltaR) {
   vector_HoughCircle ret = new vector_HoughCircle(VisionLabPINVOKE.FindFastBestCircles__SWIG_27(DoubleImage.getCPtr(src), (int)brightness, edgeMin, minR, maxR, deltaR), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static vector_HoughCircle FindFastBestCircles(FloatImage src, CircleBrightness brightness, float edgeMin, double minR, double maxR, double deltaR, int nrCircles, int minDistance, int minHits) {
   vector_HoughCircle ret = new vector_HoughCircle(VisionLabPINVOKE.FindFastBestCircles__SWIG_20(FloatImage.getCPtr(src), (int)brightness, edgeMin, minR, maxR, deltaR, nrCircles, minDistance, minHits), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static vector_HoughCircle FindBestCircles(DoubleImage src, double minR, double maxR, double deltaR, int nrCircles) {
   vector_HoughCircle ret = new vector_HoughCircle(VisionLabPINVOKE.FindBestCircles__SWIG_26(DoubleImage.getCPtr(src), minR, maxR, deltaR, nrCircles), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static vector_HoughCircle HTBestCircles(vector_DoubleImage srcTab, double minR, double maxR, double deltaR) {
   vector_HoughCircle ret = new vector_HoughCircle(VisionLabPINVOKE.HTBestCircles__SWIG_27(vector_DoubleImage.getCPtr(srcTab), minR, maxR, deltaR), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
예제 #10
0
 public static vector_HoughCircle HTBestCircles(vector_FloatImage srcTab, double minR, double maxR, double deltaR, int nrCircles, int minDistance, int minHits) {
   vector_HoughCircle ret = new vector_HoughCircle(VisionLabPINVOKE.HTBestCircles__SWIG_20(vector_FloatImage.getCPtr(srcTab), minR, maxR, deltaR, nrCircles, minDistance, minHits), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
예제 #11
0
 internal static HandleRef getCPtr(vector_HoughCircle obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
예제 #12
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_HoughCircle obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }