monai.transforms.lazy.utils#

Functions

affine_from_pending(pending_item)

Extract the affine matrix from a pending transform item.

combine_transforms(left, right)

Given transforms A and B to be applied to x, return the combined transform (AB), so that A(B(x)) becomes AB(x)

is_compatible_apply_kwargs(kwargs_1, kwargs_2)

Check if two sets of kwargs are compatible (to be combined in apply).

kwargs_from_pending(pending_item)

Extract kwargs from a pending transform item.

requires_interp(matrix[, atol])

Check whether the transformation matrix suggests voxel-wise interpolation.

resample(data, matrix[, kwargs])

Resample data using the affine transformation defined by matrix.

Classes

Affine(data)

A class to represent an affine transform matrix.

DisplacementField(data)

A class to represent a dense displacement field.