Code for local feature extraction (colorsift)