コード例 #1
0
ファイル: LSDDetector.cs プロジェクト: ys20161205/emgucv
 /// <summary>
 /// Detect lines inside an image.
 /// </summary>
 /// <param name="image">Input image</param>
 /// <param name="keylines">Vector that will store extracted lines for one or more images</param>
 /// <param name="scale">Scale factor used in pyramids generation</param>
 /// <param name="numOctaves">Number of octaves inside pyramid</param>
 /// <param name="mask">Mask matrix to detect only KeyLines of interest</param>
 public void Detect(Mat image, VectorOfKeyLine keylines, int scale, int numOctaves, Mat mask = null)
 {
     LineDescriptorInvoke.cveLineDescriptorLSDDetectorDetect(_ptr, image, keylines, scale, numOctaves, mask);
 }
コード例 #2
0
 /// <summary>
 /// Descriptors computation.
 /// </summary>
 /// <param name="image">Input image</param>
 /// <param name="keylines">Vector containing lines for which descriptors must be computed</param>
 /// <param name="descriptors">Computed descriptors will be stored here</param>
 /// <param name="returnFloatDescr">When true, original non-binary descriptors are returned</param>
 public void Compute(Mat image, VectorOfKeyLine keylines, Mat descriptors, bool returnFloatDescr = false)
 {
     LineDescriptorInvoke.cveLineDescriptorBinaryDescriptorCompute(_ptr, image, keylines, descriptors, returnFloatDescr);
 }
コード例 #3
0
 public DebuggerProxy(VectorOfKeyLine v)
 {
     _v = v;
 }
コード例 #4
0
 /// <summary>
 /// Line detection.
 /// </summary>
 /// <param name="image">Input image</param>
 /// <param name="keylines">Vector that will store extracted lines for one or more images</param>
 /// <param name="mask">Mask matrix to detect only KeyLines of interest</param>
 public void Detect(Mat image, VectorOfKeyLine keylines, Mat mask = null)
 {
     LineDescriptorInvoke.cveLineDescriptorBinaryDescriptorDetect(_ptr, image, keylines, mask);
 }
コード例 #5
0
 /// <summary>
 /// Push multiple values from the other vector into this vector
 /// </summary>
 /// <param name="other">The other vector, from which the values will be pushed to the current vector</param>
 public void Push(VectorOfKeyLine other)
 {
     VectorOfKeyLinePushVector(_ptr, other);
 }