Visionbase is a clean C implementation of lots image processing and recognition algorithms.