Skip to content

Fix usage of Reorientation logic in CerebNet and HypVINN#809

Merged
m-reuter merged 3 commits into
Deep-MI:devfrom
dkuegler:fix/cerebnet-vox2vox
May 4, 2026
Merged

Fix usage of Reorientation logic in CerebNet and HypVINN#809
m-reuter merged 3 commits into
Deep-MI:devfrom
dkuegler:fix/cerebnet-vox2vox

Conversation

@dkuegler
Copy link
Copy Markdown
Member

@dkuegler dkuegler commented Apr 30, 2026

After the changes to reorientation login in #767 , there was an incorrect assembly of the vox2vox matrix in CerebNet causing CerebNet to fail.
This PR additionally fixes a typing error in the same file (CerebNet/data_loader/dataset.py) first reported during the development of #807 .

This also fixes Reorientation in the Hypothalamus and adds compatibility for "keep" for vox_size and image_size converters in arg_types.py.

Fix hypothalamus reorientation (remove reorient_img function and replace with Reorientation class functionality).
- Update in save_logits
- Update in save_segmentation
@dkuegler dkuegler changed the title Fix usage of Reorientation logic in CerebNet Fix usage of Reorientation logic in CerebNet and HypVINN Apr 30, 2026
…nd fix target shape of the Reorientation.inverse
@m-reuter m-reuter merged commit b3d7fbc into Deep-MI:dev May 4, 2026
3 checks passed
@m-reuter m-reuter added this to the FastSurfer v2.5 Release milestone May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants