public bool GetImage(string imageName, YUV161616Image image) { bool ret = VisionLabPINVOKE.VisLibCmdInt_GetImage__SWIG_12(swigCPtr, imageName, YUV161616Image.getCPtr(image)); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public int Classify(YUV161616Image image, ref double confidency) { int ret = VisionLabPINVOKE.BPN_ImageClassifier_YUV16_Classify(swigCPtr, YUV161616Image.getCPtr(image), ref confidency); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public YUV161616Image GetImage(string className, int imageIndex) { YUV161616Image ret = new YUV161616Image(VisionLabPINVOKE.ClassFeatureSet_YUV16_GetImage(swigCPtr, className, imageIndex), false); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public double TrainImage(double learnRate, double momentum, YUV161616Image image, int classNr) { double ret = VisionLabPINVOKE.BPN_ImageClassifier_YUV16_TrainImage(swigCPtr, learnRate, momentum, YUV161616Image.getCPtr(image), classNr); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public double EvaluateImage(YUV161616Image image, int classExp, ref int classRes, ref double confidency, vector_double output) { double ret = VisionLabPINVOKE.BPN_ImageClassifier_YUV16_EvaluateImage(swigCPtr, YUV161616Image.getCPtr(image), classExp, ref classRes, ref confidency, vector_double.getCPtr(output)); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public double ClassifyOutputTab(YUV161616Image image, vector_ClassOutput outputTab) { double ret = VisionLabPINVOKE.BPN_ImageClassifier_YUV16_ClassifyOutputTab(swigCPtr, YUV161616Image.getCPtr(image), vector_ClassOutput.getCPtr(outputTab)); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public int AddImage(string className, YUV161616Image image) { int ret = VisionLabPINVOKE.ClassFeatureSet_YUV16_AddImage(swigCPtr, className, YUV161616Image.getCPtr(image)); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static void Merge3Channels(DoubleImage chan1, DoubleImage chan2, DoubleImage chan3, YUV161616Image image) { VisionLabPINVOKE.Merge3Channels__SWIG_12(DoubleImage.getCPtr(chan1), DoubleImage.getCPtr(chan2), DoubleImage.getCPtr(chan3), YUV161616Image.getCPtr(image)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void Extract1Channel(YUV161616Image image, int chanNr, DoubleImage chan) { VisionLabPINVOKE.Extract1Channel__SWIG_18(YUV161616Image.getCPtr(image), chanNr, DoubleImage.getCPtr(chan)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void TextOnImage(YUV161616Image image, int left, int top, string font, string text) { VisionLabPINVOKE.TextOnImage__SWIG_12(YUV161616Image.getCPtr(image), left, top, font, text); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void Zoom(YUV161616Image src, YUV161616Image dest, double factorX, double factorY, PixelInterpolation pi) { VisionLabPINVOKE.Zoom__SWIG_50(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), factorX, factorY, (int)pi); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void Zoom(YUV161616Image src, YUV161616Image dest, double factorX, double factorY) { VisionLabPINVOKE.Zoom__SWIG_48(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), factorX, factorY); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void CircleShape(YUV161616Image image, XYCoord centre, int r, YUV161616Pixel value) { VisionLabPINVOKE.CircleShape__SWIG_25(YUV161616Image.getCPtr(image), XYCoord.getCPtr(centre), r, YUV161616Pixel.getCPtr(value)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public YUV161616Image(YUV161616Image image) : this(VisionLabPINVOKE.new_YUV161616Image__SWIG_3(YUV161616Image.getCPtr(image)), true) { if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
internal static HandleRef getCPtr(YUV161616Image obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public static void ConvertYUV161616To888Image(YUV161616Image src, YUV888Image dest) { VisionLabPINVOKE.ConvertYUV161616To888Image(YUV161616Image.getCPtr(src), YUV888Image.getCPtr(dest)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void AddBorder(YUV161616Image src, YUV161616Image dest, int top, int left, int right, int bottom, YUV161616Pixel value) { VisionLabPINVOKE.AddBorder__SWIG_12(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), top, left, right, bottom, YUV161616Pixel.getCPtr(value)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void Mirror(YUV161616Image image, MirrorOperation op) { VisionLabPINVOKE.Mirror__SWIG_12(YUV161616Image.getCPtr(image), (int)op); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void DeInterlace(YUV161616Image image) { VisionLabPINVOKE.DeInterlace__SWIG_12(YUV161616Image.getCPtr(image)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void OpticalCorrection(YUV161616Image src, YUV161616Image dest, double k1, double k2, double k3, YUV161616Pixel borderValue, PixelInterpolation pi) { VisionLabPINVOKE.OpticalCorrection__SWIG_25(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), k1, k2, k3, YUV161616Pixel.getCPtr(borderValue), (int)pi); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static int XYCoordTabFromImage(YUV161616Image image, vector_XYCoord tab, YUV161616Pixel low, YUV161616Pixel high) { int ret = VisionLabPINVOKE.XYCoordTabFromImage__SWIG_25(YUV161616Image.getCPtr(image), vector_XYCoord.getCPtr(tab), YUV161616Pixel.getCPtr(low), YUV161616Pixel.getCPtr(high)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static int PixelPtrTabFromImage(YUV161616Image image, SWIGTYPE_p_std__vectorT_JL_VisionLib_V3__YUV161616Pixel_p_t tab, YUV161616Pixel low, YUV161616Pixel high) { int ret = VisionLabPINVOKE.PixelPtrTabFromImage__SWIG_25(YUV161616Image.getCPtr(image), SWIGTYPE_p_std__vectorT_JL_VisionLib_V3__YUV161616Pixel_p_t.getCPtr(tab), YUV161616Pixel.getCPtr(low), YUV161616Pixel.getCPtr(high)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void Zoom(YUV161616Image src, YUV161616Image dest, HeightWidth hw) { VisionLabPINVOKE.Zoom__SWIG_49(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), HeightWidth.getCPtr(hw)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void Resample(YUV161616Image image, int rate) { VisionLabPINVOKE.Resample__SWIG_12(YUV161616Image.getCPtr(image), rate); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void Zoom(YUV161616Image src, YUV161616Image dest, HeightWidth hw, PixelInterpolation pi) { VisionLabPINVOKE.Zoom__SWIG_51(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), HeightWidth.getCPtr(hw), (int)pi); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void ROI(YUV161616Image src, YUV161616Image dest, XYCoord topLeft, HeightWidth hw) { VisionLabPINVOKE.ROI__SWIG_12(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), XYCoord.getCPtr(topLeft), HeightWidth.getCPtr(hw)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void ConvertToFalseColor(DoubleImage src, YUV161616Image lut, YUV161616Image dest) { VisionLabPINVOKE.ConvertToFalseColor__SWIG_12(DoubleImage.getCPtr(src), YUV161616Image.getCPtr(lut), YUV161616Image.getCPtr(dest)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void ROIR(YUV161616Image src, YUV161616Image dest, XYCoord middle, XYCoord endpoint1, XYCoord endpoint2, Orientation orien, PixelInterpolation pi) { VisionLabPINVOKE.ROIR__SWIG_51(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), XYCoord.getCPtr(middle), XYCoord.getCPtr(endpoint1), XYCoord.getCPtr(endpoint2), (int)orien, (int)pi); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void Extract3Channels(YUV161616Image image, DoubleImage chan1, DoubleImage chan2, DoubleImage chan3) { VisionLabPINVOKE.Extract3Channels__SWIG_12(YUV161616Image.getCPtr(image), DoubleImage.getCPtr(chan1), DoubleImage.getCPtr(chan2), DoubleImage.getCPtr(chan3)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void Rotate(YUV161616Image src, YUV161616Image dest, XYCoord centre, double phi, YUV161616Pixel borderValue, PixelInterpolation pi) { VisionLabPINVOKE.Rotate__SWIG_25(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), XYCoord.getCPtr(centre), phi, YUV161616Pixel.getCPtr(borderValue), (int)pi); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void Threshold3Channels(YUV161616Image image, DoubleImage thresImage, int lowChan1, int highChan1, int lowChan2, int highChan2, int lowChan3, int highChan3) { VisionLabPINVOKE.Threshold3Channels__SWIG_12(YUV161616Image.getCPtr(image), DoubleImage.getCPtr(thresImage), lowChan1, highChan1, lowChan2, highChan2, lowChan3, highChan3); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static XYCoord RotateFull(YUV161616Image src, YUV161616Image dest, double phi, YUV161616Pixel borderValue, PixelInterpolation pi) { XYCoord ret = new XYCoord(VisionLabPINVOKE.RotateFull__SWIG_25(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), phi, YUV161616Pixel.getCPtr(borderValue), (int)pi), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void Extract1Channel(YUV161616Image image, YUVColor plane, DoubleImage chan) { VisionLabPINVOKE.Extract1Channel__SWIG_76(YUV161616Image.getCPtr(image), (int)plane, DoubleImage.getCPtr(chan)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void SetBorders(YUV161616Image image, YUV161616Pixel value) { VisionLabPINVOKE.SetBorders__SWIG_25(YUV161616Image.getCPtr(image), YUV161616Pixel.getCPtr(value)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void BlockPattern(YUV161616Image image, XYCoord leftTop, int height, int width, YUV161616Pixel value, int repeatx, int repeaty) { VisionLabPINVOKE.BlockPattern__SWIG_25(YUV161616Image.getCPtr(image), XYCoord.getCPtr(leftTop), height, width, YUV161616Pixel.getCPtr(value), repeatx, repeaty); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void SwapQuadrants(YUV161616Image src, YUV161616Image dest) { VisionLabPINVOKE.SwapQuadrants__SWIG_12(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static int CountPixel(YUV161616Image image, YUV161616Pixel value) { int ret = VisionLabPINVOKE.CountPixel__SWIG_12(YUV161616Image.getCPtr(image), YUV161616Pixel.getCPtr(value)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void TranslateCyclic(YUV161616Image src, YUV161616Image dest, XYCoord vector) { VisionLabPINVOKE.TranslateCyclic__SWIG_12(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), XYCoord.getCPtr(vector)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void Warp(YUV161616Image src, YUV161616Image dest, TransformDirection dir, Coord2D leftTop, Coord2D rightTop, Coord2D leftBottom, Coord2D rightBottom, int height, int width, YUV161616Pixel border, PixelInterpolation pi) { VisionLabPINVOKE.Warp__SWIG_25(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), (int)dir, Coord2D.getCPtr(leftTop), Coord2D.getCPtr(rightTop), Coord2D.getCPtr(leftBottom), Coord2D.getCPtr(rightBottom), height, width, YUV161616Pixel.getCPtr(border), (int)pi); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(YUV161616Image obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }