Show / Hide Table of Contents

Class MSER

Maximal Stable Extremal Regions class

Inheritance
System.Object
DisposableObject
DisposableCvObject
Algorithm
Feature2D
MSER
Implements
ICvPtrHolder
Inherited Members
Feature2D.DescriptorSize
Feature2D.DescriptorType
Feature2D.DefaultNorm
Feature2D.Empty()
Feature2D.Detect(Mat, Mat)
Feature2D.Detect(InputArray, Mat)
Feature2D.Detect(IEnumerable<Mat>, Nullable<IEnumerable<Mat>>)
Feature2D.Compute(InputArray, KeyPoint[], OutputArray)
Feature2D.Compute(IEnumerable<Mat>, KeyPoint[][], IEnumerable<Mat>)
Feature2D.DetectAndCompute(InputArray, InputArray, KeyPoint[], OutputArray, Boolean)
Feature2D.Write(String)
Feature2D.Read(String)
Feature2D.GetDefaultName()
Algorithm.Write(FileStorage)
Algorithm.Read(FileNode)
Algorithm.Save(String)
DisposableCvObject.ptr
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public class MSER : Feature2D, ICvPtrHolder

Constructors

| Improve this Doc View Source

MSER(IntPtr)

Creates instance by raw pointer cv::MSER*

Declaration
protected MSER(IntPtr p)
Parameters
Type Name Description
IntPtr p

Properties

| Improve this Doc View Source

Delta

Declaration
public int Delta { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MaxArea

Declaration
public int MaxArea { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MinArea

Declaration
public int MinArea { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Pass2Only

Declaration
public bool Pass2Only { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

Create(Int32, Int32, Int32, Double, Double, Int32, Double, Double, Int32)

Creates MSER parameters

Declaration
public static MSER 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)
Parameters
Type Name Description
System.Int32 delta

delta, in the code, it compares (size_{i}-size_{i-delta})/size_{i-delta}

System.Int32 minArea

prune the area which smaller than min_area

System.Int32 maxArea

prune the area which bigger than max_area

System.Double maxVariation

prune the area have simliar size to its children

System.Double minDiversity

trace back to cut off mser with diversity < min_diversity

System.Int32 maxEvolution

for color image, the evolution steps

System.Double areaThreshold

the area threshold to cause re-initialize

System.Double minMargin

ignore too small margin

System.Int32 edgeBlurSize

the aperture size for edge blur

Returns
Type Description
MSER
| Improve this Doc View Source

DetectRegions(InputArray, out Point[][], out Rect[])

Detect MSER regions

Declaration
public virtual void DetectRegions(InputArray image, out Point[][] msers, out Rect[] bboxes)
Parameters
Type Name Description
InputArray image

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

OpenCvSharp.Point[][] msers

resulting list of point sets

OpenCvSharp.Rect[] bboxes

resulting bounding boxes

| Improve this Doc View Source

DisposeManaged()

Releases managed resources

Declaration
protected override void DisposeManaged()
Overrides
DisposableObject.DisposeManaged()
| Improve this Doc View Source

DisposeUnmanaged()

Declaration
protected override void DisposeUnmanaged()
Overrides
DisposableCvObject.DisposeUnmanaged()
| Improve this Doc View Source

Get()

Declaration
public override IntPtr Get()
Returns
Type Description
IntPtr

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX