Pedestrian detection in far-infrared daytime images using a hierarchical codebook of SURF