Skip to main content

Scaler

NameTypeDescription
kindenum                          
default
zscale
The type of scaling to be applied.
default: default
algorithmenum                          
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_algorithmenum                          
bilinear
bicubic
nearest_neighbor
lanczos
bicubic_spline
spline16
spline36
sinc
The algorithm to be used for up-scaling operations.
downscale_algorithmenum                          
bilinear
bicubic
nearest_neighbor
lanczos
bicubic_spline
spline16
spline36
sinc
The algorithm to be used for down-scaling operations.
config_stringstringThe configuration string to be used with the specified scaling function.
apply_alwaysbooleanAlways 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
}
}
}
}