Click or drag to resize

SuperpixelLSC Class
Class implementing the LSC (Linear Spectral Clustering) superpixels algorithm described in "Zhengqin Li and Jiansheng Chen. Superpixel segmentation using linear spectral clustering. June 2015."
Inheritance Hierarchy

Namespace:  Emgu.CV.XImgproc
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public class SuperpixelLSC : UnmanagedObject

The SuperpixelLSC type exposes the following members.

Public methodSuperpixelLSC
The function initializes a SuperpixelLSC object for the input image.
Public propertyNumberOfSuperpixels
Calculates the actual amount of superpixels on a given segmentation computed and stored in SuperpixelLSC object
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release the unmanaged memory associated with this object.
(Overrides DisposableObjectDisposeObject.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
(Inherited from DisposableObject.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLabelContourMask
Returns the mask of the superpixel segmentation stored in SuperpixelLSC object.
Public methodGetLabels
Returns the segmentation labeling of the image. Each label represents a superpixel, and each pixel is assigned to one superpixel label.
Public methodGetType (Inherited from Object.)
Public methodIterate
Calculates the superpixel segmentation on a given image with the initialized parameters in the SuperpixelLSC object. This function can be called again without the need of initializing the algorithm with createSuperpixelLSC(). This save the computational cost of allocating memory for all the structures of the algorithm.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodReleaseManagedResources
Release the managed resources. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.)
Public methodToString (Inherited from Object.)
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
LSC (Linear Spectral Clustering) produces compact and uniform superpixels with low computational costs. Basically, a normalized cuts formulation of the superpixel segmentation is adopted based on a similarity metric that measures the color similarity and space proximity between image pixels. LSC is of linear computational complexity and high memory efficiency and is able to preserve global properties of images
See Also