Computational Photography Project 0: Pixel Power!


David Wang, Fall 2010


All photos shot by David Wang
What are two ways to remove the high frequencies from an image? Remove the high frequencies from an image, trying out both ways. For the first way, you can use the functions ifft2 and fft2. Multiplying the Fourier transform of the image by the mask works because it zeroes out everything we don't want, i.e. the high frequencies.

fftshift of original:
For the second way, you can use fspecial to get a gaussian mask and then apply it with conv2. Using Matlab's built in functions is much easier!
Sharpen an image using fspecial('unsharp') and imfilter I used the replicate option with imfilter to create a sharpened image with reasonable borders.
Insert a ghost into an image, however you'd like. Using a dark picture of a face I shot, I applied a Gaussian blur to it and added it to the image of the Washington Monument.
Reveal hidden nightlife in a dark image, using either histeq or a gamma transformation. Nothing too technically exciting here, but I shot a picture specifically to reveal a surprise head when histeq was run on it.