Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Clone Gaussian Filter of Photoshop

I tried Gaussian Blur of OpenCV. But it shows different result from Photoshop. For example, I was asked to input radius in Photoshop. So I typed 25.

And by using OpenCV, I coded as follows.

cv::Mat cvMat = cv::imread("1.jpg"); // this image is a grayscale image.
cv::Mat gb;
cv::GaussianBlur(cvMat , gb, cv::Size(25*2+1, 25*2+1), 25);

But I got different result. So I tried 50, instead of 25 and after that, I saw similar result, but still different. What should I do to get the same result as Photoshop Gaussian Filter?

Thank you.