Need better scanning performance?
TransformGrayscaleStage
TransformGrayscaleStage transforms the grayscale image. In JSON, it is represented as a Stage object with "Stage": "SST_TRANSFORM_GRAYSCALE".
JSON Structure
Location in template:
ImageParameterOptions[i]
└── ApplicableStages[j] (Stage object where Stage = "SST_TRANSFORM_GRAYSCALE")
Parent object: ApplicableStages within ImageParameter
Example:
{
"Stage": "SST_TRANSFORM_GRAYSCALE",
"GrayscaleTransformationModes": [
{
"Mode": "GTM_ORIGINAL"
}
]
}
- This snippet shows a Stage object configured for transforming grayscale images.
- To use it, add this object to the
ApplicableStagesarray within an ImageParameter.- For the complete JSON structure, see:
Parameters
Stage
Specifies the stage type. Fixed value: SST_TRANSFORM_GRAYSCALE.
| Parameter Details |
|---|
| Type string |
| Required Yes |
Default Value"SST_TRANSFORM_GRAYSCALE" |
GrayscaleTransformationModes
Defines how to transform the grayscale image. See GrayscaleTransformationModes for details.