-
Notifications
You must be signed in to change notification settings - Fork 37
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
Plot methods expecting file 000000.dcm
when it does not exist
#2
Comments
If you add a dummy |
For this annotation, will you list the contents of the directory given by
? |
Using the .zip below contains my code used to replicate this issue: |
Ok, thanks. Comparing your file listing with mine, we have the same number of DICOM files, but it appears that mine start with 0 while yours start at 1. Now, I obviously don't have control over how the DICOM files are delivered on the TCIA download site. You can see in the existing code to load the DICOM images, that there is already a hack for the image loader because in some cases, the DICOM image files download with file names that are zero-padded, and in others they don't. I don't know why this is. In any case, it looks like the loader will need another hack to account for this indexing issue. Will you try replacing the block of code in the above link (in
and running |
@notmatthancock your fix works (with a small modification). Please see my PR above - thanks! |
Glad you got it working. |
When plotting scans, annotations or contours, plotting functions expect a
000000.dcm
file when LIDC-IRC dataset does not have them.Bug related to plotting methods:
scan.visualize()
,ann.visualize_in_scan()
andann.visualize_in_3d()
Error trace:
The text was updated successfully, but these errors were encountered: