Summary
Applies a matrix to a multiband image to affect the color values of the output.
Discussion
For more information about how this function works, see the Spectral Conversion 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.
Syntax
SpectralConversion (raster, conversion_matrix)
Parameter | Explanation | Data Type |
raster | The input raster. This can be a raster dataset within a mosaic dataset or raster catalog, or a raster dataset outside the mosaic dataset. | Raster |
conversion_matrix | The matrix used to convert the input raster. The equation used to perform this conversion is as follows:
where:
| Raster |
Data Type | Explanation |
Raster | The output raster. |