Click or drag to resize

SelectiveSearchSegmentation Class

Selective search segmentation algorithm. The class implements the algorithm described in @cite uijlings2013selective.
Inheritance Hierarchy

Namespace:  OpenCvSharp.XImgProc.Segmentation
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public class SelectiveSearchSegmentation : Algorithm

The SelectiveSearchSegmentation type exposes the following members.

Constructors
  NameDescription
Protected methodSelectiveSearchSegmentation
Creates instance by raw pointer
Top
Properties
  NameDescription
Protected propertyAllocatedMemory
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.)
Protected propertyAllocatedMemorySize
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.)
Public propertyCvPtr
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.)
Protected propertyDataHandle
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.)
Public propertyEmpty
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
(Inherited from Algorithm.)
Public propertyIsDisposed
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.)
Public propertyIsEnabledDispose
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.)
Top
Methods
  NameDescription
Public methodAddGraphSegmentation
Add a new graph segmentation in the list of graph segementations to process.
Public methodAddImage
Add a new image in the list of images to process.
Public methodAddStrategy
Add a new strategy in the list of strategy to process.
Protected methodAllocGCHandle
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.)
Protected methodAllocMemory
Allocates the specified size of memory.
(Inherited from DisposableObject.)
Public methodClearGraphSegmentations
Clear the list of graph segmentations to process
Public methodClearImages
Clear the list of images to process
Public methodClearStrategies
Clear the list of strategy to process;
Public methodStatic memberCreate
Create a new SelectiveSearchSegmentation class.
Public methodDispose
Releases the resources
(Inherited from DisposableObject.)
Protected methodDispose(Boolean)
Releases the resources
(Inherited from DisposableObject.)
Protected methodDisposeManaged
Releases managed resources
(Overrides DisposableObjectDisposeManaged.)
Protected methodDisposeUnmanaged
releases unmanaged resources
(Inherited from DisposableCvObject.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetDefaultName
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
(Inherited from Algorithm.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNotifyMemoryPressure
Notifies the allocated size of memory.
(Inherited from DisposableObject.)
Public methodProcess
Based on all images, graph segmentations and stragies, computes all possible rects and return them
Public methodRead
Reads algorithm parameters from a file storage
(Inherited from Algorithm.)
Public methodSave
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage fs).
(Inherited from Algorithm.)
Public methodSetBaseImage
Set a image used by switch* functions to initialize the class
Public methodSwitchToSelectiveSearchFast
Initialize the class with the 'Selective search fast' parameters describled in @cite uijlings2013selective.
Public methodSwitchToSelectiveSearchQuality
Initialize the class with the 'Selective search fast' parameters describled in @cite uijlings2013selective.
Public methodSwitchToSingleStrategy
Initialize the class with the 'Single stragegy' parameters describled in @cite uijlings2013selective.
Public methodThrowIfDisposed
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWrite
Stores algorithm parameters in a file storage
(Inherited from Algorithm.)
Top
Fields
  NameDescription
Protected fieldptr
Data pointer
(Inherited from DisposableCvObject.)
Top
See Also