CDIST uses the polynomial coefficients in SDIST.DAT to resample in Y to straighten the corresponding orders.
$ CDIST
(IMage) Image to be corrected for S-distortion [OBJ] -
(YStart) First Y value in range to be corrected [1] -
(YEnd) Last Y value in range to be corrected [250] -
(OUTput) Name of resulting image [OBJ] - OBJC
(MAXdegy) Maximum degree polynomial to be used [5] -