TD_MATRIX2IMAGE Syntax Elements | Teradata Vantage - TD_MATRIX2IMAGE Syntax Elements - Teradata Vantage

Database Unbounded Array Framework Time Series Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
ncd1634149624743.ditamap
dita:ditavalPath
ruu1634160136230.ditaval
dita:id
ncd1634149624743
MATRIX_SPEC
Specify the MATRIX_SPEC of the matrix. Multiple payloads are supported, and each payload column is transformed independently. Only REAL or MULTIVAR_REAL payload content types are supported.
FUNC_PARAMS
Name Data Type Description
IMAGE VARCHAR [Optional] The image output format. It can be PNG or JPG. The default is PNG.
TYPE VARCHAR [Optional] The type of the image. It can be GRAY, RGB or COLORMAP.
  • GRAY has a single payload. The output image is a gray scale image.
  • RGB has three payloads corresponding to RED, GREEN and BLUE channels. The output image is a RGB color image.
  • COLORMAP has a single payload. The output image is a RGB color image.

If there is a single payload, then the default type is GRAY. If there are three payloads, then the default type is RGB.

COLORMAP VARCHAR [Optional] The colormap to use when the TYPE is COLORMAP. The values corresponds to the COLORMAP of TD_PLOT. If not specified, then the default colormap is viridis.
The value is case-sensitive.
RANGE FLOAT [Optional] The range of the single payload value to be scaled. By default, the MIN and MAX values of the payload are used as the range. Used when TYPE is GRAY or COLORMAP.
RED FLOAT [Optional] The range of the first payload value. By default, the MIN and MAX values of the payload are used as the range. It is only used when TYPE is RGB.
GREEN FLOAT [Optional] The range of the second payload value. By default, the MIN and MAX values of the payload are used as the range. It is only used when TYPE is RGB.
BLUE FLOAT [Optional] The range of the third payload value. By default, the MIN and MAX values of the payload are used as the range. It is only used when TYPE is RGB.
FLIPX Integer [Optional] Indicator to flip the image horizontally. A value of 1 means flip the image. A value of 0 means do not flip the image.
FLIPY Integer [Optional] Indicator to flip the image vertically. A value of 1 means flip the image. A value of 0 means do not flip the image.
INPUT_FMT
[Optional]
OUTPUT_FMT
[Optional] Specify the INDEX_STYLE of the output format. Option is NUMERICAL_SEQUENCE.