I need to do extensive window leveling work to achieve an acceptable display.
How do you guys handle this kind of problem? Is there a trick, maybe script, to get a good initial brightness and contrast (lung window) in all CT?
Probably you just need to set the same window level. Easiest is to use one of the presets in the Volumes module - right click on the volume in the Data module and pick Edit properties then click the lung preset. For dicom we use the window/level from the header (usually set by the radiographer) but for non-dicom there’s a formula which depends on the values in the data, which can vary.
Unfortunately, today’s preview Slicer 4.13.0-2021-09-10 does not start correctly on Windows (it shows just the initial splash screen, no further action).
The only way I got 4.13.0-2021-09-10 starting was to redirect stderr or stdout in powershell command line.
./Slicer.exe >> err.txt
The default window level for the problematic CT (Pat 27 of the public COV dataset) was the same, too bright.
When I switched to the “Volumes” module slicer crashed.
Thanks for reporting the startup failure/crash, it’s probably due to my changes that I made yesterday in an attempt to improve console output on Windows. I’ll fix it today.
Can you check in the DICOM browser what window width & center values are stored in the files? (right-click on the series and choose View metadata to see the DICOM fields)
The open source COV CTs all come as nrrd datasets so they are not in the DICOM database and I can not easily extract the metadata. Pls tell me if you want me to check/do anything else.
I see, there is nothing further to test then. I don’t think nrrd files can store the recommended window/level setting, so for those files the window/level setting is determined automatically (by using a range between the 0.1 and 99.9 percentiles of the intensity histogram).
The features of “Volumes” enable a good selection of presets.
BTW today´s version of the preview release starts up well and “Volumes” does not crash it.