コード例 #1
0
 public vector_HSV888Image(vector_HSV888Image other) : this(VisionLabPINVOKE.new_vector_HSV888Image__SWIG_1(vector_HSV888Image.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public vector_HSV888ImageEnumerator(vector_HSV888Image collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #3
0
 public void GetSets(vector_HSV888Image images, vector_int classIds)
 {
     VisionLabPINVOKE.ClassImageSet_HSV8_GetSets(swigCPtr, vector_HSV888Image.getCPtr(images), vector_int.getCPtr(classIds));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
 public virtual void SnapShotROIs(vector_HSV888Image images)
 {
     VisionLabPINVOKE.Camera_HSV8_SnapShotROIs__SWIG_1(swigCPtr, vector_HSV888Image.getCPtr(images));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #5
0
 public void SetRange(int index, vector_HSV888Image values)
 {
     VisionLabPINVOKE.vector_HSV888Image_SetRange(swigCPtr, index, vector_HSV888Image.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #6
0
    public double TrainImageSet(int nrOfEpochs, double learnRate, double momentum, vector_HSV888Image images, vector_int classes, ref double meanError)
    {
        double ret = VisionLabPINVOKE.BPN_ImageClassifier_HSV8_TrainImageSet(swigCPtr, nrOfEpochs, learnRate, momentum, vector_HSV888Image.getCPtr(images), vector_int.getCPtr(classes), ref meanError);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #7
0
    public double EvaluateImageSet(vector_HSV888Image images, vector_int classesExp, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError)
    {
        double ret = VisionLabPINVOKE.BPN_ImageClassifier_HSV8_EvaluateImageSet(swigCPtr, vector_HSV888Image.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);
    }
コード例 #8
0
    public static vector_HSV888Image Repeat(HSV888Image value, int count)
    {
        IntPtr             cPtr = VisionLabPINVOKE.vector_HSV888Image_Repeat(HSV888Image.getCPtr(value), count);
        vector_HSV888Image ret  = (cPtr == IntPtr.Zero) ? null : new vector_HSV888Image(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #9
0
    public vector_HSV888Image GetRange(int index, int count)
    {
        IntPtr             cPtr = VisionLabPINVOKE.vector_HSV888Image_GetRange(swigCPtr, index, count);
        vector_HSV888Image ret  = (cPtr == IntPtr.Zero) ? null : new vector_HSV888Image(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #10
0
 public double EvaluateImageSet(vector_HSV888Image images, vector_int classesExp, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError) {
   double ret = VisionLabPINVOKE.BPN_ImageClassifier_HSV8_EvaluateImageSet(swigCPtr, vector_HSV888Image.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;
 }
コード例 #11
0
 public double TrainImageSet(int nrOfEpochs, double learnRate, double momentum, vector_HSV888Image images, vector_int classes, ref double meanError) {
   double ret = VisionLabPINVOKE.BPN_ImageClassifier_HSV8_TrainImageSet(swigCPtr, nrOfEpochs, learnRate, momentum, vector_HSV888Image.getCPtr(images), vector_int.getCPtr(classes), ref meanError);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #12
0
 public void GetSets(vector_HSV888Image images, vector_int classIds) {
   VisionLabPINVOKE.ClassImageSet_HSV8_GetSets(swigCPtr, vector_HSV888Image.getCPtr(images), vector_int.getCPtr(classIds));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #13
0
 internal static HandleRef getCPtr(vector_HSV888Image obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #14
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_HSV888Image obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }