Click or drag to resize

SupperpixelSEEDSIterate Method

http://www.emgu.com
Calculates the superpixel segmentation on a given image with the initialized parameters in the SuperpixelSEEDS object.

Namespace:  Emgu.CV.XImgproc
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public void Iterate(
	IInputArray img,
	int numIterations = 4
)

Parameters

img
Type: Emgu.CVIInputArray
Input image. Supported formats: CV_8U, CV_16U, CV_32F. Image size & number of channels must match with the initialized image size & channels with the function createSuperpixelSEEDS(). It should be in HSV or Lab color space. Lab is a bit better, but also slower.
numIterations (Optional)
Type: SystemInt32
Number of pixel level iterations. Higher number improves the result.
Remarks
This function can be called again for other images without the need of initializing the algorithm with createSuperpixelSEEDS(). This save the computational cost of allocating memory for all the structures of the algorithm.
See Also