Brightness correction and image enhancement are derived to compensate for
changes in captured image data by hardware scanners and the like by
statistically measuring the captured data and generating or selecting a
compensation quantization table to be substituted in image data encoded
for compression. Three techniques of compensation usable singly or in
combination are provided which may be used in combination with techniques
for dynamic range reduction for extreme compression. Thus, improved
images which may be enhanced in any desired manner, for example, to
conform to an established image standard, may be derived from data having
sufficient compression to allow economically acceptable long-term storage
in high-speed access storage media even though the data captured is
degraded in dynamic range, brightness and the like.