Describe the bug
As the LoadImageD transform may convert input data and affine here:
https://github.com/Project-MONAI/MONAI/blob/master/monai/data/image_reader.py#L389
Need to support inverse operations.
Otherwise, we can't get proper results to compare with the input image if set as_closest_canonical=True.
Describe the bug
As the
LoadImageDtransform may convert input data andaffinehere:https://github.com/Project-MONAI/MONAI/blob/master/monai/data/image_reader.py#L389
Need to support inverse operations.
Otherwise, we can't get proper results to compare with the input image if set
as_closest_canonical=True.