pylinac
pylinac copied to clipboard
Catphan HU disc CNR error
Hi there!
The evaluation of CNR for HU discs (CTP404) may be problematic. The bg_std (line 382) is calculated as the standard deviation of average pixel values over three background ROIs. Perhaps this should be an average of three standard deviations of pixels values inside the ROIs.
Could you link to the line, please? The commits appear to have thrown off the line numbers.
Hi. Sorry for the late reply. The line is this:
https://github.com/jrkerns/pylinac/blob/06a48d97e3650923e0f5929ae1dcb72c1562f958/pylinac/ct.py#L251
It may perhaps be better to have a mean of std values.