Figure 2: Example image from the BioID face database [18]. The original image (a) is first rotated based on the eye locations (b). The resulting image is scaled, eye locations are fixed, and a pixel face region is extracted ((c) left). The lighting is normalized ((c) middle) and the face is divided into rectangular regions ((c) right). LBP histograms are computed for each region separately and combined into a spatially enhanced histogram.