To find the slope and aspect from digital elevation model image file
Show older comments
Respected, I have tried to read the DEM image file in .tif format and tried to calculate the slope of the particular image. I could not get the appropriate function to calculate the slope as well as the aspect of the image.
Thank You.
1 Comment
Star Strider
on 21 Apr 2014
You started with a 3D Digital Elevation Model file and flattened it to 2D. Unless I’m missing something here, the slope of your .tif file is uniformly zero.
Answers (1)
José-Luis
on 21 Apr 2014
doc gradient
Categories
Find more on Image Filtering and Enhancement in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!