Visualize 2D matrix using smooth surf plot, useful for frequency response visualization.
imsmoothsurf(imin,n);
Input Matrix
Number of points to plot
This function used to visualize the 2-D matrix as 3D surf plot with the values as the z-axes value. It is useful to visuallize the filter in frequency domain, and also the frequency response of the images.
f = fspecial('gaussian'); F = fftshift(fft2pad(f,256,256)); imsmoothsurf(abs(F),100); | ![]() | ![]() |