Skip to content

B1corr#1

Open
barma7 wants to merge 4 commits intogattia:bone_segfrom
barma7:b1corr
Open

B1corr#1
barma7 wants to merge 4 commits intogattia:bone_segfrom
barma7:b1corr

Conversation

@barma7
Copy link

@barma7 barma7 commented Oct 31, 2024

Merging branch b1corr into bone_seg to handle B1 correction in qdess.py.

The main modification is adding possibility to pass a B1 map into qdess.py to correct T2 mapping for B1 inhomogeneities as proposed in Barbieri et al. Magn Reson Mater Phy 36 (2023) https://doi.org/10.1007/s10334-023-01094-y

Key Changes:

  • modified generate_t2_map function within qdess.py class so that a b1map (MedicalVolume object) can be passed as input in the function. Default initialization is b1map: MedicalVolume = None.
  • in model_loading_util.py added Loader=yaml.FullLoader in yaml.load( ) function as Loader is a required argument in newer versions.
  • in oaiunet2d.py made sure each Conv2D layer in __load_keras_model__() has a unique name as this is a requirement in new versions of Keras.

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.

1 participant