The ImageProcessor class