選擇性搜尋分割演算法。該類實現了 [280] 中描述的演算法。 更多...
#include <opencv2/ximgproc/segmentation.hpp>
選擇性搜尋分割演算法。該類實現了 [280] 中描述的演算法。
◆ addGraphSegmentation()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::addGraphSegmentation |
( |
Ptr< GraphSegmentation > | g | ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.addGraphSegmentation( | g | ) -> | 無 |
◆ addImage()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::addImage |
( |
InputArray | img | ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.addImage( | img | ) -> | 無 |
◆ addStrategy()
| Python |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.addStrategy( | s | ) -> | 無 |
◆ clearGraphSegmentations()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::clearGraphSegmentations |
( |
| ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.clearGraphSegmentations( | | ) -> | 無 |
◆ clearImages()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::clearImages |
( |
| ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.clearImages( | | ) -> | 無 |
◆ clearStrategies()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::clearStrategies |
( |
| ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.clearStrategies( | | ) -> | 無 |
◆ process()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::process |
( |
std::vector< Rect > & | 矩形 | ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.process( | | ) -> | 矩形 |
基於所有影像、圖分割和策略,計算所有可能的矩形並返回它們。
- 引數
-
◆ setBaseImage()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::setBaseImage |
( |
InputArray | img | ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.setBaseImage( | img | ) -> | 無 |
設定由 switch* 函式使用的影像以初始化該類。
- 引數
-
◆ switchToSelectiveSearchFast()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::switchToSelectiveSearchFast |
( |
int | base_k = 150, |
|
|
int | inc_k = 150, |
|
|
float | sigma = 0.8f ) |
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.switchToSelectiveSearchFast( | [, base_k[, inc_k[, sigma]]] | ) -> | 無 |
使用 [280] 中描述的“選擇性搜尋快速”引數初始化該類。
- 引數
-
| 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 ) |
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.switchToSelectiveSearchQuality( | [, base_k[, inc_k[, sigma]]] | ) -> | 無 |
使用 [280] 中描述的“選擇性搜尋快速”引數初始化該類。
- 引數
-
| base_k | 第一個圖分割的 k 引數 |
| inc_k | 所有圖分割的 k 引數的增量 |
| sigma | 圖分割的 sigma 引數 |
◆ switchToSingleStrategy()
| virtual void cv::ximgproc::segmentation::SelectiveSearchSegmentation::switchToSingleStrategy |
( |
int | k = 200, |
|
|
float | sigma = 0.8f ) |
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.segmentation.SelectiveSearchSegmentation.switchToSingleStrategy( | [, k[, sigma]] | ) -> | 無 |
使用 [280] 中描述的“單策略”引數初始化該類。
- 引數
-
| k | 圖分割的 k 引數 |
| sigma | 圖分割的 sigma 引數 |
此類的文件是從以下檔案生成的