public int Classify(vector_double input, ref double confidency) { int ret = VisionLabPINVOKE.BPN_Classifier_Classify(swigCPtr, vector_double.getCPtr(input), ref confidency); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public double EvaluateImageSet(vector_YUV888Image images, vector_int classesExp, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError) { double ret = VisionLabPINVOKE.BPN_ImageClassifier_YUV8_EvaluateImageSet(swigCPtr, vector_YUV888Image.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 void ResampleLine(DoubleImage image, Coord2D start, Coord2D end, int nrPixels, vector_Coord2D cTab, vector_double pTab) { VisionLabPINVOKE.ResampleLine__SWIG_7(DoubleImage.getCPtr(image), Coord2D.getCPtr(start), Coord2D.getCPtr(end), nrPixels, vector_Coord2D.getCPtr(cTab), vector_double.getCPtr(pTab)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public double EvaluateImage(DoubleImage image, int classExp, ref int classRes, ref double confidency, vector_double output) { double ret = VisionLabPINVOKE.BPN_ImageClassifier_Double_EvaluateImage(swigCPtr, DoubleImage.getCPtr(image), classExp, ref classRes, ref confidency, vector_double.getCPtr(output)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void ParamsToArrayStr(vector_double p, vector_string vs) { VisionLabPINVOKE.ParamsToArrayStr(vector_double.getCPtr(p), vector_string.getCPtr(vs)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static string VectorOfDoublesToStr(vector_double v) { string ret = VisionLabPINVOKE.VectorOfDoublesToStr(vector_double.getCPtr(v)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public void MateSelf(vector_double child, vector_double p1) { VisionLabPINVOKE.GenAlgFP_MateSelf(swigCPtr, vector_double.getCPtr(child), vector_double.getCPtr(p1)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public vector_double GetSelectedFeatures(vector_double features) { vector_double ret = new vector_double(VisionLabPINVOKE.ClassFeatureSet_Float_GetSelectedFeatures(swigCPtr, vector_double.getCPtr(features)), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public double Evaluate(vector_double input, vector_double target, vector_double output) { double ret = VisionLabPINVOKE.BPN_Evaluate(swigCPtr, vector_double.getCPtr(input), vector_double.getCPtr(target), vector_double.getCPtr(output)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public double Train(double learnRate, double momentum, vector_double input, vector_double target) { double ret = VisionLabPINVOKE.BPN_Train(swigCPtr, learnRate, momentum, vector_double.getCPtr(input), vector_double.getCPtr(target)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public void Produce(vector_double input, vector_double output) { VisionLabPINVOKE.BPN_Produce(swigCPtr, vector_double.getCPtr(input), vector_double.getCPtr(output)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public double EvaluateClass(vector_double input, int classExp, ref int classRes, ref double confidency, vector_double output) { double ret = VisionLabPINVOKE.BPN_Classifier_EvaluateClass(swigCPtr, vector_double.getCPtr(input), classExp, ref classRes, ref confidency, vector_double.getCPtr(output)); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public double ClassifyOutputTab(vector_double input, vector_ClassOutput outputTab) { double ret = VisionLabPINVOKE.BPN_Classifier_ClassifyOutputTab(swigCPtr, vector_double.getCPtr(input), vector_ClassOutput.getCPtr(outputTab)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public void SetFeaturesImage(string className, int imageIndex, vector_double f) { VisionLabPINVOKE.ClassFeatureSet_Float_SetFeaturesImage(swigCPtr, className, imageIndex, vector_double.getCPtr(f)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public void SetFounder(int populationSize, vector_double founder) { VisionLabPINVOKE.GenAlgFP_SetFounder(swigCPtr, populationSize, vector_double.getCPtr(founder)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public vector_double GetSelectedFeaturesImage(string className, int imageIndex) { vector_double ret = new vector_double(VisionLabPINVOKE.ClassFeatureSet_Float_GetSelectedFeaturesImage(swigCPtr, className, imageIndex), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public vector_double GetSolution() { vector_double ret = new vector_double(VisionLabPINVOKE.GenAlgFP_GetSolution(swigCPtr), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public virtual double Execute(vector_double p, double maxError) { double ret = VisionLabPINVOKE.FitnessCmd_Execute(swigCPtr, vector_double.getCPtr(p), maxError); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(vector_double obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public static vector_double GetSelectedFeatures(vector_double features, vector_bool selected) { vector_double ret = new vector_double(VisionLabPINVOKE.GetSelectedFeatures(vector_double.getCPtr(features), vector_bool.getCPtr(selected)), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public ParamsError(vector_double p) : this(VisionLabPINVOKE.new_ParamsError__SWIG_2(vector_double.getCPtr(p)), true) { if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static vector_double StrToVectorOfDoubles(string str) { vector_double ret = new vector_double(VisionLabPINVOKE.StrToVectorOfDoubles(str), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_double obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public static SWIGTYPE_p_std__setT_double_t VectorToSet_double(vector_double v) { SWIGTYPE_p_std__setT_double_t ret = new SWIGTYPE_p_std__setT_double_t(VisionLabPINVOKE.VectorToSet_double(vector_double.getCPtr(v)), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public double EvaluateImage(YUV888Image image, int classExp, ref int classRes, ref double confidency, vector_double output) { double ret = VisionLabPINVOKE.BPN_ImageClassifier_YUV8_EvaluateImage(swigCPtr, YUV888Image.getCPtr(image), classExp, ref classRes, ref confidency, vector_double.getCPtr(output)); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public double EvaluateClassImageSet(ClassImageSet_Double cis, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError) { double ret = VisionLabPINVOKE.BPN_ImageClassifier_Double_EvaluateClassImageSet(swigCPtr, ClassImageSet_Double.getCPtr(cis), 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 TrainClass(double learnRate, double momentum, vector_double input, int classNr) { double ret = VisionLabPINVOKE.BPN_Classifier_TrainClass(swigCPtr, learnRate, momentum, vector_double.getCPtr(input), classNr); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }