Saturday, June 19, 2004

Matlab commands

1. 2D DFT: F=fft2(f); Fc=fftshift(F); S2=log(1+abs(Fc)); imshow(S2,[]);
2. Extract the three component iimages: fR=rgb_image(:,:, 1);fG=rgb_image(:,:, 2);fB=rgb_image(:,:, 3);

No comments:

Post a Comment