Image data in an image scanner is examined to determine whether lines
(light or dark) are present in the image data. By examining whether the
lines are present in image data for multiple colors, and whether
calibration gains for corresponding photosensors are normal, it can be
determined whether the lines are likely caused by a surface defect, on a
calibration target, or on a platen, or on an image being scanned.