Table of Contents

Class MSER

Namespace
Emgu.CV.Features2D
Assembly
Emgu.CV.dll

MSER detector

public class MSER : Feature2D, IDisposable, IAlgorithm
Inheritance
MSER
Implements
Inherited Members
Extension Methods

Constructors

MSER(int, int, int, double, double, int, double, double, int)

Create a MSER detector using the specific parameters

public MSER(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)

Parameters

delta int

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 similar 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

Properties

Delta

Delta

public int Delta { get; set; }

Property Value

int

MaxArea

Max Area

public int MaxArea { get; set; }

Property Value

int

MinArea

Min Area

public int MinArea { get; set; }

Property Value

int

Pass2Only

Pass2 only

public bool Pass2Only { get; set; }

Property Value

bool

Methods

DetectRegions(IInputArray, VectorOfVectorOfPoint, VectorOfRect)

Detect MSER regions

public void DetectRegions(IInputArray image, VectorOfVectorOfPoint msers, VectorOfRect bboxes)

Parameters

image IInputArray

input image (8UC1, 8UC3 or 8UC4, must be greater or equal than 3x3)

msers VectorOfVectorOfPoint

resulting list of point sets

bboxes VectorOfRect

resulting bounding boxes

DisposeObject()

Release the unmanaged memory associated with this detector.

protected override void DisposeObject()