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

ENH: Adds length measurement import #235

Merged
merged 2 commits into from
May 20, 2020
Merged

ENH: Adds length measurement import #235

merged 2 commits into from
May 20, 2020

Conversation

pieper
Copy link
Member

@pieper pieper commented Aug 31, 2018

This is a first pass at reading imaging measurement reports.
Currently length measurements are mapped to annotation rulers.

This has been tested using the measurements converted
by @dclunie as part of the CrowdsCureCancer project.

This is a first pass at reading imaging measurement reports.
Currently length measurements are mapped to annotation rulers.

This has been tested using the measurements converted
by @dclunie as part of the CrowdsCureCancer project.
@pieper pieper requested a review from fedorov August 31, 2018 20:47
@fedorov
Copy link
Member

fedorov commented Oct 11, 2018

@pieper I am thinking we should wait until the structure of the CrowdsCureCancer project SRs is finalized, and we have a public sample dataset that can be used for testing this feature. What do you think?

@pieper
Copy link
Member Author

pieper commented Oct 11, 2018 via email

@fedorov
Copy link
Member

fedorov commented Oct 11, 2018

Sounds good - once David confirms the final structure, and the sample datasets are established, please update this PR so I know what to test it against! Thank you!

@fedorov
Copy link
Member

fedorov commented Oct 11, 2018

@malaterre FYI this is the PR I mentioned in the email exchange earlier today so you can monitor it directly.

@malaterre
Copy link

@nroduit Just FYI CrowdsCureCancer folks are working on DICOM SR with measurement (non-image based).

@pieper
Copy link
Member Author

pieper commented Nov 5, 2018

@fedorov shall we find some time to talk about merging this? It's not a blocking issue before merging but we should discuss how we want to handle variants of report and measurement types.

@fedorov
Copy link
Member

fedorov commented Nov 5, 2018

Steve, I've been working to migrate/reorganize DICOM4QI content, and want to finish that first, but I will get to testing this right after, now that I have the confirmed sample dataset from David, which I will also add to DICOM4QI.

@fedorov
Copy link
Member

fedorov commented Nov 5, 2018

@pieper as I was combing through email threads, it looks like I still do not have a sample SR with the matching image series. Can you share one with me? David only sent the sample SR.

@fedorov
Copy link
Member

fedorov commented Nov 5, 2018

@pieper I searched this page for "Crowds", but didn't find the matching collection: https://www.cancerimagingarchive.net/. Can you point me to the location of data?

@fedorov
Copy link
Member

fedorov commented Nov 5, 2018

@fedorov
Copy link
Member

fedorov commented Nov 5, 2018

For the record, it is quite awkward to load and trace back stuff in that collection, since the only option is to download the whole dataset of images, which I really don't need.

So to locate the matching image, I opened the SR provided by David, looked up patient ID, from Study figured out it is a Kidney annotation, then searched TCIA main page for "Renal", which led me to TCIA-KIRC collection, which I then searched for subject TCGA-BP-4343. The study for that subject contained 6 series, and I located the matching one (series 3) by UID ... what a pain. Why would they not put those SRs into TCIA DICOM database proper?

@pieper
Copy link
Member Author

pieper commented Nov 6, 2018

Why would they not put those SRs into TCIA DICOM database proper?

Good question for Justin?

Copy link
Member

@fedorov fedorov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would also be very helpful to initialize slice viewer slides to the location of the ruler in the referenced image automatically on load.

DICOMPlugins/DICOMTID1500Plugin.py Outdated Show resolved Hide resolved
DICOMPlugins/DICOMTID1500Plugin.py Show resolved Hide resolved
rulerNode.SetLocked(True)
rulerNode.SetName(contents['personObserver'])

referenceFilePath = slicer.dicomDatabase.fileForInstance(measurement['referencedSOPInstanceUID'])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be good (and consistent with the behavior of the module for SEG-based measurements) to populate references (which can be done, since SeriesInstanceUID is present) and offer the user to load the corresponding image series on load of the SR with annotation/measurement. Can you add that functionality? (see https://github.com/QIICR/QuantitativeReporting/blob/master/DICOMPlugins/DICOMTID1500Plugin.py#L74)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created issue for this

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DICOMPlugins/DICOMTID1500Plugin.py Show resolved Hide resolved
DICOMPlugins/DICOMTID1500Plugin.py Show resolved Hide resolved
DICOMPlugins/DICOMTID1500Plugin.py Show resolved Hide resolved
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.

3 participants