SAGA-GIS Tool Library Documentation (v9.2.0)

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.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputTabletable, inputTABLEThe input table.-
OutputOutput (*)table, output, optionalOUTPUTThe output table.-
Output (*)shapes, output, optionalOUTPUT_SHPThe output shapes.-
Output (*)point 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
(*) 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