SIGN IN SIGN UP

fix: handle metadata loading and shape calculation in transforms (#1990)

Fixes # .
handle metadata loading and shape calculation in transforms

### Description
- Add image_only=False and ensure_channel_first=True to LoadImaged
transform to properly load metadata
- Fix shape mismatch in PreprocessAnisotropic.calculate_new_shape by
handling 4D input shapes
- Addresses KeyError: 'image_meta_dict' and ValueError: operands could
not be broadcast together

Note: The metadata loading issue might be related to MONAI version
differences.
Current version: 1.4.0

### Checks
- [x] Avoid including large-size files in the PR.
- [x] Clean up long text outputs from code cells in the notebook.
- [x] For security purposes, please check the contents and remove any
sensitive info such as user names and private key.

---------

Signed-off-by: Tristan Kirscher <85068746+Kirscher@users.noreply.github.com>
T
Tristan Kirscher committed
75c44e0a16946256254315ff53942aa6efd13eb2
Parent: 211cfd8
Committed by GitHub <noreply@github.com> on 5/16/2025, 1:54:35 PM