Space Variant Bluring

asked 2017-02-14 12:23:51 -0500

Goutham gravatar image

Hi all, I want to apply gaussian blur with each pixel having separate sigma values. That is, i have a sigma matrix with size, same as the image. Any idea?

edit retag flag offensive close merge delete

Comments

You have to sum the result of multiply kernel by image neighborhood

sum(kernel.mul(img(Range(i-1,i+2),Range(j-1,j+2)))

kernel must be symetric

LBerger gravatar imageLBerger ( 2017-02-14 15:45:02 -0500 )edit