int scale_volume( header *hdr, void *data, double subtr, double scale, double prescale)
vol = scale*(vol*prescale-subtr)
Range checking is performed for 8 and 16 bit datatypes so that if the result of the scaling operation is outside the range of the datatype, the max/min value is used instead. See volio.h for available data_types.
1.0 15/8-97 Ulrik Kjems