quick smoothing
h = fspecial('average', filterSize);
imageData = imfilter(imageData, h, 'replicate');
in my matlab code i apply averaging filter to an image.
I saw this article for openCV smoothing: http://docs.opencv.org/doc/tutorials/... since i need it to be bit accurate, can you suggest some smoothing function which is bit accurate to matlab?