コード例 #1
0
 public void GetSets(vector_Int8Image images, vector_int classIds) {
   VisionLabPINVOKE.ClassImageSet_Int8_GetSets(swigCPtr, vector_Int8Image.getCPtr(images), vector_int.getCPtr(classIds));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #2
0
 public double EvaluateImageSet(vector_Int8Image images, vector_int classesExp, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError) {
   double ret = VisionLabPINVOKE.BPN_ImageClassifier_Int8_EvaluateImageSet(swigCPtr, vector_Int8Image.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;
 }
コード例 #3
0
 public double TrainImageSet(int nrOfEpochs, double learnRate, double momentum, vector_Int8Image images, vector_int classes, ref double meanError) {
   double ret = VisionLabPINVOKE.BPN_ImageClassifier_Int8_TrainImageSet(swigCPtr, nrOfEpochs, learnRate, momentum, vector_Int8Image.getCPtr(images), vector_int.getCPtr(classes), ref meanError);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #4
0
 public static vector_HoughCircle HTBestCircles(vector_Int8Image srcTab, double minR, double maxR, double deltaR) {
   vector_HoughCircle ret = new vector_HoughCircle(VisionLabPINVOKE.HTBestCircles__SWIG_11(vector_Int8Image.getCPtr(srcTab), minR, maxR, deltaR), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #5
0
 public static void FastHoughCircleT(Int8Image src, CircleBrightness brightness, char edgeMin, double minR, double maxR, double deltaR, vector_Int8Image destTab) {
   VisionLabPINVOKE.FastHoughCircleT__SWIG_2(Int8Image.getCPtr(src), (int)brightness, edgeMin, minR, maxR, deltaR, vector_Int8Image.getCPtr(destTab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #6
0
 public static void HoughCircleT(Int8Image src, double minR, double maxR, double deltaR, vector_Int8Image destTab) {
   VisionLabPINVOKE.HoughCircleT__SWIG_2(Int8Image.getCPtr(src), minR, maxR, deltaR, vector_Int8Image.getCPtr(destTab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }