Method Iterate
- Namespace
- OpenCvSharp.XImgProc
- Assembly
- OpenCvSharp.dll
Iterate(InputArray)
Calculates the superpixel segmentation on a given image with the initialized parameters in the ScanSegment object.
This function can be called again for other images without the need of initializing the algorithm with Create(). This saves the computational cost of allocating memory for all the structures of the algorithm.
public virtual void Iterate(InputArray img)
Parameters
imgInputArrayInput image. Supported format: CV_8UC3. Image size must match with the initialized image size with the function Create(). It MUST be in Lab color space.