The script calculates an overlay of a color image and a grey scale image.
The script calculates an overlay of a color image and a grey scale image. First, it is checked whether the color image is a palette image. If this is the case, then the image is temporarily converted to a rgb image (temp_RGB.tif).The color image is transformed from the RGB color space to the IHS color space, then the combination of the images is done in the intensity channel. Finally, the result is transformed back into the RGB color space.
The following table contains a list of all involved modules and their default storage location:
OPALS Module | Default Directory | Comments |
GDAL script ptc2rgb.py | .\ | used to convert a palette image to RGB |
Module Algebra | .\ | used to calculate the combined image |