Image segmentation#
Detailed Description#
Classes#
Name |
Description |
|---|---|
Graph Based Segmentation Algorithm. The class implements the algorithm described in [98] . View details |
|
|
Selective search segmentation algorithm The class implements the algorithm described in [313]. View details |
|
Strategie for the selective search segmentation algorithm The class implements a generic stragery for the algorithm described in [313]. View details |
|
Color-based strategy for the selective search segmentation algorithm The class is implemented from the algorithm described in [313]. View details |
|
Fill-based strategy for the selective search segmentation algorithm The class is implemented from the algorithm described in [313]. View details |
|
Regroup multiple strategies for the selective search segmentation algorithm. View details |
|
Size-based strategy for the selective search segmentation algorithm The class is implemented from the algorithm described in [313]. View details |
|
Texture-based strategy for the selective search segmentation algorithm The class is implemented from the algorithm described in [313]. View details |
Function Documentation#
createGraphSegmentation()#
Ptr< GraphSegmentation > cv::ximgproc::segmentation::createGraphSegmentation(
double sigma = 0.5,
float k = 300,
int min_size = 100 )
#include <opencv2/ximgproc/segmentation.hpp>
Creates a graph based segmentor.
Parameters
sigma— The sigma parameter, used to smooth imagek— The k parameter of the algorythmmin_size— The minimum size of segments
createSelectiveSearchSegmentation()#
Ptr< SelectiveSearchSegmentation > cv::ximgproc::segmentation::createSelectiveSearchSegmentation()
#include <opencv2/ximgproc/segmentation.hpp>
Create a new SelectiveSearchSegmentation class.
createSelectiveSearchSegmentationStrategyColor()#
Ptr< SelectiveSearchSegmentationStrategyColor > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyColor()
#include <opencv2/ximgproc/segmentation.hpp>
Create a new color-based strategy.
createSelectiveSearchSegmentationStrategyFill()#
Ptr< SelectiveSearchSegmentationStrategyFill > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyFill()
#include <opencv2/ximgproc/segmentation.hpp>
Create a new fill-based strategy.
createSelectiveSearchSegmentationStrategyMultiple()#
Ptr< SelectiveSearchSegmentationStrategyMultiple > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple()
#include <opencv2/ximgproc/segmentation.hpp>
Create a new multiple strategy.
createSelectiveSearchSegmentationStrategyMultiple()#
Ptr< SelectiveSearchSegmentationStrategyMultiple > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple(Ptr< SelectiveSearchSegmentationStrategy > s1)
#include <opencv2/ximgproc/segmentation.hpp>
Create a new multiple strategy and set one subtrategy.
Parameters
s1— The first strategy
createSelectiveSearchSegmentationStrategyMultiple()#
Ptr< SelectiveSearchSegmentationStrategyMultiple > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple(
Ptr< SelectiveSearchSegmentationStrategy > s1,
Ptr< SelectiveSearchSegmentationStrategy > s2 )
#include <opencv2/ximgproc/segmentation.hpp>
Create a new multiple strategy and set two subtrategies, with equal weights.
Parameters
s1— The first strategys2— The second strategy
createSelectiveSearchSegmentationStrategyMultiple()#
Ptr< SelectiveSearchSegmentationStrategyMultiple > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple(
Ptr< SelectiveSearchSegmentationStrategy > s1,
Ptr< SelectiveSearchSegmentationStrategy > s2,
Ptr< SelectiveSearchSegmentationStrategy > s3 )
#include <opencv2/ximgproc/segmentation.hpp>
Create a new multiple strategy and set three subtrategies, with equal weights.
Parameters
s1— The first strategys2— The second strategys3— The third strategy
createSelectiveSearchSegmentationStrategyMultiple()#
Ptr< SelectiveSearchSegmentationStrategyMultiple > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple(
Ptr< SelectiveSearchSegmentationStrategy > s1,
Ptr< SelectiveSearchSegmentationStrategy > s2,
Ptr< SelectiveSearchSegmentationStrategy > s3,
Ptr< SelectiveSearchSegmentationStrategy > s4 )
#include <opencv2/ximgproc/segmentation.hpp>
Create a new multiple strategy and set four subtrategies, with equal weights.
Parameters
s1— The first strategys2— The second strategys3— The third strategys4— The forth strategy
createSelectiveSearchSegmentationStrategySize()#
Ptr< SelectiveSearchSegmentationStrategySize > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategySize()
#include <opencv2/ximgproc/segmentation.hpp>
Create a new size-based strategy.
createSelectiveSearchSegmentationStrategyTexture()#
Ptr< SelectiveSearchSegmentationStrategyTexture > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyTexture()
#include <opencv2/ximgproc/segmentation.hpp>
Create a new size-based strategy.