SAGA 9.4.2 | Tool Library Documentation

Change Color Format


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

 NameTypeIdentifierDescriptionConstraints
InputTabletable, inputTABLEThe input table.-
OutputOutputtable, output, optionalOUTPUTThe output table.-
Outputshapes, output, optionalOUTPUT_SHPThe output shapes.-
Outputpoint cloud, output, optionalOUTPUT_PCThe output point cloud.-
OptionsRGBtable fieldFIELD_RGBThe field with RGB coded values.-
Redtable fieldFIELD_REDThe field with R values.-
Greentable fieldFIELD_GREENThe field with G values.-
Bluetable fieldFIELD_BLUEThe field with B values.-
Mode of OperationchoiceMODEChoose the mode of operation.Available Choices: [0] RGB to R, G, B [1] R, G, B to RGB Default: 0
Attribute SuffixtextATTR_SUFFIXOptional suffix for output attribute names.-
Color DepthchoiceCOLOR_DEPTHChoose 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
NormalizationchoiceNORM-Available Choices: [0] none [1] minimum - maximum [2] standard deviation Default: 0
Percentfloating point numberNORM_RANGE-Minimum: 0.000000 Maximum: 50.000000 Default: 0.000000
Standard Deviationfloating point numberNORM_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