I want to downsample a 49x49 image into 7x7 image using gaussian filter of 31x31. The alternate approach I tried (but not getting the accurate result) is as follows.
Any help is very much appreciated.
with regards, Venkat
I = imresize(imread('pout.tif'),[49 49]);
hgausspymd = video.Pyramid;
hgausspymd.PyramidLevel = 3;
I_down = mat2gray(double(step(hgausspymd, I)));