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

Adding measurements functionalities to inference results #8264

Open
AHarouni opened this issue Dec 14, 2024 · 1 comment
Open

Adding measurements functionalities to inference results #8264

AHarouni opened this issue Dec 14, 2024 · 1 comment

Comments

@AHarouni
Copy link

Is your feature request related to a problem? Please describe.
Radiologists need to see quantifiable results of the AI segmentation inference. Getting the mask is great but I am looking for higher level measurements as volumes, Tumor count. If you take a look at this site showing multiple AI models, you will see reports showing key measurements that is useful for radiologist.

Describe the solution you'd like
Lets assume my AI infer can detect kidneys, kidney tumor, liver and liver tumor, I would like a set of post processing functions that calculates measurements below:

  1. count of liver tumors, kidney tumors
  2. For each tumor what is the volume in mm^3, this is simply pixel count x voxel size
  3. Key png image for each tumor. find slice with largest tumor count, then get slices above and below to show tumor location. We should also have the tumor as a burnt contour for each slice.
  4. Axial key image is usually sufficient but for Aorta we do need coronal and sagittal key images
  5. Average tumor intensity and standard deviation.

List above should be a good start. we could later investigate using packages as pyradiomics for more 1st and 2nd order measurements. For cardiac and vessels we could add vessel length, thickness, diameter, etc.

Once we have this in place we can then create a report for each inference that compiles all this data to a useful report for clinicians. Please take a look at this sample reports to get an idea:

image

image

Describe alternatives you've considered
I have written some post processing for monai label that does this on save to the datastore.

image

I would be more that happy to share the code

@aylward
Copy link
Collaborator

aylward commented Dec 16, 2024

Great idea! I think this is a great direction to pursue in collaboration with MONAI Core and MONAI Deploy working groups. This may actually become a new repository under Project MONAI community since it would be very broadly useful (not just for MONAI core or just for Deploy). Perhaps it is best to start by working with the MONAI Deploy working group to determine a good and broadly useful "home" for this work. If a new repo is determined to be the home, this should be suggested to the dev meeting and MONAI board. If they agree, then we'll create it and you can start making pull requests! :) Let me know if you need an intro to the MONAI Deploy working group leads.

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