a c++ library for image processing