Change Color Format
- Author: V.Wichmann (c) 2013-2023
- Menu: Table | Tools
Description
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.
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 | 
Command Line
Usage: saga_cmd table_tools 9 [-TABLE ] [-OUTPUT ] [-OUTPUT_SHP ] [-OUTPUT_PC ] [-FIELD_RGB ] [-FIELD_RED ] [-FIELD_GREEN ] [-FIELD_BLUE ] [-MODE ] [-ATTR_SUFFIX ] [-COLOR_DEPTH ] [-NORM ] [-NORM_RANGE ] [-NORM_STDDEV ]
  -TABLE:         	Table
	table, input
  -OUTPUT:        	Output
	table, output, optional
  -OUTPUT_SHP:    	Output
	shapes, output, optional
  -OUTPUT_PC:     	Output
	point cloud, output, optional
  -FIELD_RGB:     	RGB
	table field
  -FIELD_RED:     	Red
	table field
  -FIELD_GREEN:   	Green
	table field
  -FIELD_BLUE:    	Blue
	table field
  -MODE:          	Mode of Operation
	choice
	Available Choices:
	[0] RGB to R, G, B
	[1] R, G, B to RGB
	Default: 0
  -ATTR_SUFFIX:   	Attribute Suffix
	text
  -COLOR_DEPTH:   	Color Depth
	choice
	Available Choices:
	[0] 8 bit
	[1] 16 bit
	Default: 0
  -NORM:          	Normalization
	choice
	Available Choices:
	[0] none
	[1] minimum - maximum
	[2] standard deviation
	Default: 0
  -NORM_RANGE: 	Percent
	floating point number
	Minimum: 0.000000
	Maximum: 50.000000
	Default: 0.000000
  -NORM_STDDEV:	Standard Deviation
	floating point number
	Minimum: 0.000000
	Default: 2.000000