Tool Change Color Format
This tool allows one to convert table fields with RGB coded values to separate R, G, B components and vice versa. The tool can process attributes of tables, shapes or point clouds.
- Author: V.Wichmann (c) 2013-2023
- Menu: Table|Tools
Parameters
Name | Type | Identifier | Description | Constraints | |
---|---|---|---|---|---|
Input | Table | table, input | TABLE | The input table. | - |
Output | Output (*) | table, output, optional | OUTPUT | The output table. | - |
Output (*) | shapes, output, optional | OUTPUT_SHP | The output shapes. | - | |
Output (*) | point cloud, output, optional | OUTPUT_PC | The output point cloud. | - | |
Options | RGB | table field | FIELD_RGB | The field with RGB coded values. | - |
Red | table field | FIELD_RED | The field with R values. | - | |
Green | table field | FIELD_GREEN | The field with G values. | - | |
Blue | table field | FIELD_BLUE | The field with B values. | - | |
Mode of Operation | choice | MODE | Choose the mode of operation. | Available Choices: [0] RGB to R, G, B [1] R, G, B to RGB Default: 0 | |
Attribute Suffix | text | ATTR_SUFFIX | Optional suffix for output attribute names. | - | |
Color Depth | choice | COLOR_DEPTH | Choose the color depth of the red, green, blue values, either 8 bit [0-255] or 16 bit [0-65535]. | Available Choices: [0] 8 bit [1] 16 bit Default: 0 | |
Normalization | choice | NORM | - | Available Choices: [0] none [1] minimum - maximum [2] standard deviation Default: 0 | |
Percent | floating point number | NORM_RANGE | - | Minimum: 0.000000 Maximum: 50.000000 Default: 0.000000 | |
Standard Deviation | floating point number | NORM_STDDEV | - | Minimum: 0.000000 Default: 2.000000 | |
(*) optional |
Command-line
Usage: saga_cmd table_tools 9 [-TABLE <str>] [-OUTPUT <str>] [-OUTPUT_SHP <str>] [-OUTPUT_PC <str>] [-FIELD_RGB <str>] [-FIELD_RED <str>] [-FIELD_GREEN <str>] [-FIELD_BLUE <str>] [-MODE <str>] [-ATTR_SUFFIX <str>] [-COLOR_DEPTH <str>] [-NORM <str>] [-NORM_RANGE <double>] [-NORM_STDDEV <double>] -TABLE:<str> Table table, input -OUTPUT:<str> Output table, output, optional -OUTPUT_SHP:<str> Output shapes, output, optional -OUTPUT_PC:<str> Output point cloud, output, optional -FIELD_RGB:<str> RGB table field -FIELD_RED:<str> Red table field -FIELD_GREEN:<str> Green table field -FIELD_BLUE:<str> Blue table field -MODE:<str> Mode of Operation choice Available Choices: [0] RGB to R, G, B [1] R, G, B to RGB Default: 0 -ATTR_SUFFIX:<str> Attribute Suffix text -COLOR_DEPTH:<str> Color Depth choice Available Choices: [0] 8 bit [1] 16 bit Default: 0 -NORM:<str> Normalization choice Available Choices: [0] none [1] minimum - maximum [2] standard deviation Default: 0 -NORM_RANGE:<double> Percent floating point number Minimum: 0.000000 Maximum: 50.000000 Default: 0.000000 -NORM_STDDEV:<double> Standard Deviation floating point number Minimum: 0.000000 Default: 2.000000