A method for run-time streak removal from a scanned image includes
providing a scan line of image data from the scanned image; detecting
corrupted data within the scan line; evaluating image data located in a
neighborhood before and after the corrupted data on the scan line; if the
evaluated image data in the neighborhood is smooth, replacing the
corrupted data with image data determined by a linear interpolation
process; and else if the evaluated image data in the neighborhood is not
smooth, replacing the corrupted data with image data determined by the
linear prediction process. Various techniques can be used to evaluate the
image data located in the surrounding neighborhood. For example, a filter
selection step may be used based on prediction discrepancies.