Hillshade

calculates a hillshade for a DEM (matrix)

您现在正在关注此提交

Function to calculate hillshade for a digital elevation model. Derives slope and aspect in radias to calculate shading value between 0 and 255 using a given lighting angle and altitude.

Altitude (angle above ground) and angle (direction/aspect) of lightsource can be given via args.

Derived using ESRIs hillshade algorithm, but uses simple GRADIENT function instead of Horns algorithm for slope calculation - factor 30 more efficient & no need for IP TB. (Thanks to Andrew Stevens)

Pls leave you feedback/rate.

引用格式

Felix Hebeler (2026). Hillshade (https://ww2.mathworks.cn/matlabcentral/fileexchange/14863-hillshade), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: shadem, demViewer

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0

fixed small bug in the options parsing, clearified help.