To blur an image of a mandrill in Matlab, you can follow these steps:
imread
functionrgb2gray
functionfspecial
functionimfilter
functionHere's the code:
main.m374 chars22 lines
You can adjust the size and standard deviation of the Gaussian filter to control the amount of blur in the image.
gistlibby LogSnag