Hillshade

版本 1.0.0.0 (1.5 KB) 作者: Felix Hebeler
calculates a hillshade for a DEM (matrix)
5.2K 次下载
更新时间 2007/5/7

无许可证

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. 检索时间: .

MATLAB 版本兼容性
创建方式 R2006b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Data Import and Export 的更多信息
致谢

启发作品: shadem, demViewer

版本 已发布 发行说明
1.0.0.0

fixed small bug in the options parsing, clearified help.