C# Class OpenCvSharp.MSER

Maximal Stable Extremal Regions class
Inheritance: Feature2D
Afficher le fichier Open project: shimat/opencvsharp

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Create ( int delta = 5, int minArea = 60, int maxArea = 14400, double maxVariation = 0.25, double minDiversity = 0.2, int maxEvolution = 200, double areaThreshold = 1.01, double minMargin = 0.003, int edgeBlurSize = 5 ) : MSER

Creates MSER parameters

DetectRegions ( InputArray image, System.Point &msers, Rect &bboxes ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases the resources

MSER ( IntPtr p ) : System

Creates instance by raw pointer cv::MSER*

Method Details

Create() public static méthode

Creates MSER parameters
public static Create ( int delta = 5, int minArea = 60, int maxArea = 14400, double maxVariation = 0.25, double minDiversity = 0.2, int maxEvolution = 200, double areaThreshold = 1.01, double minMargin = 0.003, int edgeBlurSize = 5 ) : MSER
delta int delta, in the code, it compares (size_{i}-size_{i-delta})/size_{i-delta}
minArea int prune the area which smaller than min_area
maxArea int prune the area which bigger than max_area
maxVariation double prune the area have simliar size to its children
minDiversity double trace back to cut off mser with diversity < min_diversity
maxEvolution int for color image, the evolution steps
areaThreshold double the area threshold to cause re-initialize
minMargin double ignore too small margin
edgeBlurSize int the aperture size for edge blur
Résultat MSER

DetectRegions() public méthode

public DetectRegions ( InputArray image, System.Point &msers, Rect &bboxes ) : void
image InputArray
msers System.Point
bboxes Rect
Résultat void

Dispose() protected méthode

Releases the resources
protected Dispose ( bool disposing ) : void
disposing bool /// If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. /// If false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. ///
Résultat void

MSER() protected méthode

Creates instance by raw pointer cv::MSER*
protected MSER ( IntPtr p ) : System
p System.IntPtr
Résultat System