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

Errors in several zone segmentation masks #20

Open
meglaficus opened this issue Jul 7, 2022 · 4 comments
Open

Errors in several zone segmentation masks #20

meglaficus opened this issue Jul 7, 2022 · 4 comments

Comments

@meglaficus
Copy link
Contributor

Hi,
we are working working with your label set and I have come across some errors in the zonal masks. Here is a list of whole prostate masks with more than one connected component:

ProstateX-0000.nii.gz has 3 ccs
ProstateX-0014.nii.gz has 2 ccs
ProstateX-0027.nii.gz has 2 ccs
ProstateX-0064.nii.gz has 25 ccs
ProstateX-0112.nii.gz has 2 ccs
ProstateX-0126.nii.gz has 2 ccs
ProstateX-0141.nii.gz has 2 ccs
ProstateX-0142.nii.gz has 2 ccs
ProstateX-0168.nii.gz has 5 ccs
ProstateX-0170.nii.gz has 2 ccs
ProstateX-0172.nii.gz has 2 ccs
ProstateX-0174.nii.gz has 2 ccs
ProstateX-0179.nii.gz has 2 ccs
ProstateX-0181.nii.gz has 2 ccs
ProstateX-0182.nii.gz has 4 ccs
ProstateX-0183.nii.gz has 5 ccs
ProstateX-0190.nii.gz has 3 ccs
ProstateX-0194.nii.gz has 2 ccs
ProstateX-0198.nii.gz has 4 ccs
ProstateX-0203.nii.gz has 3 ccs
ProstateX-087.nii.gz has 8 ccs

Most of these have similar errors in the seperate peripheral and non-peripheral zone masks. I have merged the peripheral and non-peripheral masks for each patient and here are the cases where these errors persist:

ProstateX-0000.nii.gz has 3 ccs
ProstateX-0014.nii.gz has 2 ccs
ProstateX-0027.nii.gz has 2 ccs
ProstateX-0064.nii.gz has 25 ccs
ProstateX-0087.nii.gz has 8 ccs
ProstateX-0112.nii.gz has 2 ccs
ProstateX-0168.nii.gz has 2 ccs
ProstateX-0170.nii.gz has 2 ccs
ProstateX-0172.nii.gz has 2 ccs
ProstateX-0179.nii.gz has 2 ccs
ProstateX-0183.nii.gz has 3 ccs

The errors range from small, single voxel abrations close to the actual mask to larger errors that are very far from the mask and have a large impact on distance-based metrics.

Thank you for an otherwise terrific dataset,
Jakob

@rcuocolo
Copy link
Owner

rcuocolo commented Jul 7, 2022 via email

@meglaficus
Copy link
Contributor Author

meglaficus commented Jul 11, 2022

Thank you for the quick response. I have made a program to fix these errors:
https://github.com/meglaficus/ProstateSeg_QC

In the process I have discovered some further errors:
(The images bellow are composites of pz (grey) and tz (white) masks.)

  • Small holes in some of the masks (44 patients)
    example1

  • Small snippets that seem to be the result of drawing the peripheral mask on the whole prostate mask (112 patients)
    example2

  • missmatch between the 'whole prostate' mask and the sum of pz and tz mask (44 patients).

The program takes care of most of these issues (exeption is pt. 0064 that has a unique error which could not be completely fixed). I will make a request to upload the corrected images.

@meglaficus
Copy link
Contributor Author

I have made a pull request with all the changes. Here is the link to a .csv file logging all the proposed changes. 'perif' = pz, 'central' = tz

  • The 'filtered' columns mean there was a small conected volume removed
  • The 'patched' columns mean there was a hole filled in
  • 'whole_missmatch' means that the whole prostate mask was replaces with the sum of the other two masks as it did not match
  • 'strays converted' denotes that the 'strays' as described in the previous comment were converted.

The .csv has entries for each patient but only the masks that had errors were updated in the request.

@rcuocolo
Copy link
Owner

rcuocolo commented Jul 12, 2022 via email

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

2 participants