🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.ximgproc
Class SelectiveSearchSegmentation
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.ximgproc.SelectiveSearchSegmentation
public class SelectiveSearchSegmentation extends Algorithm
選択的探索(Selective Search)セグメンテーションアルゴリズム。このクラスは CITE: uijlings2013selective に記載されたアルゴリズムを実装する。
-
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedSelectiveSearchSegmentation​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static SelectiveSearchSegmentation__fromPtr__​(long addr)voidaddGraphSegmentation​(GraphSegmentation g)Add a new graph segmentation in the list of graph segementations to process.voidaddImage​(Mat img)Add a new image in the list of images to process.voidaddStrategy​(SelectiveSearchSegmentationStrategy s)Add a new strategy in the list of strategy to process.voidclearGraphSegmentations()Clear the list of graph segmentations to process;voidclearImages()Clear the list of images to processvoidclearStrategies()Clear the list of strategy to process;voidprocess​(MatOfRect rects)Based on all images, graph segmentations and stragies, computes all possible rects and return themvoidsetBaseImage​(Mat img)Set a image used by switch* functions to initialize the classvoidswitchToSelectiveSearchFast()Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.voidswitchToSelectiveSearchFast​(int base_k)Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.voidswitchToSelectiveSearchFast​(int base_k, int inc_k)Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.voidswitchToSelectiveSearchFast​(int base_k, int inc_k, float sigma)Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.voidswitchToSelectiveSearchQuality()Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.voidswitchToSelectiveSearchQuality​(int base_k)Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.voidswitchToSelectiveSearchQuality​(int base_k, int inc_k)Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.voidswitchToSelectiveSearchQuality​(int base_k, int inc_k, float sigma)Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.voidswitchToSingleStrategy()Initialize the class with the 'Single stragegy' parameters describled in CITE: uijlings2013selective.voidswitchToSingleStrategy​(int k)Initialize the class with the 'Single stragegy' parameters describled in CITE: uijlings2013selective.voidswitchToSingleStrategy​(int k, float sigma)Initialize the class with the 'Single stragegy' parameters describled in CITE: uijlings2013selective.-
クラス org.opencv.core.Algorithm から継承されたメソッド
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
メソッドの詳細
-
__fromPtr__
public static SelectiveSearchSegmentation __fromPtr__​(long addr)
-
setBaseImage
public void setBaseImage​(Mat img)
Set a image used by switch* functions to initialize the class- 引数:
img- 画像
-
switchToSingleStrategy
public void switchToSingleStrategy​(int k, float sigma)Initialize the class with the 'Single stragegy' parameters describled in CITE: uijlings2013selective.- 引数:
k- グラフセグメンテーションの k パラメータsigma- グラフセグメンテーションの sigma パラメータ
-
switchToSingleStrategy
public void switchToSingleStrategy​(int k)
Initialize the class with the 'Single stragegy' parameters describled in CITE: uijlings2013selective.- 引数:
k- グラフセグメンテーションの k パラメータ
-
switchToSingleStrategy
public void switchToSingleStrategy()
Initialize the class with the 'Single stragegy' parameters describled in CITE: uijlings2013selective.
-
switchToSelectiveSearchFast
public void switchToSelectiveSearchFast​(int base_k, int inc_k, float sigma)Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.- 引数:
base_k- 最初のグラフセグメンテーションの k パラメータinc_k- すべてのグラフセグメンテーションにおける k パラメータの増分sigma- グラフセグメンテーションの sigma パラメータ
-
switchToSelectiveSearchFast
public void switchToSelectiveSearchFast​(int base_k, int inc_k)Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.- 引数:
base_k- 最初のグラフセグメンテーションの k パラメータinc_k- すべてのグラフセグメンテーションにおける k パラメータの増分
-
switchToSelectiveSearchFast
public void switchToSelectiveSearchFast​(int base_k)
Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.- 引数:
base_k- 最初のグラフセグメンテーションの k パラメータ
-
switchToSelectiveSearchFast
public void switchToSelectiveSearchFast()
Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.
-
switchToSelectiveSearchQuality
public void switchToSelectiveSearchQuality​(int base_k, int inc_k, float sigma)Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.- 引数:
base_k- 最初のグラフセグメンテーションの k パラメータinc_k- すべてのグラフセグメンテーションにおける k パラメータの増分sigma- グラフセグメンテーションの sigma パラメータ
-
switchToSelectiveSearchQuality
public void switchToSelectiveSearchQuality​(int base_k, int inc_k)Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.- 引数:
base_k- 最初のグラフセグメンテーションの k パラメータinc_k- すべてのグラフセグメンテーションにおける k パラメータの増分
-
switchToSelectiveSearchQuality
public void switchToSelectiveSearchQuality​(int base_k)
Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.- 引数:
base_k- 最初のグラフセグメンテーションの k パラメータ
-
switchToSelectiveSearchQuality
public void switchToSelectiveSearchQuality()
Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.
-
addImage
public void addImage​(Mat img)
Add a new image in the list of images to process.- 引数:
img- 画像
-
clearImages
public void clearImages()
Clear the list of images to process
-
addGraphSegmentation
public void addGraphSegmentation​(GraphSegmentation g)
Add a new graph segmentation in the list of graph segementations to process.- 引数:
g- グラフセグメンテーション
-
clearGraphSegmentations
public void clearGraphSegmentations()
Clear the list of graph segmentations to process;
-
addStrategy
public void addStrategy​(SelectiveSearchSegmentationStrategy s)
Add a new strategy in the list of strategy to process.- 引数:
s- ストラテジー
-
clearStrategies
public void clearStrategies()
Clear the list of strategy to process;
-
process
public void process​(MatOfRect rects)
Based on all images, graph segmentations and stragies, computes all possible rects and return them- 引数:
rects- 矩形のリスト。先頭のものほど後方のものより関連性が高い。
-
-