imshade

版本 1.3.0.0 (1.8 KB) 作者: Kelsey Jordahl
Plot shaded relief, optionally using simulated lighting direction
1.3K 次下载
更新时间 2009/11/3

查看许可证

IMSHADE will plot a matrix representing topography as a 3-component color image, with intensity proportional to the magnitude of the topographic slope of each pixel. Optionally, it can take an argument for lighting angle to use the directional slope.

The current colormap will be used, but future changes in the colormap will not alter the image, since it is now displayed as RGB derived from the colormap and shading.

Nondirectional shading usually scales well, though it is not very robust to spikes in the topographic gradient. The normalization used for directional shading does not always yield satisfactory results and may benefit from some tweaking.

Attached screenshot shows a seamount plotted with IMAGESC (no shaded relief) and with IMSHADE.

引用格式

Kelsey Jordahl (2024). imshade (https://www.mathworks.com/matlabcentral/fileexchange/25691-imshade), MATLAB Central File Exchange. 检索来源 .

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

启发作品: shadem

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.3.0.0

Attach corrected screenshot (previous version had incorrect latitude and longitude labels)

1.2.0.0

Add a screenshot

1.0.0.0