monai.transforms.spatial.dictionary#

A collection of dictionary-based wrappers around the “vanilla” transforms for spatial operations defined in monai.transforms.spatial.array.

Class names are ended with ‘d’ to denote dictionary-based transforms.

Classes

AffineD

alias of Affined

AffineDict

alias of Affined

Affined(keys[, rotate_params, shear_params, ...])

Dictionary-based wrapper of monai.transforms.Affine.

FlipD

alias of Flipd

FlipDict

alias of Flipd

Flipd(keys[, spatial_axis, ...])

Dictionary-based wrapper of monai.transforms.Flip.

GridDistortionD

alias of GridDistortiond

GridDistortionDict

alias of GridDistortiond

GridDistortiond(keys, num_cells, distort_steps)

Dictionary-based wrapper of monai.transforms.GridDistortion.

GridPatchD

alias of GridPatchd

GridPatchDict

alias of GridPatchd

GridPatchd(keys, patch_size[, offset, ...])

Extract all the patches sweeping the entire image in a row-major sliding-window manner with possible overlaps.

GridSplitD

alias of GridSplitd

GridSplitDict

alias of GridSplitd

GridSplitd(keys[, grid, size, ...])

Split the image into patches based on the provided grid in 2D.

OrientationD

alias of Orientationd

OrientationDict

alias of Orientationd

Orientationd(keys[, axcodes, ...])

Dictionary-based wrapper of monai.transforms.Orientation.

Rand2DElasticD

alias of Rand2DElasticd

Rand2DElasticDict

alias of Rand2DElasticd

Rand2DElasticd(keys, spacing, magnitude_range)

Dictionary-based wrapper of monai.transforms.Rand2DElastic.

Rand3DElasticD

alias of Rand3DElasticd

Rand3DElasticDict

alias of Rand3DElasticd

Rand3DElasticd(keys, sigma_range, ...[, ...])

Dictionary-based wrapper of monai.transforms.Rand3DElastic.

RandAffineD

alias of RandAffined

RandAffineDict

alias of RandAffined

RandAffined(keys[, spatial_size, prob, ...])

Dictionary-based wrapper of monai.transforms.RandAffine.

RandAxisFlipD

alias of RandAxisFlipd

RandAxisFlipDict

alias of RandAxisFlipd

RandAxisFlipd(keys[, prob, ...])

Dictionary-based version monai.transforms.RandAxisFlip.

RandFlipD

alias of RandFlipd

RandFlipDict

alias of RandFlipd

RandFlipd(keys[, prob, spatial_axis, ...])

Dictionary-based version monai.transforms.RandFlip.

RandGridDistortionD

alias of RandGridDistortiond

RandGridDistortionDict

alias of RandGridDistortiond

RandGridDistortiond(keys[, num_cells, prob, ...])

Dictionary-based wrapper of monai.transforms.RandGridDistortion.

RandGridPatchD

alias of RandGridPatchd

RandGridPatchDict

alias of RandGridPatchd

RandGridPatchd(keys, patch_size[, ...])

Extract all the patches sweeping the entire image in a row-major sliding-window manner with possible overlaps, and with random offset for the minimal corner of the image, (0,0) for 2D and (0,0,0) for 3D.

RandRotate90D

alias of RandRotate90d

RandRotate90Dict

alias of RandRotate90d

RandRotate90d(keys[, prob, max_k, ...])

Dictionary-based version monai.transforms.RandRotate90.

RandRotateD

alias of RandRotated

RandRotateDict

alias of RandRotated

RandRotated(keys[, range_x, range_y, ...])

Dictionary-based version monai.transforms.RandRotate Randomly rotates the input arrays.

RandSimulateLowResolutionD

alias of RandSimulateLowResolutiond

RandSimulateLowResolutionDict

alias of RandSimulateLowResolutiond

RandSimulateLowResolutiond(keys[, prob, ...])

Dictionary-based wrapper of monai.transforms.RandSimulateLowResolution.

RandZoomD

alias of RandZoomd

RandZoomDict

alias of RandZoomd

RandZoomd(keys[, prob, min_zoom, max_zoom, ...])

Dict-based version monai.transforms.RandZoom.

ResampleToMatchD

alias of ResampleToMatchd

ResampleToMatchDict

alias of ResampleToMatchd

ResampleToMatchd(keys, key_dst[, mode, ...])

Dictionary-based wrapper of monai.transforms.ResampleToMatch.

ResizeD

alias of Resized

ResizeDict

alias of Resized

Resized(keys, spatial_size[, size_mode, ...])

Dictionary-based wrapper of monai.transforms.Resize.

Rotate90D

alias of Rotate90d

Rotate90Dict

alias of Rotate90d

Rotate90d(keys[, k, spatial_axes, ...])

Dictionary-based wrapper of monai.transforms.Rotate90.

RotateD

alias of Rotated

RotateDict

alias of Rotated

Rotated(keys, angle[, keep_size, mode, ...])

Dictionary-based wrapper of monai.transforms.Rotate.

SpacingD

alias of Spacingd

SpacingDict

alias of Spacingd

Spacingd(keys, pixdim[, diagonal, mode, ...])

Dictionary-based wrapper of monai.transforms.Spacing.

SpatialResampleD

alias of SpatialResampled

SpatialResampleDict

alias of SpatialResampled

SpatialResampled(keys[, mode, padding_mode, ...])

Dictionary-based wrapper of monai.transforms.SpatialResample.

ZoomD

alias of Zoomd

ZoomDict

alias of Zoomd

Zoomd(keys, zoom[, mode, padding_mode, ...])

Dictionary-based wrapper of monai.transforms.Zoom.