Hi everyone,
I am encountering an issue with the rMTF calculation in pylinac.
When running the analysis on my images, the rMTF curve is not normalized to 1 at zero frequency. More concerningly, the rMTF 10% value is negative, which is physically impossible. Even though the ROIs seem perfectly positioned over the high-contrast inserts, the resulting MTF calculation appears flawed.
I tried inverting the image:
With inversion: The rMTF curve looks much better (correctly normalized to 1. However, the ROI positioning becomes completely broken/misaligned.
Without inversion: The ROIs are perfectly placed, but the rMTF values are incorrect (non-normalized and negative) as shown below.
It seems I am caught between a correct ROI detection and a correct MTF calculation. Has anyone experienced this? Is there a recommended way to handle this polarity/normalization conflict without displacing the ROIs?
Thanks for your help !