monai.transforms.croppad.batch#

A collection of “vanilla” transforms for crop and pad operations acting on batches of data.

Functions

replace_element(to_replace, batch, idx, ...)

Classes

PadListDataCollate([method, mode])

Same as MONAI's list_data_collate, except any tensors are centrally padded to match the shape of the biggest tensor in each dimension.