monai.transforms.meta_utility.dictionary#

A collection of dictionary-based wrappers for moving between MetaTensor types and dictionaries of data. These can be used to make backwards compatible code.

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

Classes

FromMetaTensorD

alias of FromMetaTensord

FromMetaTensorDict

alias of FromMetaTensord

FromMetaTensord(keys[, data_type, ...])

Dictionary-based transform to convert MetaTensor to a dictionary.

ToMetaTensorD

alias of ToMetaTensord

ToMetaTensorDict

alias of ToMetaTensord

ToMetaTensord(keys[, allow_missing_keys])

Dictionary-based transform to convert a dictionary to MetaTensor.