pylinac icon indicating copy to clipboard operation
pylinac copied to clipboard

CatPhan 604 Analysis with Direct Density CT images

Open adamblais opened this issue 1 year ago • 11 comments

I'm trying to analyze a CatPhan 604 scan acquired on a Siemens CT scanner using their direct density (DD) algorithm. The standard (non-DD) scan works, but the direct density fails to find the HU linearity module. I believe the issue is the significantly different calibration curves.

I tried overriding the HU's using the custom HU's feature based on the HU values reported in the different landmarks in ARIA:

mycbct.analyze(expected_hu_values={
    "Teflon": 468,
    "Delrin": 162,
    "20% Bone": 100,
    "Acrylic": 80,
    "Air": -999,
    "Poly": -25,
    "LDPE": -80,
    "50% Bone": 311,    
    "PMP": -170
    })

But it still fails to find HU linearity module. Anything else I can try? Is this possible? Happy to provide a sample dicom image if it helps.

adamblais avatar Jul 26 '24 21:07 adamblais

https://forms.gle/jf7DjGRQb98nw6W66

jrkerns avatar Jul 26 '24 23:07 jrkerns

We recently installed a Siemens scanner and I noticed the same thing. I work at a different site from where it was installed, so I'm not fully across it, but I noticed the HU values in the high density inserts were quite a bit lower than what I've seen in the past for other scanners. In the end I just adjusted the hu_origin_slice_variance from the default 400 to 200 for just that scanner to let them analyse but not touch the analysis for any of our other scanners.

Something like:

cbct = CatPhan.from_zip(catphan_upload)
cbct.hu_origin_slice_variance = 200

# Continue with the rest of your code as normal

I didn't want to raise it as an issue yet as I'm still confused as to why the reported HU are so much lower in the first place.

keithoffer avatar Sep 09 '24 02:09 keithoffer

I'll take a look at the dataset you donated Adam. I'm writing up workarounds in the pylinac docs and we will be exposing more parameters in radmachine so that at the very least it can be analyzed. I'm also not clear on why the HU would be so off.

jrkerns avatar Sep 10 '24 18:09 jrkerns

White paper I found. Haven't absorbed it all but there's a mention about manmade materials: https://cdn0.scrvt.com/7b8dc61d55f0deedb776692474194f7c/050b210b0661c844/cf975db1545a/siemens-healthineers-CTH-DirectDensity-Whitepaper.PDF

image

jrkerns avatar Sep 10 '24 18:09 jrkerns

Thanks! I did get it working with @keithoffer's suggestion of adding cbct.hu_origin_slice_variance = 200

I was just looking at the white paper as well. It looks like the Direct Density images do not use HU values, but rather relative electron density values, so they are meant to be different.

adamblais avatar Sep 10 '24 18:09 adamblais

Yes, that's the workaround for the "can't find HU module" problem. Another clinic is having issues with wrong slices being analyzed, partially due to this variance, which causes the "origin slice" to be off by several slices vs failing outright. I will add a small note about this algorithm to the docs. Thanks for bring it to our attention.

jrkerns avatar Sep 10 '24 19:09 jrkerns

Hello, We have a CatPhan 600 phantom, and although changing the cbct.hu_origin_slice_variance value to something like 200 or 300, There's still an issue. The ValueError "Unable to locate the Geometric nodes" is raised, and the solution is less obvious. Any idea on how to proceed ? Happy to provide DICOM files if necessary !

NickyPooHFR avatar Sep 24 '24 13:09 NickyPooHFR

Yes please. You can submit here: https://forms.gle/fWYCXJDgkjxdR8vL6

jrkerns avatar Sep 24 '24 19:09 jrkerns

Yes please. You can submit here: https://forms.gle/fWYCXJDgkjxdR8vL6

Done ! Thanks for your help !

NickyPooHFR avatar Sep 25 '24 08:09 NickyPooHFR

Unfortunately, any correction I apply cause other tests to fail. I will try a different node-finding strategy.

jrkerns avatar Oct 04 '24 17:10 jrkerns

Fix is at code review. Should be included in the next release. Will still need to set the HU origin variance but will work after that.

jrkerns avatar Oct 04 '24 21:10 jrkerns