DEM to volumetiric

version (1.28 KB) by Dimitris
converts a Digital Elevation Model (or 2.5D data) to a volumetric raster (or true 3D data)


Updated 22 Feb 2010

View License

In a DEM height information is strored as h(x,y). This scripts converts h(x,y) to I(x,y,z) based on

(a) if z < h(x,y) then I(x,y,z) = 1
(b I(x,y,z) = 0 otherwise.

Cite As

Dimitris (2022). DEM to volumetiric (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: boxcount

Community Treasure Hunt

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

Start Hunting!