data set:
1. pico nonface : https://googledrive.com/host/0Bw4IT5ZOzJj6NXlJUFh0UGZCWmc
2. genki face : http://mplab.ucsd.edu/~nick/GENKI-R2009a.tgz
command line:
$./genki -f ~/cv/dataset/GENKI/GENKI-R2009a/ -n ~/cv/dataset/nonface/pico -r rid -R non

It will generate the grey scale bmp file and it's Raw Intensity Data File.
rid face : rid and it's bmp file with a bounding box for a face
rid nonface:rid file and it's bmp file. The EXIF is ignored due to poor openCV
cvLoadImage, cvSaveImage.