Table of Contents

Class SelectiveSearchSegmentation

Namespace
Emgu.CV.XImgproc
Assembly
Emgu.CV.dll

Selective search segmentation algorithm The class implements the algorithm described in: Jasper RR Uijlings, Koen EA van de Sande, Theo Gevers, and Arnold WM Smeulders. Selective search for object recognition. International journal of computer vision, 104(2):154–171, 2013.

public class SelectiveSearchSegmentation : UnmanagedObject, IDisposable
Inheritance
SelectiveSearchSegmentation
Implements
Inherited Members

Constructors

SelectiveSearchSegmentation()

Selective search segmentation algorithm

public SelectiveSearchSegmentation()

Methods

AddImage(IInputArray)

Add a new image in the list of images to process.

public void AddImage(IInputArray img)

Parameters

img IInputArray

The image

DisposeObject()

Release the unmanaged memory associated with this object.

protected override void DisposeObject()

Process()

Based on all images, graph segmentations and stragies, computes all possible rects and return them.

public Rectangle[] Process()

Returns

Rectangle[]

The list of rects. The first ones are more relevents than the lasts ones.

SetBaseImage(IInputArray)

Set a image used by switch* functions to initialize the class.

public void SetBaseImage(IInputArray image)

Parameters

image IInputArray

The image

SwitchToSelectiveSearchFast(int, int, float)

Initialize the class with the 'Selective search fast' parameters

public void SwitchToSelectiveSearchFast(int baseK = 150, int incK = 150, float sigma = 0.8)

Parameters

baseK int

The k parameter for the first graph segmentation

incK int

The increment of the k parameter for all graph segmentations

sigma float

The sigma parameter for the graph segmentation

SwitchToSelectiveSearchQuality(int, int, float)

Initialize the class with the 'Selective search quality' parameters

public void SwitchToSelectiveSearchQuality(int baseK = 150, int incK = 150, float sigma = 0.8)

Parameters

baseK int

The k parameter for the first graph segmentation

incK int

The increment of the k parameter for all graph segmentations

sigma float

The sigma parameter for the graph segmentation

SwitchToSingleStrategy(int, float)

Initialize the class with the 'Single stragegy' parameters

public void SwitchToSingleStrategy(int k, float sigma)

Parameters

k int

The k parameter for the graph segmentation

sigma float

The sigma parameter for the graph segmentation