<p>A digital image system identifies defective pixels of a digital image sensor based on sensor values of pixels positioned in at least two dimensions on the digital image sensor. The exemplary imaging system includes a buffer for receiving sensor values that are each associated with a pixel in the digital image sensor and electronics for comparing the sensor value associated with a test pixel to the sensor values of pixels positioned in at least two dimensions on the digital image sensor. The electronics determines whether the test pixel is a defective pixel based on the comparison.</p>