1. A device implemented method of using deconvolution to deblur a blurred digital image, the device comprising a processor and memory storing the blurred digital image, the method comprising: computing, by the processor, a local two-color model of the blurred digital image, the two-color model stored in the memory and modeling the pixels of the blurred digital image as respective local combinations of two colors, the two-color model comprising a model such that, for a given pixel, the given pixel is modeled as a combination of two colors local to the given pixel in the blurred image; generating, by the processor, a deblurred image stored in the memory and corresponding to the blurred digital image by deconvolving the blurred digital image with a blur kernel using the two-color model as a prior to constrain the deconvolution.