C# 클래스 Emgu.CV.Cvb.CvBlobDetector

Wrapper for the CvBlob detection functions. The Ptr property points to the label image of the cvb::cvLabel function.
Algorithm based on paper "A linear-time component-labeling algorithm using contour tracing technique" of Fu Chang, Chun-Jen Chen and Chi-Jen Lu.
상속: Emgu.Util.UnmanagedObject
파일 보기 프로젝트 열기: fajoy/RTSPExample 1 사용 예제들

공개 메소드들

메소드 설명
Detect ( Byte>.Image img, CvBlobs blobs ) : uint

Detect blobs from input image.

DrawBlobs ( Byte>.Image image, CvBlobs blobs, BlobRenderType type, double alpha ) : Byte>.Image

Draw the blobs on the image

DrawBlobsMask ( CvBlobs blobs ) : Byte>.Image

Get the binary mask for the blobs listed in the CvBlobs

MeanColor ( CvBlob blob, Byte>.Image originalImage ) : Bgr

Calculates mean color of a blob in an image.

보호된 메소드들

메소드 설명
DisposeObject ( ) : void

Release all the unmanaged memory associated with this Blob detector

메소드 상세

Detect() 공개 메소드

Detect blobs from input image.
public Detect ( Byte>.Image img, CvBlobs blobs ) : uint
img Byte>.Image The input image
blobs CvBlobs The storage for the detected blobs
리턴 uint

DisposeObject() 보호된 메소드

Release all the unmanaged memory associated with this Blob detector
protected DisposeObject ( ) : void
리턴 void

DrawBlobs() 공개 메소드

Draw the blobs on the image
public DrawBlobs ( Byte>.Image image, CvBlobs blobs, BlobRenderType type, double alpha ) : Byte>.Image
image Byte>.Image The binary mask.
blobs CvBlobs The blobs.
type BlobRenderType Drawing type.
alpha double The alpha value. 1.0 for solid color and 0.0 for transparent
리턴 Byte>.Image

DrawBlobsMask() 공개 메소드

Get the binary mask for the blobs listed in the CvBlobs
public DrawBlobsMask ( CvBlobs blobs ) : Byte>.Image
blobs CvBlobs The blobs
리턴 Byte>.Image

MeanColor() 공개 메소드

Calculates mean color of a blob in an image.
public MeanColor ( CvBlob blob, Byte>.Image originalImage ) : Bgr
blob CvBlob The blob.
originalImage Byte>.Image The original image
리턴 Bgr