Exemplo n.º 1
0
 public vector_Int16Image(vector_Int16Image other) : this(VisionLabPINVOKE.new_vector_Int16Image__SWIG_1(vector_Int16Image.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public vector_Int16ImageEnumerator(vector_Int16Image collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemplo n.º 3
0
 public void SetRange(int index, vector_Int16Image values)
 {
     VisionLabPINVOKE.vector_Int16Image_SetRange(swigCPtr, index, vector_Int16Image.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual void SnapShotROIs(vector_Int16Image images)
 {
     VisionLabPINVOKE.Camera_Int16_SnapShotROIs__SWIG_1(swigCPtr, vector_Int16Image.getCPtr(images));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 5
0
 public void GetSets(vector_Int16Image images, vector_int classIds)
 {
     VisionLabPINVOKE.ClassImageSet_Int16_GetSets(swigCPtr, vector_Int16Image.getCPtr(images), vector_int.getCPtr(classIds));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public double TrainImageSet(int nrOfEpochs, double learnRate, double momentum, vector_Int16Image images, vector_int classes, ref double meanError)
    {
        double ret = VisionLabPINVOKE.BPN_ImageClassifier_Int16_TrainImageSet(swigCPtr, nrOfEpochs, learnRate, momentum, vector_Int16Image.getCPtr(images), vector_int.getCPtr(classes), ref meanError);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public double EvaluateImageSet(vector_Int16Image images, vector_int classesExp, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError)
    {
        double ret = VisionLabPINVOKE.BPN_ImageClassifier_Int16_EvaluateImageSet(swigCPtr, vector_Int16Image.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);
    }
Exemplo n.º 8
0
    public static vector_Int16Image Repeat(Int16Image value, int count)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.vector_Int16Image_Repeat(Int16Image.getCPtr(value), count);
        vector_Int16Image     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_Int16Image(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 9
0
    public vector_Int16Image GetRange(int index, int count)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.vector_Int16Image_GetRange(swigCPtr, index, count);
        vector_Int16Image     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_Int16Image(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 10
0
 public static void HoughCircleT(Int16Image src, double minR, double maxR, double deltaR, vector_Int16Image destTab) {
   VisionLabPINVOKE.HoughCircleT__SWIG_3(Int16Image.getCPtr(src), minR, maxR, deltaR, vector_Int16Image.getCPtr(destTab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public double EvaluateImageSet(vector_Int16Image images, vector_int classesExp, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError) {
   double ret = VisionLabPINVOKE.BPN_ImageClassifier_Int16_EvaluateImageSet(swigCPtr, vector_Int16Image.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 double TrainImageSet(int nrOfEpochs, double learnRate, double momentum, vector_Int16Image images, vector_int classes, ref double meanError) {
   double ret = VisionLabPINVOKE.BPN_ImageClassifier_Int16_TrainImageSet(swigCPtr, nrOfEpochs, learnRate, momentum, vector_Int16Image.getCPtr(images), vector_int.getCPtr(classes), ref meanError);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public void GetSets(vector_Int16Image images, vector_int classIds) {
   VisionLabPINVOKE.ClassImageSet_Int16_GetSets(swigCPtr, vector_Int16Image.getCPtr(images), vector_int.getCPtr(classIds));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 14
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_Int16Image obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 15
0
 public static void FastHoughCircleT(Int16Image src, CircleBrightness brightness, short edgeMin, double minR, double maxR, double deltaR, vector_Int16Image destTab) {
   VisionLabPINVOKE.FastHoughCircleT__SWIG_3(Int16Image.getCPtr(src), (int)brightness, edgeMin, minR, maxR, deltaR, vector_Int16Image.getCPtr(destTab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 16
0
 public static vector_HoughCircle HTBestCircles(vector_Int16Image srcTab, double minR, double maxR, double deltaR) {
   vector_HoughCircle ret = new vector_HoughCircle(VisionLabPINVOKE.HTBestCircles__SWIG_15(vector_Int16Image.getCPtr(srcTab), minR, maxR, deltaR), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 17
0
 internal static HandleRef getCPtr(vector_Int16Image obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }