The PREDICTOR command applies one of a choice of simple ``predictors'' to the current ROI. The output is in the ``memory''. Predictors are an important part of data compression algorithms for image data. The idea of a predictor is to predict the value of a pixel from surrounding pixels. If the predictor algorithm works well the number of bits needed to store the difference between the predictions and the actual data is less than the number of bits needed to store the raw data values. Thus they can greatly help in data compression.
A choice of eleven different predictors is provided:
If is the current pixel, and are the ``previous'' pixels as shown:
a x c b d
This is used to investigate data compression algorithms.