various basic image processing techniques implemented in Java