Module Change Color Format
This module allows one to convert table fields from SAGA RGB to R, G, B values and vice versa.
- Author: Copyrights (c) 2013 by Volker Wichmann
- Specification: grid
- Menu: Table|Tools
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Table | Table (input) | TABLE | The input table | - |
Output | Output (*) | Table (optional output) | OUTPUT | The output table | - |
Options | SAGA RGB (*) | Table field | FIELD_SAGA_RGB | The field with SAGA RGB values | - |
Red (*) | Table field | FIELD_RED | The field with R values (0-255) | - |
Green (*) | Table field | FIELD_GREEN | The field with G values (0-255) | - |
Blue (*) | Table field | FIELD_BLUE | The field with B values (0-255) | - |
Mode of Operation | Choice | MODE | Choose the mode of operation | Available Choices: [0] SAGA RGB to R,G,B [1] R,G,B to SAGA RGB Default: 0 |
(*) optional |
Command-line
Usage: saga_cmd table_tools 9 -TABLE <str> [-FIELD_SAGA_RGB <str>] [-FIELD_RED <str>] [-FIELD_GREEN <str>] [-FIELD_BLUE <str>] [-OUTPUT <str>] [-MODE <str>]
-TABLE:<str> Table
Table (input)
-FIELD_SAGA_RGB:<str> SAGA RGB
Table field
-FIELD_RED:<str> Red
Table field
-FIELD_GREEN:<str> Green
Table field
-FIELD_BLUE:<str> Blue
Table field
-OUTPUT:<str> Output
Table (optional output)
-MODE:<str> Mode of Operation
Choice
Available Choices:
[0] SAGA RGB to R,G,B
[1] R,G,B to SAGA RGB
Default: 0