1. A method of processing an input image comprising a plurality of input pixels, said method comprising: obtaining a description of an irregular scan path, the description comprising an integer offset value and a fractional offset value for each of a plurality of pixel locations on the irregular scan path, wherein the integer offset value represents a distance in number of pixels from a baseline, excluding a fractional remainder of the distance beyond an integer number of pixels, and the fractional offset value represents the fractional remainder; producing a plurality of adjusted pixels, comprising, for each of the input pixels: correlating a location of the input pixel with a pixel location on the irregular scan path; and calculating an adjusted pixel corresponding to the input pixel based on (i) a value of the input pixel, (ii) the correlated pixel location on the irregular scan path, (iii) the fractional offset value for the correlated pixel location on the irregular scan path, and (iv) values of one or more input pixels near the input pixel; and producing an output line by retrieving one or more subsets of sequential adjusted pixels, each subset having adjusted pixels which correspond to a same integer offset value.