shade
From DavinciWiki
Contents: Description, Arguments, Usage, Examples, Images, Related Functions Supported Under Version: > 1.71 Current Davinci Version: 2.27 64-bit Safe: Yes
Description Used to shade DEM data Takes an input DEM and sun orientation and illuminates the DEM
Arguments and Return Values Inputs: DEM, sun orientation Outputs: shaded relief data
Usage Syntax: flood_fill(object=VAL [,angle=FLOAT] [,azimuth=FLOAT] [,scale=FLOAT]) 'object' is the input DEM 'angle' is the elevation angle in degrees, measured from up (Default=45) 'azimuth' is the sun azimuth in degrees with vertical at 90 (Default=45) 'scale' the size of a pixel relative to a DN of height (Default=1)
Examples Perform the shade on DEM data dv> a 4149x4075x1 array of short, bsq format [33,814,350 bytes] dv> b=shade(a,angle=45,azimuth=150,scale=20000) Sun vector: -0.8660 0.5000 0.7071 4149x4075x1 array of float, bsq format [67,628,700 bytes]
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 07-06-2009 |