This lab gave a good understanding of low-level camera calibration and image processing on raw-image data, such as camera-noise reduction with black level subtraction, debayering and autofocusing. The algorithm for autofocusing was implemented by looking at the response of a localized window thresholded with a Laplacian filter.