An application framework for image processing