ImageInterpolationMethod
Image interpolation methods used during resampling. Nearest => Use the nearest voxel value. Linear => Use linear interpolation. Cubic => Use cubic interpolation.
Import
import ScriptingApi as api
# Access the class
# ImageInterpolationMethod is available via api.ImageInterpolationMethod
Enumeration Values
Enumeration Method from ImageInterpolationMethod
| Value | Description |
|---|---|
ImageInterpolationMethod.Nearest | Nearest option |
ImageInterpolationMethod.Linear | Linear option |
ImageInterpolationMethod.Cubic | Cubic option |
Usage Example
import ScriptingApi as api
# Access enumeration values
value = api.ImageInterpolationMethod.Nearest