SupperpixelSEEDS Constructor |
http://www.emgu.com
The function initializes a SuperpixelSEEDS object for the input image.
Namespace:
Emgu.CV.XImgproc
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic SupperpixelSEEDS(
int imageWidth,
int imageHeight,
int imageChannels,
int numSuperpixels,
int numLevels,
int prior,
int histogramBins,
bool doubleStep
)
Public Sub New (
imageWidth As Integer,
imageHeight As Integer,
imageChannels As Integer,
numSuperpixels As Integer,
numLevels As Integer,
prior As Integer,
histogramBins As Integer,
doubleStep As Boolean
)
public:
SupperpixelSEEDS(
int imageWidth,
int imageHeight,
int imageChannels,
int numSuperpixels,
int numLevels,
int prior,
int histogramBins,
bool doubleStep
)
new :
imageWidth : int *
imageHeight : int *
imageChannels : int *
numSuperpixels : int *
numLevels : int *
prior : int *
histogramBins : int *
doubleStep : bool -> SupperpixelSEEDS
Parameters
- imageWidth
- Type: SystemInt32
Image width - imageHeight
- Type: SystemInt32
Image height - imageChannels
- Type: SystemInt32
Number of channels of the image. - numSuperpixels
- Type: SystemInt32
Desired number of superpixels. Note that the actual number may be smaller due to restrictions (depending on the image size and num_levels). Use getNumberOfSuperpixels() to get the actual number. - numLevels
- Type: SystemInt32
Number of block levels. The more levels, the more accurate is the segmentation, but needs more memory and CPU time. - prior
- Type: SystemInt32
Enable 3x3 shape smoothing term if >0. A larger value leads to smoother shapes. prior must be in the range [0, 5]. - histogramBins
- Type: SystemInt32
Number of histogram bins. - doubleStep
- Type: SystemBoolean
If true, iterate each block level twice for higher accuracy.
See Also