Sample codes for image processing in C++ and Java.