monai.transforms.utility.dictionary#

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

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

Classes

AddCoordinateChannelsD

alias of AddCoordinateChannelsd

AddCoordinateChannelsDict

alias of AddCoordinateChannelsd

AddCoordinateChannelsd(keys, spatial_dims[, ...])

Dictionary-based wrapper of monai.transforms.AddCoordinateChannels.

AddExtremePointsChannelD

alias of AddExtremePointsChanneld

AddExtremePointsChannelDict

alias of AddExtremePointsChanneld

AddExtremePointsChanneld(keys, label_key[, ...])

Dictionary-based wrapper of monai.transforms.AddExtremePointsChannel.

ApplyTransformToPointsD

alias of ApplyTransformToPointsd

ApplyTransformToPointsDict

alias of ApplyTransformToPointsd

ApplyTransformToPointsd(keys[, refer_keys, ...])

Dictionary-based wrapper of monai.transforms.ApplyTransformToPoints.

AsChannelLastD

alias of AsChannelLastd

AsChannelLastDict

alias of AsChannelLastd

AsChannelLastd(keys[, channel_dim, ...])

Dictionary-based wrapper of monai.transforms.AsChannelLast.

CastToTypeD

alias of CastToTyped

CastToTypeDict

alias of CastToTyped

CastToTyped(keys[, dtype, allow_missing_keys])

Dictionary-based wrapper of monai.transforms.CastToType.

ClassesToIndicesD

alias of ClassesToIndicesd

ClassesToIndicesDict

alias of ClassesToIndicesd

ClassesToIndicesd(keys[, indices_postfix, ...])

Dictionary-based wrapper of monai.transforms.ClassesToIndices.

ConcatItemsD

alias of ConcatItemsd

ConcatItemsDict

alias of ConcatItemsd

ConcatItemsd(keys, name[, dim, ...])

Concatenate specified items from data dictionary together on the first dim to construct a big array.

ConvertToMultiChannelBasedOnBratsClassesD

alias of ConvertToMultiChannelBasedOnBratsClassesd

ConvertToMultiChannelBasedOnBratsClassesDict

alias of ConvertToMultiChannelBasedOnBratsClassesd

ConvertToMultiChannelBasedOnBratsClassesd(keys)

Dictionary-based wrapper of monai.transforms.ConvertToMultiChannelBasedOnBratsClasses.

CopyItemsD

alias of CopyItemsd

CopyItemsDict

alias of CopyItemsd

CopyItemsd(keys[, times, names, ...])

Copy specified items from data dictionary and save with different key names.

CuCIMD

alias of CuCIMd

CuCIMDict

alias of CuCIMd

CuCIMd(keys, name[, allow_missing_keys])

Dictionary-based wrapper of monai.transforms.CuCIM for non-randomized transforms.

DataStatsD

alias of DataStatsd

DataStatsDict

alias of DataStatsd

DataStatsd(keys[, prefix, data_type, ...])

Dictionary-based wrapper of monai.transforms.DataStats.

DeleteItemsD

alias of DeleteItemsd

DeleteItemsDict

alias of DeleteItemsd

DeleteItemsd(keys[, sep, use_re])

Delete specified items from data dictionary to release memory.

EnsureChannelFirstD

alias of EnsureChannelFirstd

EnsureChannelFirstDict

alias of EnsureChannelFirstd

EnsureChannelFirstd(keys[, strict_check, ...])

Dictionary-based wrapper of monai.transforms.EnsureChannelFirst.

EnsureTypeD

alias of EnsureTyped

EnsureTypeDict

alias of EnsureTyped

EnsureTyped(keys[, data_type, dtype, ...])

Dictionary-based wrapper of monai.transforms.EnsureType.

FgBgToIndicesD

alias of FgBgToIndicesd

FgBgToIndicesDict

alias of FgBgToIndicesd

FgBgToIndicesd(keys[, fg_postfix, ...])

Dictionary-based wrapper of monai.transforms.FgBgToIndices.

FlattenSubKeysD

alias of FlattenSubKeysd

FlattenSubKeysDict

alias of FlattenSubKeysd

FlattenSubKeysd(keys[, sub_keys, ...])

If an item is dictionary, it flatten the item by moving the sub-items (defined by sub-keys) to the top level.

IdentityD

alias of Identityd

IdentityDict

alias of Identityd

Identityd(keys[, allow_missing_keys])

Dictionary-based wrapper of monai.transforms.Identity.

ImageFilterD

alias of ImageFilterd

ImageFilterDict

alias of ImageFilterd

ImageFilterd(keys, kernel[, kernel_size, ...])

Dictionary-based wrapper of monai.transforms.ImageFilter.

IntensityStatsD

alias of IntensityStatsd

IntensityStatsDict

alias of IntensityStatsd

IntensityStatsd(keys, ops, key_prefix[, ...])

Dictionary-based wrapper of monai.transforms.IntensityStats.

LabelToMaskD

alias of LabelToMaskd

LabelToMaskDict

alias of LabelToMaskd

LabelToMaskd(keys, select_labels[, ...])

Dictionary-based wrapper of monai.transforms.LabelToMask.

LambdaD

alias of Lambdad

LambdaDict

alias of Lambdad

Lambdad(keys, func[, inv_func, track_meta, ...])

Dictionary-based wrapper of monai.transforms.Lambda.

MapLabelValueD

alias of MapLabelValued

MapLabelValueDict

alias of MapLabelValued

MapLabelValued(keys, orig_labels, target_labels)

Dictionary-based wrapper of monai.transforms.MapLabelValue.

RandCuCIMD

alias of RandCuCIMd

RandCuCIMDict

alias of RandCuCIMd

RandCuCIMd(keys, name[, allow_missing_keys])

Dictionary-based wrapper of monai.transforms.CuCIM for randomized transforms.

RandImageFilterD

alias of RandImageFilterd

RandImageFilterDict

alias of RandImageFilterd

RandImageFilterd(keys, kernel[, ...])

Dictionary-based wrapper of monai.transforms.RandomFilterKernel.

RandLambdaD

alias of RandLambdad

RandLambdaDict

alias of RandLambdad

RandLambdad(keys, func[, inv_func, ...])

Randomizable version monai.transforms.Lambdad, the input func may contain random logic, or randomly execute the function based on prob.

RandTorchVisionD

alias of RandTorchVisiond

RandTorchVisionDict

alias of RandTorchVisiond

RandTorchVisiond(keys, name[, ...])

Dictionary-based wrapper of monai.transforms.TorchVision for randomized transforms.

RemoveRepeatedChannelD

alias of RemoveRepeatedChanneld

RemoveRepeatedChannelDict

alias of RemoveRepeatedChanneld

RemoveRepeatedChanneld(keys, repeats[, ...])

Dictionary-based wrapper of monai.transforms.RemoveRepeatedChannel.

RepeatChannelD

alias of RepeatChanneld

RepeatChannelDict

alias of RepeatChanneld

RepeatChanneld(keys, repeats[, ...])

Dictionary-based wrapper of monai.transforms.RepeatChannel.

SelectItemsD

alias of SelectItemsd

SelectItemsDict

alias of SelectItemsd

SelectItemsd(keys[, allow_missing_keys])

Select only specified items from data dictionary to release memory.

SimulateDelayD

alias of SimulateDelayd

SimulateDelayDict

alias of SimulateDelayd

SimulateDelayd(keys[, delay_time, ...])

Dictionary-based wrapper of monai.transforms.SimulateDelay.

SplitDimD

alias of SplitDimd

SplitDimDict

alias of SplitDimd

SplitDimd(keys[, output_postfixes, dim, ...])

SqueezeDimD

alias of SqueezeDimd

SqueezeDimDict

alias of SqueezeDimd

SqueezeDimd(keys[, dim, update_meta, ...])

Dictionary-based wrapper of monai.transforms.SqueezeDim.

ToCupyD

alias of ToCupyd

ToCupyDict

alias of ToCupyd

ToCupyd(keys[, dtype, wrap_sequence, ...])

Dictionary-based wrapper of monai.transforms.ToCupy.

ToDeviceD

alias of ToDeviced

ToDeviceDict

alias of ToDeviced

ToDeviced(keys, device[, allow_missing_keys])

Dictionary-based wrapper of monai.transforms.ToDevice.

ToNumpyD

alias of ToNumpyd

ToNumpyDict

alias of ToNumpyd

ToNumpyd(keys[, dtype, wrap_sequence, ...])

Dictionary-based wrapper of monai.transforms.ToNumpy.

ToPILD

alias of ToPILd

ToPILDict

alias of ToPILd

ToPILd(keys[, allow_missing_keys])

Dictionary-based wrapper of monai.transforms.ToNumpy.

ToTensorD

alias of ToTensord

ToTensorDict

alias of ToTensord

ToTensord(keys[, dtype, device, ...])

Dictionary-based wrapper of monai.transforms.ToTensor.

TorchVisionD

alias of TorchVisiond

TorchVisionDict

alias of TorchVisiond

TorchVisiond(keys, name[, allow_missing_keys])

Dictionary-based wrapper of monai.transforms.TorchVision for non-randomized transforms.

TransposeD

alias of Transposed

TransposeDict

alias of Transposed

Transposed(keys, indices[, allow_missing_keys])

Dictionary-based wrapper of monai.transforms.Transpose.