monai.transforms.io.array#

A collection of “vanilla” transforms for IO functions.

Functions

switch_endianness(data[, new])

Convert the input data endianness to new.

Classes

LoadImage([reader, image_only, dtype, ...])

Load image file or files from provided path based on reader.

SaveImage([output_dir, output_postfix, ...])

Save the image (in the form of torch tensor or numpy ndarray) and metadata dictionary into files.