OpenCV  4.1.0
Open Source Computer Vision
Classes | Functions
Image segmentation

Classes

class  cv::ximgproc::segmentation::GraphSegmentation
 Graph Based Segmentation Algorithm. The class implements the algorithm described in. More...
 
class  cv::ximgproc::segmentation::SelectiveSearchSegmentation
 Selective search segmentation algorithm The class implements the algorithm described in. More...
 
class  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategy
 Strategie for the selective search segmentation algorithm The class implements a generic stragery for the algorithm described in. More...
 
class  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyColor
 Color-based strategy for the selective search segmentation algorithm The class is implemented from the algorithm described in. More...
 
class  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyFill
 Fill-based strategy for the selective search segmentation algorithm The class is implemented from the algorithm described in. More...
 
class  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyMultiple
 Regroup multiple strategies for the selective search segmentation algorithm. More...
 
class  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategySize
 Size-based strategy for the selective search segmentation algorithm The class is implemented from the algorithm described in. More...
 
class  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyTexture
 Texture-based strategy for the selective search segmentation algorithm The class is implemented from the algorithm described in. More...
 

Functions

Ptr< GraphSegmentation > cv::ximgproc::segmentation::createGraphSegmentation (double sigma=0.5, float k=300, int min_size=100)
 Creates a graph based segmentor.
 
Ptr< SelectiveSearchSegmentation > cv::ximgproc::segmentation::createSelectiveSearchSegmentation ()
 Create a new SelectiveSearchSegmentation class.
 
Ptr
< SelectiveSearchSegmentationStrategyColor > 
cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyColor ()
 Create a new color-based strategy.
 
Ptr
< SelectiveSearchSegmentationStrategyFill > 
cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyFill ()
 Create a new fill-based strategy.
 
Ptr
< SelectiveSearchSegmentationStrategyMultiple > 
cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple ()
 Create a new multiple strategy.
 
Ptr
< SelectiveSearchSegmentationStrategyMultiple > 
cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple (Ptr< SelectiveSearchSegmentationStrategy > s1)
 Create a new multiple strategy and set one subtrategy.
 
Ptr
< SelectiveSearchSegmentationStrategyMultiple > 
cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple (Ptr< SelectiveSearchSegmentationStrategy > s1, Ptr< SelectiveSearchSegmentationStrategy > s2)
 Create a new multiple strategy and set two subtrategies, with equal weights.
 
Ptr
< SelectiveSearchSegmentationStrategyMultiple > 
cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple (Ptr< SelectiveSearchSegmentationStrategy > s1, Ptr< SelectiveSearchSegmentationStrategy > s2, Ptr< SelectiveSearchSegmentationStrategy > s3)
 Create a new multiple strategy and set three subtrategies, with equal weights.
 
Ptr
< SelectiveSearchSegmentationStrategyMultiple > 
cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple (Ptr< SelectiveSearchSegmentationStrategy > s1, Ptr< SelectiveSearchSegmentationStrategy > s2, Ptr< SelectiveSearchSegmentationStrategy > s3, Ptr< SelectiveSearchSegmentationStrategy > s4)
 Create a new multiple strategy and set four subtrategies, with equal weights.
 
Ptr
< SelectiveSearchSegmentationStrategySize > 
cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategySize ()
 Create a new size-based strategy.
 
Ptr
< SelectiveSearchSegmentationStrategyTexture > 
cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyTexture ()
 Create a new size-based strategy.
 

Detailed Description

Function Documentation

Ptr<GraphSegmentation> cv::ximgproc::segmentation::createGraphSegmentation ( double  sigma = 0.5,
float  k = 300,
int  min_size = 100 
)

Creates a graph based segmentor.

Parameters
sigmaThe sigma parameter, used to smooth image
kThe k parameter of the algorythm
min_sizeThe minimum size of segments
Ptr<SelectiveSearchSegmentation> cv::ximgproc::segmentation::createSelectiveSearchSegmentation ( )

Create a new SelectiveSearchSegmentation class.

Ptr<SelectiveSearchSegmentationStrategyColor> cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyColor ( )

Create a new color-based strategy.

Ptr<SelectiveSearchSegmentationStrategyFill> cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyFill ( )

Create a new fill-based strategy.

Ptr<SelectiveSearchSegmentationStrategyMultiple> cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple ( )

Create a new multiple strategy.

Ptr<SelectiveSearchSegmentationStrategyMultiple> cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple ( Ptr< SelectiveSearchSegmentationStrategy >  s1)

Create a new multiple strategy and set one subtrategy.

Parameters
s1The first strategy
Ptr<SelectiveSearchSegmentationStrategyMultiple> cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple ( Ptr< SelectiveSearchSegmentationStrategy >  s1,
Ptr< SelectiveSearchSegmentationStrategy >  s2 
)

Create a new multiple strategy and set two subtrategies, with equal weights.

Parameters
s1The first strategy
s2The second strategy
Ptr<SelectiveSearchSegmentationStrategyMultiple> cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple ( Ptr< SelectiveSearchSegmentationStrategy >  s1,
Ptr< SelectiveSearchSegmentationStrategy >  s2,
Ptr< SelectiveSearchSegmentationStrategy >  s3 
)

Create a new multiple strategy and set three subtrategies, with equal weights.

Parameters
s1The first strategy
s2The second strategy
s3The third strategy
Ptr<SelectiveSearchSegmentationStrategyMultiple> cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple ( Ptr< SelectiveSearchSegmentationStrategy >  s1,
Ptr< SelectiveSearchSegmentationStrategy >  s2,
Ptr< SelectiveSearchSegmentationStrategy >  s3,
Ptr< SelectiveSearchSegmentationStrategy >  s4 
)

Create a new multiple strategy and set four subtrategies, with equal weights.

Parameters
s1The first strategy
s2The second strategy
s3The third strategy
s4The forth strategy
Ptr<SelectiveSearchSegmentationStrategySize> cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategySize ( )

Create a new size-based strategy.

Ptr<SelectiveSearchSegmentationStrategyTexture> cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyTexture ( )

Create a new size-based strategy.