pamshadedrelief
Generate a shaded relief from an elevation map.
TLDR
Generate a shaded relief image with the input image interpreted as an elevation map
$ pamshadedrelief < [path/to/input.pam] > [path/to/output.pam]
Gamma adjust the image by the specified factor
$ pamshadedrelief -gamma [factor] < [path/to/input.pam] > [path/to/output.pam]