an image processing pipeline