Need better scanning performance?
ConvertToGrayscaleStage
ConvertToGrayscaleStage converts a colour image to a grayscale image. In JSON, it is represented as a Stage object with "Stage": "SST_CONVERT_TO_GRAYSCALE".
JSON Structure
Location in template:
ImageParameterOptions[i]
└── ApplicableStages[j] (Stage object where Stage = "SST_CONVERT_TO_GRAYSCALE")
Parent object: ApplicableStages within ImageParameter
Example:
{
"Stage": "SST_CONVERT_TO_GRAYSCALE",
"ColourConversionModes": [
{
"Mode": "CICM_GENERAL"
}
]
}
- This snippet shows a Stage object configured for converting to grayscale.
- 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_CONVERT_TO_GRAYSCALE.
| Parameter Details |
|---|
| Type string |
| Required Yes |
Default Value"SST_CONVERT_TO_GRAYSCALE" |
ColourConversionModes
Defines how to convert a colour image to a grayscale image. See ColourConversionModes for details.