This task creates pyramid files for rasters. Pyramids are copies of the data at various reduced resolutions, used to speed image display.
Example
e = ENVI()
File = Filepath('qb_boulder_msi', Subdir=['data'], $
Root_Dir=e.Root_Dir)
Raster = e.OpenRaster(File)
Task = ENVITask('BuildRasterPyramids')
Task.INPUT_RASTER = Raster
Task.Execute
Print, Raster.PYRAMID_EXISTS
Syntax
Result = ENVITask('BuildRasterPyramids')
Input properties (Set, Get): INPUT_RASTERS, INCLUDE_FULL_RESOLUTION
Output properties (Get only): None
Properties marked as "Set" are those that you can set to specific values. You can also retrieve their current values any time. Properties marked as "Get" are those whose values you can retrieve but not set.
Methods
This task inherits the following methods from ENVITask:
AddParameter
Execute
Parameter
ParameterNames
RemoveParameter
Properties
This task inherits the following properties from ENVITask:
COMMUTE_ON_DOWNSAMPLE
COMMUTE_ON_SUBSET
DESCRIPTION
DISPLAY_NAME
NAME
REVISION
TAGS
This task also contains the following properties:
INPUT_RASTERS (required)
Specify an array of rasters from which to build the pyramid files.
INCLUDE_FULL_RESOLUTION (optional)
Set this property to have the pyramid include the full-resolution level.
Version History
API Version
4.3
See Also
ENVITask, ENVITask::Parameter,