Interpolation2d
Slice image interpolation mode for the 2D slice views. Available values: - Nearest: Nearest-neighbor interpolation (blocky, no smoothing). - Linear: Linear interpolation (smooth). - Cubic: Cubic interpolation (smoothest).
Import
import ScriptingApi as api
# Access the class
# Interpolation2d is available via api.Interpolation2d
Enumeration Values
Enumeration Mode from Interpolation2d
| Value | Description |
|---|---|
Interpolation2d.Nearest | Nearest option |
Interpolation2d.Linear | Linear option |
Interpolation2d.Cubic | Cubic option |
Usage Example
import ScriptingApi as api
# Access enumeration values
value = api.Interpolation2d.Nearest