Method Iterate
- Namespace
- OpenCvSharp.XImgProc
- Assembly
- OpenCvSharp.dll
Iterate(InputArray, int)
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.
public virtual void Iterate(InputArray img, int numIterations = 10)
Parameters
imgInputArraySupported 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.
numIterationsintNumber of pixel level iterations. Higher number improves the result.