Example: TD_DWT2D with a Known Wavelet
EXECUTE FUNCTION
INTO ART (a1)
TD_DWT2D
(
MATRIX_SPEC (
TABLE_NAME (dataTable1),
MATRIX_ID (id),
ROW_AXIS (SEQUENCE (y)),
COLUMN_AXIS (SEQUENCE (x)),
PAYLOAD (
FIELDS (v),
CONTENT (REAL)
)
),
FUNC_PARAMS (
WAVELET ('haar')
)
);
Example: TD_DWT2D with a Custom Filter
EXECUTE FUNCTION
INTO ART (a1)
TD_DWT2D
(
MATRIX_SPEC (
TABLE_NAME (dataTable1),
MATRIX_ID (id),
ROW_AXIS (SEQUENCE (y)),
COLUMN_AXIS (SEQUENCE (x)),
PAYLOAD (
FIELDS (v),
CONTENT (REAL)
)
),
SERIES_SPEC (
TABLE_NAME (filterTable),
SERIES_ID (id),
ROW_AXIS (SEQUENCE (seq)),
PAYLOAD (
FIELDS (lo, hi),
CONTENT (MULTIVAR_REAL)
)
)
WHERE id = 1,
INPUT_FMT (INPUT_MODE (MANY2ONE))
);