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

畳み込み(または相互相関)演算子の基底クラス。: 続きを読む...

#include <opencv2/cudaarithm.hpp>

Collaboration diagram for cv::cuda::Convolution:

公開メンバ関数

virtual void convolve (InputArray image, InputArray templ, OutputArray result, bool ccorr=false, Stream &stream=Stream::Null())=0
 2つの画像の畳み込み(または相互相関)を計算する。
 
- 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
 
virtual void write (FileStorage &fs) const
 アルゴリズムの引数をファイルストレージに保存する。
 
void write (FileStorage &fs, const String &name) const
 

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
 

詳細説明

畳み込み(または相互相関)演算子の基底クラス。:

メンバ関数詳解

◆ convolve()

virtual void cv::cuda::Convolution::convolve ( InputArray image,
InputArray templ,
OutputArray result,
bool ccorr = false,
Stream & stream = Stream::Null() )
pure virtual

2つの画像の畳み込み(または相互相関)を計算する。

引数
imageソース画像。現時点では CV_32FC1 画像のみがサポートされている。
templテンプレート画像。サイズは画像のサイズ以下であること。型は画像と同じ。
result結果画像。画像が W x H で templ が w x h の場合、結果は W-w+1 x H-h+1 でなければならない。
ccorr畳み込みではなく相互相関を評価するためのフラグ。
stream非同期版のための Stream

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