#
# NEED_PARMS amount
#
# HELP: SYNOPSIS:
# HELP:     generic/convert/greyshift amount
# HELP:
# HELP: DESCRIPTION:
# HELP:     Shift the greyscale values by amount. HU conversion factors get
# HELP:     updated accordingly.
#
SET_SET 0 0-255
GREYADD ${(int)$argv[1]}
CECHO ${$root.vol[current].meta.hu.offset=$root.vol[current].meta.hu.offset-(int)$argv[1]*$root.vol[current].meta.hu.factor}
