itkwasm_downsample.resample_bounding_box¶
Module Contents¶
Functions¶
Compute the padded moving-image region needed to resample the fixed image grid through a transform |
API¶
- itkwasm_downsample.resample_bounding_box.resample_bounding_box(transform: itkwasm.TransformList, fixed: itkwasm.Image, moving: itkwasm.Image, padding: int = 1) Any¶
Compute the padded moving-image region needed to resample the fixed image grid through a transform
- Parameters:
transform (TransformList) – Spatial transform mapping fixed image points into moving image space
fixed (Image) – Fixed image whose grid is resampled (metadata only)
moving (Image) – Moving image to be sampled (metadata only)
padding (int) – Pixels of padding added per side (default 1 for linear interpolation)
- Returns:
The padded moving-image region needed to resample the fixed image grid, as a bounding box (JSON)
- Return type:
Any