OpenCV
3.1.0
Open Source Computer Vision
|
Functions | |
void | cv::ft::FT02D_components (InputArray matrix, InputArray kernel, OutputArray components, InputArray mask) |
Computes components of the array using direct F0-transform. More... | |
void | cv::ft::FT02D_components (InputArray matrix, InputArray kernel, OutputArray components) |
Computes components of the array using direct F0-transform. More... | |
void | cv::ft::FT02D_inverseFT (InputArray components, InputArray kernel, OutputArray output, int width, int height) |
Computes inverse F0-transfrom. More... | |
int | cv::ft::FT02D_iteration (const Mat &image, const Mat &kernel, Mat &imageOutput, const Mat &mask, Mat &maskOutput, bool firstStop=true) |
Computes F0-transfrom and inverse F0-transfrom at once and return state. More... | |
void | cv::ft::FT02D_process (const Mat &image, const Mat &kernel, Mat &output, const Mat &mask) |
Computes F0-transfrom and inverse F0-transfrom at once. More... | |
Fuzzy transform (F-transform) of the 0th degree transform whole image to a vector of its components. These components are used in latter computation.
void cv::ft::FT02D_components | ( | InputArray | matrix, |
InputArray | kernel, | ||
OutputArray | components, | ||
InputArray | mask | ||
) |
Computes components of the array using direct F0-transform.
matrix | Input 1-channel array. |
kernel | Kernel used for processing. Function createKernel can be used. |
components | Output 32-bit array for the components. |
mask | Mask can be used for unwanted area marking. |
The function computes components using predefined kernel and mask.
void cv::ft::FT02D_components | ( | InputArray | matrix, |
InputArray | kernel, | ||
OutputArray | components | ||
) |
Computes components of the array using direct F0-transform.
matrix | Input 1-channel array. |
kernel | Kernel used for processing. Function createKernel can be used. |
components | Output 32-bit array for the components. |
The function computes components using predefined kernel.
void cv::ft::FT02D_inverseFT | ( | InputArray | components, |
InputArray | kernel, | ||
OutputArray | output, | ||
int | width, | ||
int | height | ||
) |
Computes inverse F0-transfrom.
components | Input 32-bit array for the components. |
kernel | Kernel used for processing. Function createKernel can be used. |
output | Output 32-bit array. |
width | Width of the output array. |
height | Height of the output array. |
int cv::ft::FT02D_iteration | ( | const Mat & | image, |
const Mat & | kernel, | ||
Mat & | imageOutput, | ||
const Mat & | mask, | ||
Mat & | maskOutput, | ||
bool | firstStop = true |
||
) |
Computes F0-transfrom and inverse F0-transfrom at once and return state.
image | Input image. |
kernel | Kernel used for processing. Function createKernel can be used. |
imageOutput | Output 32-bit array. |
mask | Mask used for unwanted area marking. |
maskOutput | Mask after one iteration. |
firstStop | If true function returns -1 when first problem appears. In case of false, the process is completed and summation of all problems returned. |
This function computes iteration of F-transfrom and inverse F-transfotm and handle image and mask change. The function is used in inpaint function.
void cv::ft::FT02D_process | ( | const Mat & | image, |
const Mat & | kernel, | ||
Mat & | output, | ||
const Mat & | mask | ||
) |
Computes F0-transfrom and inverse F0-transfrom at once.
image | Input image. |
kernel | Kernel used for processing. Function createKernel can be used. |
output | Output 32-bit array. |
mask | Mask used for unwanted area marking. |
This function computes F-transfrom and inverse F-transfotm in one step. It is fully sufficient and optimized for Mat.