Wednesday, April 4, 2012

How to use Bilateral Filter in Opencv

Here is an example of using the bilateral filter where 21 is the color sigma and and 3 is the spatial sigma

cvSmooth(gray_image_,smoothed_image,CV_BILATERAL, 0,0, 21, 3);

No comments: