50
#ifndef __OPENCV_SLIC_HPP__
51
#define __OPENCV_SLIC_HPP__
54
#include <opencv2/core.hpp>
64
enum
SLICType { SLIC = 100, SLICO = 101, MSLIC = 102 };
78
class
CV_EXPORTS_W SuperpixelSLIC :
public
Algorithm
85
CV_WRAP
virtual
int
getNumberOfSuperpixels()
const
= 0;
101
CV_WRAP
virtual
void
iterate(
int
num_iterations = 10 ) = 0;
113
CV_WRAP
virtual
void
getLabels( OutputArray labels_out )
const
= 0;
125
CV_WRAP
virtual
void
getLabelContourMask( OutputArray image,
bool
thick_line =
true
)
const
= 0;
136
CV_WRAP
virtual
void
enforceLabelConnectivity(
int
min_element_size = 25 ) = 0;
160
CV_EXPORTS_W Ptr<SuperpixelSLIC> createSuperpixelSLIC( InputArray image,
int
algorithm = SLICO,
161
int
region_size = 10,
float
ruler = 10.0f );
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75