1. A method of image processing comprising: projecting pixels in a pixel grid onto a detector having a plurality of bins, or vice versa; dynamically adjusting a dimension of a square window for one of a pixel and a detector bin so that adjacent windows form a continues shadow over one of the detector bins of the detector and the image pixels; and determining the effect of each pixel on each bin of the detector or vice versa.