Resumen
Transforms the pixel values to display the raster data as either a grayscale or an RGB color image based on a color scheme or specific colors in a color map file.
Debate
For more information about how this function works, see the Colormap raster function.
The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.
Sintaxis
Colormap (raster, {Colormap}, {Color Ramp})
Parámetro | Explicación | Tipo de datos |
raster | The input raster. | Raster |
Colormap | The following default color maps are available:
(El valor predeterminado es None) | String |
Color Ramp | Choose a pre-existing color ramp or create your own color scheme. Can be a string specifying color ramp name such as Black To White, Yellow To Red, Slope, or other color ramp names supported in ArcGIS AllSource For more information about color ramp objects, see Color ramp objects. (El valor predeterminado es None) | String |
Tipo de datos | Explicación |
Raster | The output raster. |