| SuperpixelLSCIterate Method |
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.
The function computes the superpixels segmentation of an image with the parameters initialized
with the function createSuperpixelLSC(). The algorithms starts from a grid of superpixels and
then refines the boundaries by proposing updates of edges boundaries.
Namespace:
OpenCvSharp.XImgProc
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public virtual void Iterate(
int numIterations = 10
)
Public Overridable Sub Iterate (
Optional numIterations As Integer = 10
)
public:
virtual void Iterate(
int numIterations = 10
)
abstract Iterate :
?numIterations : int
(* Defaults:
let _numIterations = defaultArg numIterations 10
*)
-> unit
override Iterate :
?numIterations : int
(* Defaults:
let _numIterations = defaultArg numIterations 10
*)
-> unit
Parameters
- numIterations (Optional)
- Type: SystemInt32
Number of iterations. Higher number improves the result.
See Also