OpenCV  3.1.0
Open Source Computer Vision
Functions
Math with F0-transfrom support

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...
 

Detailed Description

Fuzzy transform (F-transform) of the 0th degree transform whole image to a vector of its components. These components are used in latter computation.

Function Documentation

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

Computes components of the array using direct F0-transform.

Parameters
matrixInput 1-channel array.
kernelKernel used for processing. Function createKernel can be used.
componentsOutput 32-bit array for the components.
maskMask can be used for unwanted area marking.

The function computes components using predefined kernel and mask.

Note
F-transform technique is described in paper [113].
void cv::ft::FT02D_components ( InputArray  matrix,
InputArray  kernel,
OutputArray  components 
)

Computes components of the array using direct F0-transform.

Parameters
matrixInput 1-channel array.
kernelKernel used for processing. Function createKernel can be used.
componentsOutput 32-bit array for the components.

The function computes components using predefined kernel.

Note
F-transform technique is described in paper [113].
void cv::ft::FT02D_inverseFT ( InputArray  components,
InputArray  kernel,
OutputArray  output,
int  width,
int  height 
)

Computes inverse F0-transfrom.

Parameters
componentsInput 32-bit array for the components.
kernelKernel used for processing. Function createKernel can be used.
outputOutput 32-bit array.
widthWidth of the output array.
heightHeight of the output array.
Note
F-transform technique is described in paper [113].
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.

Parameters
imageInput image.
kernelKernel used for processing. Function createKernel can be used.
imageOutputOutput 32-bit array.
maskMask used for unwanted area marking.
maskOutputMask after one iteration.
firstStopIf 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.

Parameters
imageInput image.
kernelKernel used for processing. Function createKernel can be used.
outputOutput 32-bit array.
maskMask 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.