🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.saliency
クラス MotionSaliencyBinWangApr2014
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.saliency.Saliency
-
- org.opencv.saliency.MotionSaliency
-
- org.opencv.saliency.MotionSaliencyBinWangApr2014
public class MotionSaliencyBinWangApr2014 extends MotionSaliency
CITE: BinWangApr2014 による高速なセルフチューニング背景差分アルゴリズム。
-
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedMotionSaliencyBinWangApr2014​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static MotionSaliencyBinWangApr2014__fromPtr__​(long addr)booleancomputeSaliency​(Mat image, Mat saliencyMap)Compute the saliency \param image The image.static MotionSaliencyBinWangApr2014create()intgetImageHeight()intgetImageWidth()booleaninit()This function allows the correct initialization of all data structures that will be used by the algorithm.voidsetImageHeight​(int val)voidsetImagesize​(int W, int H)This is a utility function that allows to set the correct size (taken from the input image) in the corresponding variables that will be used to size the data structures of the algorithm.voidsetImageWidth​(int val)-
クラス org.opencv.core.Algorithm から継承されたメソッド
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
メソッドの詳細
-
__fromPtr__
public static MotionSaliencyBinWangApr2014 __fromPtr__​(long addr)
-
create
public static MotionSaliencyBinWangApr2014 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- 自動生成- 戻り値:
- 自動生成
-
setImagesize
public void setImagesize​(int W, int H)This is a utility function that allows to set the correct size (taken from the input image) in the corresponding variables that will be used to size the data structures of the algorithm.- 引数:
W- 入力画像の幅H- 入力画像の高さ
-
init
public boolean init()
This function allows the correct initialization of all data structures that will be used by the algorithm.- 戻り値:
- 自動生成
-
getImageWidth
public int getImageWidth()
-
setImageWidth
public void setImageWidth​(int val)
-
getImageHeight
public int getImageHeight()
-
setImageHeight
public void setImageHeight​(int val)
-
-