🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.saliency
クラス ObjectnessBING
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.saliency.Saliency
-
- org.opencv.saliency.Objectness
-
- org.opencv.saliency.ObjectnessBING
public class ObjectnessBING extends Objectness
CITE: BING による二値化正規化勾配 (Binarized normed gradients) アルゴリズム。
-
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedObjectnessBING​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static ObjectnessBING__fromPtr__​(long addr)booleancomputeSaliency​(Mat image, Mat saliencyMap)Compute the saliency \param image The image.static ObjectnessBINGcreate()doublegetBase()intgetNSS()MatOfFloatgetobjectnessValues()Return the list of the rectangles' objectness value, in the same order as the *vector<Vec4i> objectnessBoundingBox* returned by the algorithm (in computeSaliencyImpl function).intgetW()voidsetBase​(double val)voidsetBBResDir​(java.lang.String resultsDir)This is a utility function that allows to set an arbitrary path in which the algorithm will save the optional results (ie writing on file the total number and the list of rectangles returned by objectess, one for each row).voidsetNSS​(int val)voidsetTrainingPath​(java.lang.String trainingPath)This is a utility function that allows to set the correct path from which the algorithm will load the trained model.voidsetW​(int val)-
クラス org.opencv.core.Algorithm から継承されたメソッド
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
メソッドの詳細
-
__fromPtr__
public static ObjectnessBING __fromPtr__​(long addr)
-
create
public static ObjectnessBING create()
-
computeSaliency
public boolean computeSaliency​(Mat image, Mat saliencyMap)
Description copied from class:SaliencyCompute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise- オーバーライド:
- クラス
Saliency内のcomputeSaliency - 引数:
image- 自動生成saliencyMap- 自動生成- 戻り値:
- 自動生成
-
getobjectnessValues
public MatOfFloat getobjectnessValues()
Return the list of the rectangles' objectness value, in the same order as the *vector<Vec4i> objectnessBoundingBox* returned by the algorithm (in computeSaliencyImpl function). The bigger value these scores are, it is more likely to be an object window.- 戻り値:
- 自動生成
-
setTrainingPath
public void setTrainingPath​(java.lang.String trainingPath)
This is a utility function that allows to set the correct path from which the algorithm will load the trained model.- 引数:
trainingPath- 学習済みモデルのパス
-
setBBResDir
public void setBBResDir​(java.lang.String resultsDir)
This is a utility function that allows to set an arbitrary path in which the algorithm will save the optional results (ie writing on file the total number and the list of rectangles returned by objectess, one for each row).- 引数:
resultsDir- 結果フォルダのパス
-
getBase
public double getBase()
-
setBase
public void setBase​(double val)
-
getNSS
public int getNSS()
-
setNSS
public void setNSS​(int val)
-
getW
public int getW()
-
setW
public void setW​(int val)
-
-