C# 클래스 OpenCvSharp.ConnectedComponents

connected components that is returned from Cv2.ConnectedComponentsEx
파일 보기 프로젝트 열기: shimat/opencvsharp

공개 메소드들

메소드 설명
FilterBlobs ( OpenCvSharp.Mat src, OpenCvSharp.Mat dst, IEnumerable blobs ) : OpenCvSharp.Mat

Filter a image with the specified blob objects.

FilterByBlob ( OpenCvSharp.Mat src, OpenCvSharp.Mat dst, Blob blob ) : OpenCvSharp.Mat

Filter a image with the specified blob object.

FilterByLabel ( OpenCvSharp.Mat src, OpenCvSharp.Mat dst, int labelValue ) : OpenCvSharp.Mat

Filter a image with the specified label value.

FilterByLabels ( OpenCvSharp.Mat src, OpenCvSharp.Mat dst, IEnumerable labelValues ) : OpenCvSharp.Mat

Filter a image with the specified label values.

GetLargestBlob ( ) : Blob

Find the largest blob.

RenderBlobs ( OpenCvSharp.Mat img ) : void

Draws all blobs to the specified image.

비공개 메소드들

메소드 설명
ConnectedComponents ( IList blobs, int labels, int labelCount ) : System

Constructor

GetLabelMask ( int label ) : OpenCvSharp.Mat

指定したラベル値のところのみを非0で残したマスク画像を返す

메소드 상세

FilterBlobs() 공개 메소드

Filter a image with the specified blob objects.
public FilterBlobs ( OpenCvSharp.Mat src, OpenCvSharp.Mat dst, IEnumerable blobs ) : OpenCvSharp.Mat
src OpenCvSharp.Mat Source image.
dst OpenCvSharp.Mat Destination image.
blobs IEnumerable Blob values.
리턴 OpenCvSharp.Mat

FilterByBlob() 공개 메소드

Filter a image with the specified blob object.
public FilterByBlob ( OpenCvSharp.Mat src, OpenCvSharp.Mat dst, Blob blob ) : OpenCvSharp.Mat
src OpenCvSharp.Mat Source image.
dst OpenCvSharp.Mat Destination image.
blob Blob Blob value.
리턴 OpenCvSharp.Mat

FilterByLabel() 공개 메소드

Filter a image with the specified label value.
public FilterByLabel ( OpenCvSharp.Mat src, OpenCvSharp.Mat dst, int labelValue ) : OpenCvSharp.Mat
src OpenCvSharp.Mat Source image.
dst OpenCvSharp.Mat Destination image.
labelValue int Label value.
리턴 OpenCvSharp.Mat

FilterByLabels() 공개 메소드

Filter a image with the specified label values.
public FilterByLabels ( OpenCvSharp.Mat src, OpenCvSharp.Mat dst, IEnumerable labelValues ) : OpenCvSharp.Mat
src OpenCvSharp.Mat Source image.
dst OpenCvSharp.Mat Destination image.
labelValues IEnumerable Label values.
리턴 OpenCvSharp.Mat

GetLargestBlob() 공개 메소드

Find the largest blob.
public GetLargestBlob ( ) : Blob
리턴 Blob

RenderBlobs() 공개 메소드

Draws all blobs to the specified image.
public RenderBlobs ( OpenCvSharp.Mat img ) : void
img OpenCvSharp.Mat The target image to be drawn.
리턴 void