Selective searchによるセグメンテーション(領域分割)アルゴリズム。このクラスは [287] で説明されているアルゴリズムを実装している。続き...
#include <opencv2/ximgproc/segmentation.hpp>
Selective searchによるセグメンテーション(領域分割)アルゴリズム。このクラスは [287] で説明されているアルゴリズムを実装している。
◆ addGraphSegmentation()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::addGraphSegmentation |
( |
Ptr< GraphSegmentation > | g | ) |
|
|
pure virtual |
| Python: |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.addGraphSegmentation( | g | ) -> | None |
処理対象のグラフセグメンテーションのリストに新しいグラフセグメンテーションを追加する。
- 引数
-
◆ addImage()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::addImage |
( |
InputArray | img | ) |
|
|
pure virtual |
| Python: |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.addImage( | img | ) -> | None |
処理対象の画像のリストに新しい画像を追加する。
- 引数
-
◆ addStrategy()
| Python: |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.addStrategy( | s | ) -> | None |
処理対象の戦略のリストに新しい戦略を追加する。
- 引数
-
◆ clearGraphSegmentations()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::clearGraphSegmentations |
( |
| ) |
|
|
pure virtual |
| Python: |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.clearGraphSegmentations( | | ) -> | None |
処理対象のグラフセグメンテーションのリストをクリアする。
◆ clearImages()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::clearImages |
( |
| ) |
|
|
pure virtual |
| Python: |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.clearImages( | | ) -> | None |
◆ clearStrategies()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::clearStrategies |
( |
| ) |
|
|
pure virtual |
| Python: |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.clearStrategies( | | ) -> | None |
◆ process()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::process |
( |
std::vector< Rect > & | rects | ) |
|
|
pure virtual |
| Python: |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.process( | | ) -> | rects |
すべての画像、グラフセグメンテーション、戦略に基づき、可能なすべての矩形を計算して返す。
- 引数
-
| rects | 矩形のリスト。先頭のものほど後ろのものより関連性が高い。 |
◆ setBaseImage()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::setBaseImage |
( |
InputArray | img | ) |
|
|
pure virtual |
| Python: |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.setBaseImage( | img | ) -> | None |
クラスを初期化するために switch* 関数で使用される画像を設定する。
- 引数
-
◆ switchToSelectiveSearchFast()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::switchToSelectiveSearchFast |
( |
int | base_k = 150, |
|
|
int | inc_k = 150, |
|
|
float | sigma = 0.8f ) |
|
pure virtual |
| Python: |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.switchToSelectiveSearchFast( | [, base_k[, inc_k[, sigma]]] | ) -> | None |
[287] で説明されている 'Selective search fast' のパラメータでクラスを初期化する。
- 引数
-
| base_k | 最初のグラフセグメンテーションに対する k 引数。 |
| inc_k | すべてのグラフセグメンテーションに対する k 引数の増分。 |
| sigma | グラフセグメンテーションに対する sigma 引数。 |
◆ switchToSelectiveSearchQuality()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::switchToSelectiveSearchQuality |
( |
int | base_k = 150, |
|
|
int | inc_k = 150, |
|
|
float | sigma = 0.8f ) |
|
pure virtual |
| Python: |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.switchToSelectiveSearchQuality( | [, base_k[, inc_k[, sigma]]] | ) -> | None |
[287] で説明されている 'Selective search fast' のパラメータでクラスを初期化する。
- 引数
-
| base_k | 最初のグラフセグメンテーションに対する k 引数。 |
| inc_k | すべてのグラフセグメンテーションに対する k 引数の増分。 |
| sigma | グラフセグメンテーションに対する sigma 引数。 |
◆ switchToSingleStrategy()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::switchToSingleStrategy |
( |
int | k = 200, |
|
|
float | sigma = 0.8f ) |
|
pure virtual |
| Python: |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.switchToSingleStrategy( | [, k[, sigma]] | ) -> | None |
[287] で説明されている 'Single stragegy' のパラメータでクラスを初期化する。
- 引数
-
| k | グラフセグメンテーションに対する k 引数。 |
| sigma | グラフセグメンテーションに対する sigma 引数。 |
このクラス詳解は次のファイルから抽出されました: