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

Issues with proper overlay of segmentation #8

Open
ryancrossbow opened this issue Dec 1, 2020 · 0 comments
Open

Issues with proper overlay of segmentation #8

ryancrossbow opened this issue Dec 1, 2020 · 0 comments

Comments

@ryancrossbow
Copy link

Dear Dr. Bonaretti,

I have been working with pyKNEEr and I have had some success and some difficulty. Of about 20 images that I wanted to automatically segment, about half of them were done correctly.

For the other half I am having two consistent issues. The issues are that the automatic segmentation: 1.) will not properly overlay on the T2 structural image, and 2.) it seems that the segmentation of femoral cartilage is not always accurate. It looks as if the segmentation is in a different 3-D space than the T2 preprocessed .mha file. For example, I performed an automated segmentation, with pyKNEEr, on BD and it generated a segmentation that is not spatially correct (Image 1). To try and get pyKNEEr to properly segment the image I then created a ground truth segmentation (Image 2) and placed it into the proper new_subject folder.

Therefore, I changed the ground truth segmentations into the proper 'reference.mha' files. :
ground_truth_fc --> reference_fc.nii
ground_truth_f ---> reference_f.nii
preprocessed_image ---> reference.mha

Screen Shot 2020-12-01 at 6 01 11 PM
Image 1

Screen Shot 2020-12-01 at 6 03 31 PM
Image 2

There were no issues created by me using nifti files in place of mha files. Also, the code was able to run and it generated a more accurate segmentation of the femoral cartilage (fc); however, the segmentation still was out of frame (Image 3).

Screen Shot 2020-12-01 at 6 03 39 PM
Image 3

I ask whether or not this has to deal with the fact that I have not changed:
reference_fc_15.mha
reference_f_15.mha
reference_fc_levelSet.mha
reference_f_levelSet.mha

When I open the the ground truth segmentations (reference_f.mha and reference_fc.mha), pyKNEEr generated segmentation, and the reference_fc_15.mha and reference_f_15.mha files in ITK-snap I see that my ground truth segmentations always exist within the reference_x_15.mha space. Furthermore, I notice that the pyKNEEr generated segmentation always exists within the reference_fc_15.mha and reference_f_15.mha.

Do you think this is the issue of why the segmentation is not overlaying correctly? If not, do you have any other suggestions.

Please let me know, thank you!

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