XE33PVR::Assignment 3

Image replacement with illumination estimation

Download the following images to your local directory:

Use http://cmp.felk.cvut.cz/~wbsdemo/demo/ to obtain multiple correspondences for the image pair. Estimate the image to image transformation H. Try to get the transformation as precise as possible.
Use the transformation H to transform the original image to the picture of the photograph on the table.
Estimate illumination in each pixel. First, average the intensities over a neighbourhood of each pixel (usue function conv2). Experiment with the size of the averaging area. Let A be the intensity function of the original image and At of the transformed image. Estimate the illumination as Ilum = At ./ A. [2 points]
Use the transformation H to replace the photograph by a differen one. [1 point]
Apply the estimated illumination change. [2 points]

[XE33PVR labs | Responsible: Ondrej Chum ]
Last modified 24 Nov 2008.