OpenCV 4.13.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
cv::optflow::OpticalFlowPCAFlow クラス

PCAFlowアルゴリズム。 続きを読む...

#include <opencv2/optflow/pcaflow.hpp>

Collaboration diagram for cv::optflow::OpticalFlowPCAFlow:

公開メンバ関数

 OpticalFlowPCAFlow (Ptr< const PCAPrior > _prior=Ptr< const PCAPrior >(), const Size _basisSize=Size(18, 14), float _sparseRate=0.024, float _retainedCornersFraction=0.2, float _occlusionsThreshold=0.0003, float _dampingFactor=0.00002, float _claheClip=14)
 PCAFlowアルゴリズムのインスタンスを作成する。
 
void calc (InputArray I0, InputArray I1, InputOutputArray flow) CV_OVERRIDE
 オプティカルフローを計算する。
 
void collectGarbage () CV_OVERRIDE
 すべての内部バッファを解放する。
 
- Public Member Functions inherited from cv::DenseOpticalFlow
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 アルゴリズムの状態をクリアする。
 
virtual bool empty () const
 Algorithm が空の場合(たとえば開始直後や読み込みに失敗した後)に true を返す。
 
virtual String getDefaultName () const
 
virtual void read (const FileNode &fn)
 ファイルストレージからアルゴリズムの引数を読み込む。
 
virtual void save (const String &filename) const
 
void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 
virtual void write (FileStorage &fs) const
 アルゴリズムの引数をファイルストレージに保存する。
 
void write (FileStorage &fs, const String &name) const
 

限定公開変数類

const Size basisSize
 
const float claheClip
 
const float dampingFactor
 
const float occlusionsThreshold
 
const Ptr< const PCAPriorprior
 
const float retainedCornersFraction
 
const float sparseRate
 
bool useOpenCL
 

Additional Inherited Members

- Static Public Member Functions inherited from cv::Algorithm
template<typename _Tp >
static Ptr< _Tpload (const String &filename, const String &objname=String())
 ファイルからアルゴリズムを読み込む。
 
template<typename _Tp >
static Ptr< _TploadFromString (const String &strModel, const String &objname=String())
 文字列からアルゴリズムを読み込む。
 
template<typename _Tp >
static Ptr< _Tpread (const FileNode &fn)
 ファイルノードからアルゴリズムを読み込む。
 
- Protected Member Functions inherited from cv::Algorithm
void writeFormat (FileStorage &fs) const
 

詳細説明

PCAFlowアルゴリズム。

構築子と解体子の詳解

◆ OpticalFlowPCAFlow()

cv::optflow::OpticalFlowPCAFlow::OpticalFlowPCAFlow ( Ptr< const PCAPrior > _prior = Ptr< const PCAPrior >(),
const Size _basisSize = Size(18, 14),
float _sparseRate = 0.024,
float _retainedCornersFraction = 0.2,
float _occlusionsThreshold = 0.0003,
float _dampingFactor = 0.00002,
float _claheClip = 14 )

PCAFlowアルゴリズムのインスタンスを作成する。

引数
_prior学習済みの事前分布、または事前分布なし(デフォルト)。
参照
cv::optflow::PCAPrior
引数
_basisSize基底ベクトルの数。
_sparseRate疎なマッチングの密度を制御する。
_retainedCornersFraction保持するコーナーの割合。
_occlusionsThresholdオクルージョンのしきい値。
_dampingFactor最小二乗法を解くための正則化項。事前分布の正則化とは無関係である。
_claheClipCLAHE のクリップ用引数。

メンバ関数詳解

◆ calc()

void cv::optflow::OpticalFlowPCAFlow::calc ( InputArray I0,
InputArray I1,
InputOutputArray flow )
virtual

オプティカルフローを計算する。

引数
I01番目の8ビットシングルチャンネル入力画像。
I1prevと同じサイズかつ同じ型の2番目の入力画像。
flowprevと同じサイズで型がCV_32FC2の計算されたフロー画像。

cv::DenseOpticalFlow を実装する。

◆ collectGarbage()

void cv::optflow::OpticalFlowPCAFlow::collectGarbage ( )
virtual

すべての内部バッファを解放する。

cv::DenseOpticalFlow を実装する。

メンバ変数詳解

◆ basisSize

const Size cv::optflow::OpticalFlowPCAFlow::basisSize
protected

◆ claheClip

const float cv::optflow::OpticalFlowPCAFlow::claheClip
protected

◆ dampingFactor

const float cv::optflow::OpticalFlowPCAFlow::dampingFactor
protected

◆ occlusionsThreshold

const float cv::optflow::OpticalFlowPCAFlow::occlusionsThreshold
protected

◆ prior

const Ptr<const PCAPrior> cv::optflow::OpticalFlowPCAFlow::prior
protected

◆ retainedCornersFraction

const float cv::optflow::OpticalFlowPCAFlow::retainedCornersFraction
protected

◆ sparseRate

const float cv::optflow::OpticalFlowPCAFlow::sparseRate
protected

◆ useOpenCL

bool cv::optflow::OpticalFlowPCAFlow::useOpenCL
protected

このクラス詳解は次のファイルから抽出されました: