public vector_ByteImageEnumerator(vector_ByteImage collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public vector_ByteImage(vector_ByteImage other) : this(VisionLabPINVOKE.new_vector_ByteImage__SWIG_1(vector_ByteImage.getCPtr(other)), true) { if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetRange(int index, vector_ByteImage values) { VisionLabPINVOKE.vector_ByteImage_SetRange(swigCPtr, index, vector_ByteImage.getCPtr(values)); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
public void GetSets(vector_ByteImage images, vector_int classIds) { VisionLabPINVOKE.ClassImageSet_Byte_GetSets(swigCPtr, vector_ByteImage.getCPtr(images), vector_int.getCPtr(classIds)); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void SnapShotROIs(vector_ByteImage images) { VisionLabPINVOKE.__Camera_Byte_SnapShotROIs__SWIG_1(swigCPtr, vector_ByteImage.getCPtr(images)); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
public double TrainImageSet(int nrOfEpochs, double learnRate, double momentum, vector_ByteImage images, vector_int classes, ref double meanError) { double ret = VisionLabPINVOKE.BPN_ImageClassifier_Byte_TrainImageSet(swigCPtr, nrOfEpochs, learnRate, momentum, vector_ByteImage.getCPtr(images), vector_int.getCPtr(classes), ref meanError); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public double EvaluateImageSet(vector_ByteImage images, vector_int classesExp, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError) { double ret = VisionLabPINVOKE.BPN_ImageClassifier_Byte_EvaluateImageSet(swigCPtr, vector_ByteImage.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_ByteImage Repeat(ByteImage value, int count) { IntPtr cPtr = VisionLabPINVOKE.vector_ByteImage_Repeat(ByteImage.getCPtr(value), count); vector_ByteImage ret = (cPtr == IntPtr.Zero) ? null : new vector_ByteImage(cPtr, true); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public vector_ByteImage GetRange(int index, int count) { IntPtr cPtr = VisionLabPINVOKE.vector_ByteImage_GetRange(swigCPtr, index, count); vector_ByteImage ret = (cPtr == IntPtr.Zero) ? null : new vector_ByteImage(cPtr, true); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static void HoughCircleT(ByteImage src, double minR, double maxR, double deltaR, vector_ByteImage destTab) { VisionLabPINVOKE.HoughCircleT__SWIG_1(ByteImage.getCPtr(src), minR, maxR, deltaR, vector_ByteImage.getCPtr(destTab)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public virtual void SnapShotROIs(vector_ByteImage images) { VisionLabPINVOKE.__Camera_Byte_SnapShotROIs__SWIG_1(swigCPtr, vector_ByteImage.getCPtr(images)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_ByteImage obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public double EvaluateImageSet(vector_ByteImage images, vector_int classesExp, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError) { double ret = VisionLabPINVOKE.BPN_ImageClassifier_Byte_EvaluateImageSet(swigCPtr, vector_ByteImage.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_ByteImage images, vector_int classes, ref double meanError) { double ret = VisionLabPINVOKE.BPN_ImageClassifier_Byte_TrainImageSet(swigCPtr, nrOfEpochs, learnRate, momentum, vector_ByteImage.getCPtr(images), vector_int.getCPtr(classes), ref meanError); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void FastHoughCircleT(ByteImage src, CircleBrightness brightness, byte edgeMin, double minR, double maxR, double deltaR, vector_ByteImage destTab) { VisionLabPINVOKE.FastHoughCircleT__SWIG_1(ByteImage.getCPtr(src), (int)brightness, edgeMin, minR, maxR, deltaR, vector_ByteImage.getCPtr(destTab)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(vector_ByteImage obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public static vector_HoughCircle HTBestCircles(vector_ByteImage srcTab, double minR, double maxR, double deltaR) { vector_HoughCircle ret = new vector_HoughCircle(VisionLabPINVOKE.HTBestCircles__SWIG_7(vector_ByteImage.getCPtr(srcTab), minR, maxR, deltaR), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public void GetSets(vector_ByteImage images, vector_int classIds) { VisionLabPINVOKE.ClassImageSet_Byte_GetSets(swigCPtr, vector_ByteImage.getCPtr(images), vector_int.getCPtr(classIds)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }