1. A method comprising: selecting a first set of image pixels of an input image and a second set of image pixels of the input image based at least in part on a context of the image pixels, where the second set of image pixels is less than all of the image pixels of the input image; processing the first set of image pixels using hardware based processing to provide a first set of processed pixels, where hardware based processing is performed by performing fixed hardwired operations on the image pixels of first set; processing the second set of image pixels using algorithm based processing to provide a second set of processed pixels, where algorithm based processing is performed by executing program instructions to perform operations on the image pixels of second set; and combining the first and second sets of processed pixels to generate an output image.