COMPSCI 194-26: Computer Vision and Computational Photography

Varun Saran

Links

Home

The following is an overview of each project. Click the links on the left to read more about each project, see some implementation details, and more examples.

Project 1: Colorizing Images

Black and White R,G,B channels
Naive stacking of the 3 channels results in a blurry, miscolored image with artifacts
Using image pyramids and normalized cross correlation (NCC) scores to align the channels and create a color image.

Project 2: Image Hybridization and Multi-Resolution Blending

Image Hybridization

Source 1
Source 2

By filtering out low frequencies on 1 image, and high frequencies on the other image, we can create a hybrid image. From close by (or when the image is big), this looks like the first image, and from far away (when the image is small) it looks like the second image. Here is the exact same image twice, scaled to different sizes so they look like completely different images.

Hybrid image (big)
small

Project 3: Facial Morphing

By selecting facial feature correspondences, we can morph one face into another.

Morphing from one face to another

Project 4: Auto-Stitching Images

Using the Harris interest point detector, we find all corners in 2 images. We then use feature descriptors and RANSAC to find corresponding corners in both images. Once we have enough points, we use least squares to find the transformation matrix defining the homography, and can then stitch the 2 images together.

Source 1
Source 2
Auto-stitched image

Project 5: Facial Keypoint Detection

I trained a neural net to detect 58 keypoints on any human face

Final Project: AR and Gradient Domain Fusion

Part 1: AR

Using the Harris corner detector, I tracked corners in a video. With a known transformation between each frame, I then used image projection to project an AR cube onto a 2D video of the world.

Part 2: Gradient Domain Fusion

Gradient Domain Fusion is matching the gradients of 2 images, so they can be smoothly blended without any high frequency seams that stand out.