OpenCV453
公開メンバ関数 | 全メンバ一覧
cv::ximgproc::segmentation::SelectiveSearchSegmentation クラスabstract

Selective search segmentation algorithm The class implements the algorithm described in [uijlings2013selective]. [詳解]

#include <segmentation.hpp>

cv::Algorithmを継承しています。

公開メンバ関数

virtual CV_WRAP void setBaseImage (InputArray img)=0
 Set a image used by switch* functions to initialize the class [詳解]
 
virtual CV_WRAP void switchToSingleStrategy (int k=200, float sigma=0.8f)=0
 Initialize the class with the 'Single stragegy' parameters describled in [uijlings2013selective]. [詳解]
 
virtual CV_WRAP void switchToSelectiveSearchFast (int base_k=150, int inc_k=150, float sigma=0.8f)=0
 Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. [詳解]
 
virtual CV_WRAP void switchToSelectiveSearchQuality (int base_k=150, int inc_k=150, float sigma=0.8f)=0
 Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. [詳解]
 
virtual CV_WRAP void addImage (InputArray img)=0
 Add a new image in the list of images to process. [詳解]
 
virtual CV_WRAP void clearImages ()=0
 Clear the list of images to process
 
virtual CV_WRAP void addGraphSegmentation (Ptr< GraphSegmentation > g)=0
 Add a new graph segmentation in the list of graph segementations to process. [詳解]
 
virtual CV_WRAP void clearGraphSegmentations ()=0
 Clear the list of graph segmentations to process;
 
virtual CV_WRAP void addStrategy (Ptr< SelectiveSearchSegmentationStrategy > s)=0
 Add a new strategy in the list of strategy to process. [詳解]
 
virtual CV_WRAP void clearStrategies ()=0
 Clear the list of strategy to process;
 
virtual CV_WRAP void process (CV_OUT std::vector< Rect > &rects)=0
 Based on all images, graph segmentations and stragies, computes all possible rects and return them [詳解]
 
- 基底クラス cv::Algorithm に属する継承公開メンバ関数
virtual CV_WRAP void clear ()
 Clears the algorithm state [詳解]
 
virtual void write (FileStorage &fs) const
 Stores algorithm parameters in a file storage [詳解]
 
CV_WRAP void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 simplified API for language bindings これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
 
virtual CV_WRAP void read (const FileNode &fn)
 Reads algorithm parameters from a file storage [詳解]
 
virtual CV_WRAP bool empty () const
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read [詳解]
 
virtual CV_WRAP void save (const String &filename) const
 
virtual CV_WRAP String getDefaultName () const
 

その他の継承メンバ

- 基底クラス cv::Algorithm に属する継承静的公開メンバ関数
template<typename _Tp >
static Ptr< _Tp > read (const FileNode &fn)
 Reads algorithm from the file node [詳解]
 
template<typename _Tp >
static Ptr< _Tp > load (const String &filename, const String &objname=String())
 Loads algorithm from the file [詳解]
 
template<typename _Tp >
static Ptr< _Tp > loadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String [詳解]
 
- 基底クラス cv::Algorithm に属する継承限定公開メンバ関数
void writeFormat (FileStorage &fs) const
 

詳解

Selective search segmentation algorithm The class implements the algorithm described in [uijlings2013selective].

関数詳解

◆ addGraphSegmentation()

virtual CV_WRAP void cv::ximgproc::segmentation::SelectiveSearchSegmentation::addGraphSegmentation ( Ptr< GraphSegmentation g)
pure virtual

Add a new graph segmentation in the list of graph segementations to process.

引数
gThe graph segmentation

◆ addImage()

virtual CV_WRAP void cv::ximgproc::segmentation::SelectiveSearchSegmentation::addImage ( InputArray  img)
pure virtual

Add a new image in the list of images to process.

引数
imgThe image

◆ addStrategy()

virtual CV_WRAP void cv::ximgproc::segmentation::SelectiveSearchSegmentation::addStrategy ( Ptr< SelectiveSearchSegmentationStrategy s)
pure virtual

Add a new strategy in the list of strategy to process.

引数
sThe strategy

◆ process()

virtual CV_WRAP void cv::ximgproc::segmentation::SelectiveSearchSegmentation::process ( CV_OUT std::vector< Rect > &  rects)
pure virtual

Based on all images, graph segmentations and stragies, computes all possible rects and return them

引数
rectsThe list of rects. The first ones are more relevents than the lasts ones.

◆ setBaseImage()

virtual CV_WRAP void cv::ximgproc::segmentation::SelectiveSearchSegmentation::setBaseImage ( InputArray  img)
pure virtual

Set a image used by switch* functions to initialize the class

引数
imgThe image

◆ switchToSelectiveSearchFast()

virtual CV_WRAP void cv::ximgproc::segmentation::SelectiveSearchSegmentation::switchToSelectiveSearchFast ( int  base_k = 150,
int  inc_k = 150,
float  sigma = 0.8f 
)
pure virtual

Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective].

引数
base_kThe k parameter for the first graph segmentation
inc_kThe increment of the k parameter for all graph segmentations
sigmaThe sigma parameter for the graph segmentation

◆ switchToSelectiveSearchQuality()

virtual CV_WRAP void cv::ximgproc::segmentation::SelectiveSearchSegmentation::switchToSelectiveSearchQuality ( int  base_k = 150,
int  inc_k = 150,
float  sigma = 0.8f 
)
pure virtual

Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective].

引数
base_kThe k parameter for the first graph segmentation
inc_kThe increment of the k parameter for all graph segmentations
sigmaThe sigma parameter for the graph segmentation

◆ switchToSingleStrategy()

virtual CV_WRAP void cv::ximgproc::segmentation::SelectiveSearchSegmentation::switchToSingleStrategy ( int  k = 200,
float  sigma = 0.8f 
)
pure virtual

Initialize the class with the 'Single stragegy' parameters describled in [uijlings2013selective].

引数
kThe k parameter for the graph segmentation
sigmaThe sigma parameter for the graph segmentation

このクラス詳解は次のファイルから抽出されました: