Document Scanner

This project was done as a course project of the Digital Image Processing course in a team of three. We implemented a paper of Stanford university.

We successfully reconstructed a document by taking multiple overlapping images of it. This procedure is used when the size of the document to be scanned is very large to fit in one image without compromising on the resolution.

Original

Original

Reconstructed

Reconstructed

The images were aligned after calculating a homography matrix for each image and were then stiched together using a slightly modified standard stiching technique. Post-processing steps included Gain compensation (to equalise the intensities of all the constituent images) and multi-band blending (to remove the prominent edges left over even after Gain compensation).

Feel free to go through the code and the report of the project here.