Amazon interview question

process an image for image processing