SupperpixelSLIC Constructor |
http://www.emgu.com
The function initializes a SuperpixelSLIC object for the input image. It sets the parameters of choosed superpixel algorithm, which are: region_size and ruler. It preallocate some buffers for future computing iterations over the given image.
Namespace:
Emgu.CV.XImgproc
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic SupperpixelSLIC(
IInputArray image,
SupperpixelSLICAlgorithm algorithm,
int regionSize,
float ruler
)
Public Sub New (
image As IInputArray,
algorithm As SupperpixelSLICAlgorithm,
regionSize As Integer,
ruler As Single
)
public:
SupperpixelSLIC(
IInputArray^ image,
SupperpixelSLICAlgorithm algorithm,
int regionSize,
float ruler
)
new :
image : IInputArray *
algorithm : SupperpixelSLICAlgorithm *
regionSize : int *
ruler : float32 -> SupperpixelSLIC
Parameters
- image
- Type: Emgu.CVIInputArray
Image to segment - algorithm
- Type: Emgu.CV.XImgprocSupperpixelSLICAlgorithm
Chooses the algorithm variant to use - regionSize
- Type: SystemInt32
Chooses an average superpixel size measured in pixels - ruler
- Type: SystemSingle
Chooses the enforcement of superpixel smoothness factor of superpixel
See Also