1. A method, comprising: a recording medium in an imager recording image data that represents an image; a motion sensor measuring motion information while the recording medium is capturing the image data, wherein the motion information indicates motion of the imager; a processor determining a transfer function based on the motion information; the processor determining an initial state for an inverse transfer function; the processor updating the inverse transfer function using an iterative technique, wherein the iterative technique includes, for each of a plurality of iterations: determining a first estimate of the image data based on the inverse transfer function and a finite impulse response (FIR) filter; determining a second estimate of the image data based on the first estimate of the image data and the transfer function; determining an estimation error parameter by comparing the second estimate of the image data and the image data; and updating the inverse transfer function based on the estimation error parameter and a step-size parameter; the processor determining a deconvolution filter based on the inverse transfer function; and the processor filtering the image data using the deconvolution filter.