How would you encode missing pixels in image data?
You'd substitute a statistical aggregator, such as the median or mean, for the missing data. Calculating the aggregator for a neighborhood region would &quot;smooth out&quot; the missing pixels.
You wouldn't set it to -1 because lost pixels are effectively noise, which you want to suppress, not exaggerate.