itkwasm_elastix.elastix¶

Module Contents¶

Functions¶

elastix

Rigid and non-rigid registration of images.

API¶

itkwasm_elastix.elastix.elastix(parameter_object: Any, transform: str, fixed: Optional[itkwasm.Image] = None, moving: Optional[itkwasm.Image] = None, initial_transform: Optional[os.PathLike] = None, initial_transform_parameter_object: Optional[Any] = None) Tuple[itkwasm.Image, Any]¶

Rigid and non-rigid registration of images.

Parameters:
  • parameter_object (Any) – Elastix parameter object representation

  • transform (str) – Fixed-to-moving transform file

  • fixed (Image) – Fixed image

  • moving (Image) – Moving image

  • initial_transform (os.PathLike) – Initial transform to apply before registration

  • initial_transform_parameter_object (Any) – Initial elastix transform parameter object to apply before registration. Only provide this or an initial transform.

Returns:

Resampled moving image

Return type:

Image

Returns:

Elastix optimized transform parameter object representation

Return type:

Any