C# Класс OpenCvSharp.MSER

Maximal Stable Extremal Regions class
Наследование: Feature2D
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases the resources

MSER ( IntPtr p ) : System

Creates instance by raw pointer cv::MSER*

Описание методов

Create() публичный статический Метод

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
Результат MSER

DetectRegions() публичный Метод

public DetectRegions ( InputArray image, System.Point &msers, Rect &bboxes ) : void
image InputArray
msers System.Point
bboxes Rect
Результат void

Dispose() защищенный Метод

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. ///
Результат void

MSER() защищенный Метод

Creates instance by raw pointer cv::MSER*
protected MSER ( IntPtr p ) : System
p System.IntPtr
Результат System