Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when subject has 4 lumbar vertebrae #30

Closed
yw7 opened this issue May 14, 2024 · 2 comments
Closed

Issue when subject has 4 lumbar vertebrae #30

yw7 opened this issue May 14, 2024 · 2 comments
Assignees

Comments

@yw7
Copy link
Collaborator

yw7 commented May 14, 2024

As seen in the attached image (whole_amuPAM50016_T1w) the 2 steps approach is not working when the subject has 4 lumbar vertebrae:
image

@yw7 yw7 self-assigned this May 14, 2024
@yw7
Copy link
Collaborator Author

yw7 commented May 14, 2024

The isue originate from the second step model, when no L5 present the L5-S IVD is not present then the model confuses the sacrum and L5 because from the binary mask point of view if there is no odd IVD mask above (L5-S) it is L5 then from the anatomy point of view it is the sacrum.
To address this issue we need to make the model use the anatomy to segment the sacrum and the the odd IVD mask to make the oddqeven vertebrae and IVD so we will input the second model for each image another set of image+seg in wich the odd IVD mask point to the even IVD mask and also the odd and even IVD and mask are switched in the output then the model will learn the required behavior:

The issue originates from the second-step model. When L5 is not present (L5-S IVD is absent), the model confuses the sacrum and L5. This confusion arises because, from a binary mask perspective, if there is no odd IVD mask above (L5-S), it is considered to be L5. However, from an anatomical point of view, it should be identified as the sacrum.

To address this issue, we need to modify the model. Specifically:

  • The model should use anatomical cues to segment the sacrum.
  • The odd IVD mask should guide the segmentation of both odd and even vertebrae and IVDs.

We will input a second model for each image, where the odd IVD mask points to the even IVD mask, and the odd and even IVD masks are switched in the output. This approach will help the model learn the correct behavior.

image

@yw7
Copy link
Collaborator Author

yw7 commented Jul 5, 2024

Done here
9cd774e

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

No branches or pull requests

1 participant