<< cv_fast ComputerVision cv_findcontour >>

ComputerVision >> ComputerVision > cv_filter2D

cv_filter2D

Provides operation of Filtering on Input Images

Calling Sequence

img_ret=cv_filter2D(image,depth,kernel_type,kernel_size)

Arguments

image

It is Input Image which is to be Filtered

depth

the output image depth (-1 to use src.depth()).

kernel_type

It accepts Integer/Float as Input 1->MORPH_RECT 2-> MORPH_ELLIPSE 3-> MORPH_CROSS

kernel_size

It accepts a list as input specifying the size of Kernel needed example (5,5)

img_ret

Image after filtering

Description

Provides 2D filtering using Kernel.

As in one-dimensional signals, images also can be filtered with various low-pass filters(LPF), high-pass filters(HPF) etc. LPF helps in removing noises, blurring the images etc. HPF filters helps in finding edges in the images.

Examples

image=cv_filter2D(input_image,-1,1,[5,5]);

See Also


Report an issue
<< cv_fast ComputerVision cv_findcontour >>