🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。

クラス 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 にある
    • コンストラクタの詳細

      • VariationalRefinement

        protected VariationalRefinement​(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
        戻り値:
        自動生成