norm allows to normalize an image or a cube with respect to their average, flux, absolute flux. It can also normalize all pixel values to the interval in [0..1], or scale all fluxes to a given value.
norm man page