MATLAB: How i can do sub-sampling for an image with factor 4

sub-sampling

to perform sub-sampling using matlab

Best Answer

hi ,
you can use the function " downsample" twice ,
example :
I=imread('circuit.tif');
J=downsample(I,4);
J=downsample(J',4)';
whos I J
imshow(J)
figure, imshow(I)
Size(I)= 4² * Size(J) .