Presentation and options Dialog box of the application
Syntax

Presentation and options

This application performs conversions between different color spaces. For example, it can convert a byte image with a color palette (8-bit color encoding) into three separate byte images (R, G, and B bands, representing 24-bit color encoding). It can also convert three byte images representing the R, G, and B bands into an 8-bit (byte) image with an optimized color palette, obtained by analyzing the most frequent and distinctive colors present in the three source images. Alternatively, the 8-bit image can be generated using a predefined color palette. This algorithm is the same as the one used in MiraMon (under the "File | Open raster | Open 24-bit raster as 8-bit"), which also provides additional functionality not available in this application.

Finally, this application also converts images from the RGB color space to the HSI (Hue, Saturation, Intensity) color space and vice versa. This process is useful for performing operations in the HSI color space, such as contrast enhancement, before converting the image back to RGB. It can also be used to convert an RGB image into a grayscale image by retaining the intensity (I) band and discarding the hue (H) and saturation (S) bands. In this case, both RGB and HSI files must also be in byte format (compressed or uncompressed). The application therefore provides the following options:


Dialog box of the application

RGBPal dialog box


Syntax

Syntax:

Options:

Parameters:

Modifiers: