Photons and sensors. How digital sensors work, CCD vs CMOS, microlenses and antialiasing, color sensing technologies.