C# Class Emgu.CV.Features2D.MSERDetector

Datei anzeigen Open project: fajoy/RTSPExample Class Usage Examples

Public Methods

Method Description
GetMSERParameters ( ) : MCvMSERParams

Get the MSER parameters

MSERDetector ( ) : System

Create the default MSER detector

MSERDetector ( int delta, int maxArea, int minArea, float maxVariation, float minDiversity, int maxEvolution, double areaThreshold, double minMargin, int edgeBlurSize ) : System

Create a MSER detector using the specific parameters

Protected Methods

Method Description
DisposeObject ( ) : void

Release the unmanaged memory associated with this detector.

Method Details

DisposeObject() protected method

Release the unmanaged memory associated with this detector.
protected DisposeObject ( ) : void
return void

GetMSERParameters() public method

Get the MSER parameters
public GetMSERParameters ( ) : MCvMSERParams
return Emgu.CV.Structure.MCvMSERParams

MSERDetector() public method

Create the default MSER detector
public MSERDetector ( ) : System
return System

MSERDetector() public method

Create a MSER detector using the specific parameters
public MSERDetector ( int delta, int maxArea, int minArea, float maxVariation, float minDiversity, int maxEvolution, double areaThreshold, double minMargin, int edgeBlurSize ) : System
delta int Use 5 as defalut. In the code, it compares (size_{i}-size_{i-delta})/size_{i-delta}
maxArea int Use 60 as default. Prune the area which bigger than max_area
minArea int Use 14400 as default. Prune the area which smaller than min_area
maxVariation float Use .25f as default. Prune the area have simliar size to its children
minDiversity float Use .2f as default. Trace back to cut off mser with diversity < min_diversity
maxEvolution int Use 200 as default. For color image, the evolution steps
areaThreshold double Use 1.01 as default. The area threshold to cause re-initialize
minMargin double Use 0.003 as default. Ignore too small margin
edgeBlurSize int Use 5 as default. The aperture size for edge blur
return System