🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.video
クラス VariationalRefinement
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.video.DenseOpticalFlow
-
- org.opencv.video.VariationalRefinement
public class VariationalRefinement extends DenseOpticalFlow
変分法によるオプティカルフローのリファインメント このクラスは、入力フローフィールドの変分リファインメントを実装する。すなわち、入力フローを用いて以下の汎関数の最小化を初期化する: \(E(U) = \int_{\Omega} \delta \Psi(E_I) + \gamma \Psi(E_G) + \alpha \Psi(E_S) \)。ここで \(E_I,E_G,E_S\) はそれぞれ色の恒常性、勾配の恒常性、平滑性の項である。\(\Psi(s^2)=\sqrt{s^2+\epsilon^2}\) は外れ値の影響を抑えるためのロバストなペナライザである。完全な定式化と最小化手順の説明は CITE: Brox2004 にある
-
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedVariationalRefinement​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static VariationalRefinement__fromPtr__​(long addr)voidcalcUV​(Mat I0, Mat I1, Mat flow_u, Mat flow_v)REF: calc function overload to handle separate horizontal (u) and vertical (v) flow components (to avoid extra splits/merges)static VariationalRefinementcreate()Creates an instance of VariationalRefinementfloatgetAlpha()Weight of the smoothness term SEE: setAlphafloatgetDelta()Weight of the color constancy term SEE: setDeltafloatgetEpsilon()Norm value shift for robust penalizer SEE: setEpsilonintgetFixedPointIterations()Number of outer (fixed-point) iterations in the minimization procedure.floatgetGamma()Weight of the gradient constancy term SEE: setGammafloatgetOmega()Relaxation factor in SOR SEE: setOmegaintgetSorIterations()Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve the respective linear system.voidsetAlpha​(float val)getAlpha SEE: getAlphavoidsetDelta​(float val)getDelta SEE: getDeltavoidsetEpsilon​(float val)getEpsilon SEE: getEpsilonvoidsetFixedPointIterations​(int val)getFixedPointIterations SEE: getFixedPointIterationsvoidsetGamma​(float val)getGamma SEE: getGammavoidsetOmega​(float val)getOmega SEE: getOmegavoidsetSorIterations​(int val)getSorIterations SEE: getSorIterations-
クラス org.opencv.video.DenseOpticalFlow から継承されたメソッド
calc, collectGarbage
-
クラス org.opencv.core.Algorithm から継承されたメソッド
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
メソッドの詳細
-
__fromPtr__
public static VariationalRefinement __fromPtr__​(long addr)
-
calcUV
public void calcUV​(Mat I0, Mat I1, Mat flow_u, Mat flow_v)
REF: calc function overload to handle separate horizontal (u) and vertical (v) flow components (to avoid extra splits/merges)- 引数:
I0- 自動生成I1- 自動生成flow_u- 自動生成flow_v- 自動生成
-
getFixedPointIterations
public int getFixedPointIterations()
Number of outer (fixed-point) iterations in the minimization procedure. SEE: setFixedPointIterations- 戻り値:
- 自動生成
-
setFixedPointIterations
public void setFixedPointIterations​(int val)
getFixedPointIterations SEE: getFixedPointIterations- 引数:
val- 自動生成
-
getSorIterations
public int getSorIterations()
Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve the respective linear system. SEE: setSorIterations- 戻り値:
- 自動生成
-
setSorIterations
public void setSorIterations​(int val)
getSorIterations SEE: getSorIterations- 引数:
val- 自動生成
-
getOmega
public float getOmega()
Relaxation factor in SOR SEE: setOmega- 戻り値:
- 自動生成
-
setOmega
public void setOmega​(float val)
getOmega SEE: getOmega- 引数:
val- 自動生成
-
getAlpha
public float getAlpha()
Weight of the smoothness term SEE: setAlpha- 戻り値:
- 自動生成
-
setAlpha
public void setAlpha​(float val)
getAlpha SEE: getAlpha- 引数:
val- 自動生成
-
getDelta
public float getDelta()
Weight of the color constancy term SEE: setDelta- 戻り値:
- 自動生成
-
setDelta
public void setDelta​(float val)
getDelta SEE: getDelta- 引数:
val- 自動生成
-
getGamma
public float getGamma()
Weight of the gradient constancy term SEE: setGamma- 戻り値:
- 自動生成
-
setGamma
public void setGamma​(float val)
getGamma SEE: getGamma- 引数:
val- 自動生成
-
getEpsilon
public float getEpsilon()
Norm value shift for robust penalizer SEE: setEpsilon- 戻り値:
- 自動生成
-
setEpsilon
public void setEpsilon​(float val)
getEpsilon SEE: getEpsilon- 引数:
val- 自動生成
-
create
public static VariationalRefinement create()
Creates an instance of VariationalRefinement- 戻り値:
- 自動生成
-
-