public vector_DoubleImage(vector_DoubleImage other) : this(VisionLabPINVOKE.new_vector_DoubleImage__SWIG_1(vector_DoubleImage.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public vector_DoubleImageEnumerator(vector_DoubleImage collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, vector_DoubleImage values)
 {
     VisionLabPINVOKE.vector_DoubleImage_SetRange(swigCPtr, index, vector_DoubleImage.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void GetSets(vector_DoubleImage images, vector_int classIds)
 {
     VisionLabPINVOKE.ClassImageSet_Double_GetSets(swigCPtr, vector_DoubleImage.getCPtr(images), vector_int.getCPtr(classIds));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
 public virtual void SnapShotROIs(vector_DoubleImage images)
 {
     VisionLabPINVOKE.Camera_Double_SnapShotROIs__SWIG_1(swigCPtr, vector_DoubleImage.getCPtr(images));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#6
0
    public double TrainImageSet(int nrOfEpochs, double learnRate, double momentum, vector_DoubleImage images, vector_int classes, ref double meanError)
    {
        double ret = VisionLabPINVOKE.BPN_ImageClassifier_Double_TrainImageSet(swigCPtr, nrOfEpochs, learnRate, momentum, vector_DoubleImage.getCPtr(images), vector_int.getCPtr(classes), ref meanError);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#7
0
    public double EvaluateImageSet(vector_DoubleImage images, vector_int classesExp, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError)
    {
        double ret = VisionLabPINVOKE.BPN_ImageClassifier_Double_EvaluateImageSet(swigCPtr, vector_DoubleImage.getCPtr(images), vector_int.getCPtr(classesExp), vector_int.getCPtr(classesRes), vector_double.getCPtr(confidencies), vector_vector_double.getCPtr(outputs), ref meanError);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public static vector_DoubleImage Repeat(DoubleImage value, int count)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.vector_DoubleImage_Repeat(DoubleImage.getCPtr(value), count);
        vector_DoubleImage    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_DoubleImage(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public vector_DoubleImage GetRange(int index, int count)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.vector_DoubleImage_GetRange(swigCPtr, index, count);
        vector_DoubleImage    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_DoubleImage(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_DoubleImage obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 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;
 }
 public static void FastHoughCircleT(DoubleImage src, CircleBrightness brightness, double edgeMin, double minR, double maxR, double deltaR, vector_DoubleImage destTab) {
   VisionLabPINVOKE.FastHoughCircleT__SWIG_6(DoubleImage.getCPtr(src), (int)brightness, edgeMin, minR, maxR, deltaR, vector_DoubleImage.getCPtr(destTab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static void HoughCircleT(DoubleImage src, double minR, double maxR, double deltaR, vector_DoubleImage destTab) {
   VisionLabPINVOKE.HoughCircleT__SWIG_6(DoubleImage.getCPtr(src), minR, maxR, deltaR, vector_DoubleImage.getCPtr(destTab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(vector_DoubleImage obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public double TrainImageSet(int nrOfEpochs, double learnRate, double momentum, vector_DoubleImage images, vector_int classes, ref double meanError) {
   double ret = VisionLabPINVOKE.BPN_ImageClassifier_Double_TrainImageSet(swigCPtr, nrOfEpochs, learnRate, momentum, vector_DoubleImage.getCPtr(images), vector_int.getCPtr(classes), ref meanError);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public double EvaluateImageSet(vector_DoubleImage images, vector_int classesExp, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError) {
   double ret = VisionLabPINVOKE.BPN_ImageClassifier_Double_EvaluateImageSet(swigCPtr, vector_DoubleImage.getCPtr(images), vector_int.getCPtr(classesExp), vector_int.getCPtr(classesRes), vector_double.getCPtr(confidencies), vector_vector_double.getCPtr(outputs), ref meanError);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public void GetSets(vector_DoubleImage images, vector_int classIds) {
   VisionLabPINVOKE.ClassImageSet_Double_GetSets(swigCPtr, vector_DoubleImage.getCPtr(images), vector_int.getCPtr(classIds));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }