Scaler
Name | Type | Description |
---|---|---|
kind | enum default zscale | The type of scaling to be applied. default: default |
algorithm | enum bilinear bicubic nearest_neighbor lanczos bicubic_spline spline16 spline36 sinc | The algorithm to be used for scaling operations. This will apply to both up-scale and down-scale. These may be set separately using the upscale_algorithm and downscale_algorithm parameters. |
upscale_algorithm | enum bilinear bicubic nearest_neighbor lanczos bicubic_spline spline16 spline36 sinc | The algorithm to be used for up-scaling operations. |
downscale_algorithm | enum bilinear bicubic nearest_neighbor lanczos bicubic_spline spline16 spline36 sinc | The algorithm to be used for down-scaling operations. |
config_string | string | The configuration string to be used with the specified scaling function. |
apply_always | boolean | Always use the specified scaling function. |
Example scaler
{
"uid": "analyze_task",
"kind": "analyze",
"payload": {
"source_pipeline": {
"scaler": {
"kind": "zscale",
"config_string": "dither=error_diffusion",
"apply_always": true
}
}
}
}