def METHOD_NAME(self, transformed):
    if self.is_tensor or self.is_sitk:
        image = transformed[self.default_image_name]
        transformed = image.data
        if self.is_array:
            transformed = transformed.numpy()
        elif self.is_sitk:
            transformed = nib_to_sitk(image.data, image.affine)
    elif self.is_image:
        transformed = transformed[self.default_image_name]
    elif self.is_dict:
        transformed = dict(transformed)
        for key, value in transformed.items():
            if isinstance(value, Image):
                transformed[key] = value.data
    elif self.is_nib:
        image = transformed[self.default_image_name]
        data = image.data
        transformed = nib.Nifti1Image(data[0].numpy(), image.affine)
    return transformed