本文整理汇总了C#中ByteImage类的典型用法代码示例。如果您正苦于以下问题:C# ByteImage类的具体用法?C# ByteImage怎么用?C# ByteImage使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ByteImage类属于命名空间,在下文中一共展示了ByteImage类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: FindBestCircles
public static vector_HoughCircle FindBestCircles(ByteImage src, double minR, double maxR, double deltaR) {
vector_HoughCircle ret = new vector_HoughCircle(VisionLabPINVOKE.FindBestCircles__SWIG_7(ByteImage.getCPtr(src), minR, maxR, deltaR), true);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例2: CircleShape
public static void CircleShape(ByteImage image, XYCoord centre, int r, byte value, ZeroOrOriginal zorg) {
VisionLabPINVOKE.CircleShape__SWIG_2(ByteImage.getCPtr(image), XYCoord.getCPtr(centre), r, value, (int)zorg);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
}
示例3: DeInterlace
public static void DeInterlace(ByteImage image) {
VisionLabPINVOKE.DeInterlace__SWIG_1(ByteImage.getCPtr(image));
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
}
示例4: ThresholdIsoData
public static int ThresholdIsoData(ByteImage image, ByteImage roi, ObjectBrightness arg2) {
int ret = VisionLabPINVOKE.ThresholdIsoData__SWIG_3(ByteImage.getCPtr(image), ByteImage.getCPtr(roi), (int)arg2);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例5: AddBorder
public static void AddBorder(ByteImage src, ByteImage dest, int top, int left, int right, int bottom, byte value) {
VisionLabPINVOKE.AddBorder__SWIG_1(ByteImage.getCPtr(src), ByteImage.getCPtr(dest), top, left, right, bottom, value);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
}
示例6: SwapAxis
public static void SwapAxis(ByteImage src, ByteImage dest, ViewPoint viewPoint, int scale) {
VisionLabPINVOKE.SwapAxis__SWIG_1(ByteImage.getCPtr(src), ByteImage.getCPtr(dest), (int)viewPoint, scale);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
}
示例7: ThresholdFast
public static void ThresholdFast(ByteImage image, byte low, byte high) {
VisionLabPINVOKE.ThresholdFast__SWIG_11(ByteImage.getCPtr(image), low, high);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
}
示例8: CalcHistogram
public static Histogram CalcHistogram(ByteImage image, ByteImage roi) {
Histogram ret = new Histogram(VisionLabPINVOKE.CalcHistogram__SWIG_7(ByteImage.getCPtr(image), ByteImage.getCPtr(roi)), true);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例9: CalcHistogram0
public static void CalcHistogram0(ByteImage image, int hisSize, SWIGTYPE_p_int his) {
VisionLabPINVOKE.CalcHistogram0__SWIG_1(ByteImage.getCPtr(image), hisSize, SWIGTYPE_p_int.getCPtr(his));
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
}
示例10: FindFastBestLines
public static vector_HoughLine FindFastBestLines(ByteImage src, HLParams p, byte edgeMin, int nrLines, double minR, double minPhi, int minHits) {
vector_HoughLine ret = new vector_HoughLine(VisionLabPINVOKE.FindFastBestLines__SWIG_1(ByteImage.getCPtr(src), HLParams.getCPtr(p), edgeMin, nrLines, minR, minPhi, minHits), true);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例11: Extract1Channel
public static void Extract1Channel(HSV161616Image image, HSVColor plane, ByteImage chan) {
VisionLabPINVOKE.Extract1Channel__SWIG_48(HSV161616Image.getCPtr(image), (int)plane, ByteImage.getCPtr(chan));
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
}
示例12: FindFastBestLine
public static HoughLine FindFastBestLine(ByteImage src, HLParams p, byte edgeMin) {
HoughLine ret = new HoughLine(VisionLabPINVOKE.FindFastBestLine__SWIG_1(ByteImage.getCPtr(src), HLParams.getCPtr(p), edgeMin), true);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例13: FastHoughLineT
public static void FastHoughLineT(ByteImage src, HLParams p, byte edgeMin, ByteImage dest) {
VisionLabPINVOKE.FastHoughLineT__SWIG_1(ByteImage.getCPtr(src), HLParams.getCPtr(p), edgeMin, ByteImage.getCPtr(dest));
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
}
示例14: FindFastBestCircles
public static vector_HoughCircle FindFastBestCircles(ByteImage src, CircleBrightness brightness, byte edgeMin, double minR, double maxR, double deltaR) {
vector_HoughCircle ret = new vector_HoughCircle(VisionLabPINVOKE.FindFastBestCircles__SWIG_7(ByteImage.getCPtr(src), (int)brightness, edgeMin, minR, maxR, deltaR), true);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例15: SetMultiToValueLUT
public static void SetMultiToValueLUT(ByteImage image, SWIGTYPE_p_std__setT_unsigned_char_t selectSet, byte value) {
VisionLabPINVOKE.SetMultiToValueLUT__SWIG_1(ByteImage.getCPtr(image), SWIGTYPE_p_std__setT_unsigned_char_t.getCPtr(selectSet), value);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
}