OpenCV 4.5.3(日本語機械翻訳)
関数
Math with F0-transform support

関数

CV_EXPORTS_W void cv::ft::FT02D_components (InputArray matrix, InputArray kernel, OutputArray components, InputArray mask=noArray())
direct-transformを用いて,配列の成分を計算します.$F^0$-transformを用いて配列の成分を求めます.[【詳解】(英語]
CV_EXPORTS_W void cv::ft::FT02D_inverseFT (InputArray components, InputArray kernel, OutputArray output, int width, int height)
逆変換を計算します。$F^0$-逆変換を計算します。[【詳解】(英語]
CV_EXPORTS_W void cv::ft::FT02D_process (InputArray matrix, InputArray kernel, OutputArray output, InputArray mask=noArray())
以下を計算します。$F^0$-逆変換を計算します。$F^0$-transfrom を一度に計算します.[【詳解】(英語]
CV_EXPORTS_W int cv::ft::FT02D_iteration (InputArray matrix, InputArray kernel, OutputArray output, InputArray mask, OutputArray maskOutput, bool firstStop)
以下を計算します。$F^0$-逆変換を計算します。$F^0$-を一度に計算して状態を返します。[【詳解】(英語]
CV_EXPORTS_W void cv::ft::FT02D_FL_process (InputArray matrix, const int radius, OutputArray output)
のわずかに精度の低いバージョンです.$F^0$-transfrom の計算を,より高速に最適化したものです.このメソッドは,線形基本関数で計算されます.[【詳解】(英語]
CV_EXPORTS_W void cv::ft::FT02D_FL_process_float (InputArray matrix, const int radius, OutputArray output)
のわずかに精度の低いバージョンです.$F^0$-transfrom の計算を,より高速に最適化したものです.このメソッドは,線形基本関数で計算されます.[【詳解】(英語]

詳解

Fuzzy transform ( $F^0$-transform) of the 0th degree transforms whole image to a matrix of its components. These components are used in latter computation where each of them represents average color of certain subarea.

@defgroup f1_math Math with F1-transform support

Fuzzy transform ( $F^1$-transform) of the 1th degree transforms whole image to a matrix of its components. Each component is polynomial of the 1th degree carrying information about average color and average gradient of certain subarea.

@defgroup f_image Fuzzy image processing

Image proceesing based on fuzzy mathematics namely F-transform.

関数詳解

FT02D_components()

CV_EXPORTS_W void cv::ft::FT02D_components ( InputArray matrix,
InputArray kernel,
OutputArray components,
InputArray mask = noArray()
)

direct-transformを用いて,配列の成分を計算します.$F^0$-transformを用いて配列の成分を求めます.

引数
matrix 入力配列.
kernel 処理に利用されるカーネル.関数ft::createKernelを使用することができます.
components コンポーネント用の32ビット浮動小数点配列を出力します。
mask マスクは,不要な領域のマーキングに利用できます.

この関数は,あらかじめ定義されたカーネルとマスクを用いて,成分を計算します.

FT02D_FL_process()

CV_EXPORTS_W void cv::ft::FT02D_FL_process ( InputArray matrix,
const int radius,
OutputArray output
)

のわずかに精度の低いバージョンです.$F^0$-transfrom の計算を,より高速に最適化したものです.このメソッドは,線形基本関数で計算されます.

引数
matrix 3チャンネルの行列を入力します.
radius 基本関数の半径ft::LINEAR基本関数。
output 出力配列.

この関数は,線形基本関数を用いて F-transfrom と逆 F-transfotm を1ステップで計算します.よりも 10 倍程度高速です。ft::FT02D_processメソッドを実行します。

FT02D_FL_process_float()

CV_EXPORTS_W void cv::ft::FT02D_FL_process_float ( InputArray matrix,
const int radius,
OutputArray output
)

のわずかに精度の低いバージョンです.$F^0$-transfrom の計算を,より高速に最適化したものです.このメソッドは,線形基本関数で計算されます.

引数
matrix 3チャンネルの行列を入力します.
radius 基本関数の半径ft::LINEAR基本関数。
output 出力配列.

この関数は,線形基本関数を用いて F-トランスフォームと逆 F-トランスフォームをワンステップで計算します。よりも9倍速くなります。ft::FT02D_processメソッドよりも9倍高速で,より正確です.ft::FT02D_FL_processメソッドを実行します。

FT02D_inverseFT()

CV_EXPORTS_W void cv::ft::FT02D_inverseFT ( InputArray components,
InputArray kernel,
OutputArray output,
int width,
int height
)

逆変換を計算します。$F^0$-逆変換を計算します。

引数
components 成分の32ビット浮動小数点シングルチャンネル配列を入力します。
kernel 処理に利用されるカーネル.関数ft::createKernelを使用することができます.
output 出力 32-bit float 配列。
width 出力配列の幅。
height 出力配列の高さ.

逆 F-transform の計算.

FT02D_iteration()

CV_EXPORTS_W int cv::ft::FT02D_iteration ( InputArray matrix,
InputArray kernel,
OutputArray output,
InputArray mask,
OutputArray maskOutput,
bool firstStop
)

以下を計算します。$F^0$-逆変換を計算します。$F^0$-を一度に計算して状態を返します。

引数
matrix 入力行列.
kernel 処理に利用されるカーネル.関数ft::createKernelを使用することができます.
output 出力 32-bit float 配列。
mask 不要な領域のマーキングに使われるマスク。
maskOutput 1回の反復後のマスク。
firstStop もし関数は、最初の問題が現れたときに-1を返します。の場合はfalseの場合は,処理が終了し,すべての問題の総和が返されます.

この関数は,F-transfrom と逆 F-transfotm の反復計算を行い,画像とマスクの変更を処理します.この関数はft::inpaint関数によってローカルに保存されたすべての記述子をデータセットに挿入して更新する.

FT02D_process()

CV_EXPORTS_W void cv::ft::FT02D_process ( InputArray matrix,
InputArray kernel,
OutputArray output,
InputArray mask = noArray()
)

以下を計算します。$F^0$-逆変換を計算します。$F^0$-transfrom を一度に計算します.

引数
matrix 入力行列.
kernel 処理に利用されるカーネル.関数ft::createKernelを使用することができます.
output 出力 32-bit float 配列。
mask 不要な領域のマーキングに使われるマスク。

この関数は,F-transfromと逆F-transfotmを1ステップで計算します.に完全に対応し,最適化されています. cv::Mat .