OpenCV
3.1.0-dev
Open Source Computer Vision
|
Functions | |
void | cv::ft::createKernel (cv::InputArray A, cv::InputArray B, cv::OutputArray kernel, const int chn=1) |
Creates kernel from basic functions. More... | |
void | cv::ft::createKernel (int function, int radius, cv::OutputArray kernel, const int chn=1) |
Creates kernel from general functions. More... | |
void | cv::ft::filter (const cv::Mat &image, const cv::Mat &kernel, cv::Mat &output) |
Image filtering. More... | |
void | cv::ft::inpaint (const cv::Mat &image, const cv::Mat &mask, cv::Mat &output, int radius=2, int function=ft::LINEAR, int algorithm=ft::ONE_STEP) |
Image inpainting. More... | |
Image proceesing based on F-transform is fast to process and easy to understand.
void cv::ft::createKernel | ( | cv::InputArray | A, |
cv::InputArray | B, | ||
cv::OutputArray | kernel, | ||
const int | chn = 1 |
||
) |
Creates kernel from basic functions.
A | Basic function used in axis x. |
B | Basic function used in axis y. |
kernel | Final 32-b kernel derived from A and B. |
chn | Number of kernel channels. |
The function creates kernel usable for latter fuzzy image processing.
void cv::ft::createKernel | ( | int | function, |
int | radius, | ||
cv::OutputArray | kernel, | ||
const int | chn = 1 |
||
) |
Creates kernel from general functions.
function | Function type could be one of the following:
|
radius | Radius of the basic function. |
kernel | Final 32-b kernel. |
chn | Number of kernel channels. |
The function creates kernel from predefined functions.
Image filtering.
image | Input image. |
kernel | Final 32-b kernel. |
output | Output 32-bit image. |
Filtering of the input image by means of F-transform.
void cv::ft::inpaint | ( | const cv::Mat & | image, |
const cv::Mat & | mask, | ||
cv::Mat & | output, | ||
int | radius = 2 , |
||
int | function = ft::LINEAR , |
||
int | algorithm = ft::ONE_STEP |
||
) |
Image inpainting.
image | Input image. |
mask | Mask used for unwanted area marking. |
output | Output 32-bit image. |
radius | Radius of the basic function. |
function | Function type could be one of the following:
|
algorithm | Algorithm could be one of the following:
|
This function provides inpainting technique based on the fuzzy mathematic.