-
Notifications
You must be signed in to change notification settings - Fork 95
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
Siemens mMR single scatter has unexpected scale #1280
Comments
This is still a problem for SIRF as it uses the default settings for the scatter estimator STIR/src/scatter_buildblock/ScatterEstimation.cxx Lines 88 to 89 in bdf04ac
|
Set default to 0.05 (was .4). This prevents problems with the mMR (and others?). Addresses UCL#1280
@KrisThielemans : can this be closed? |
Sadly not. We still don't know why the single scatter estimate is wrongly scaled for the mMR. |
This was indeed fixed by #1531. For the NEMA IQ data used in the examples, I now get the following scale factors (before filtering) when disabling all thresholding: Note that there is no bed in the current mu-map. Plots generated with import numpy
import matplotlib.pyplot as plt
import os
os.system("sed -n '/upsample_and_fit_scatter_estimate.*before/{;n;p;}' output/scatter.log|tr -d '{}' > scalefactors_before_threshold.csv")
b=numpy.loadtxt('scalefactors_before_threshold.csv',delimiter=',')
plt.figure()
plt.plot(b.transpose());
plt.legend(['1','2','3','4','5'])
import stir
im=stir.FloatVoxelsOnCartesianGrid.read_from_file('final_activity_image_42.hv')
import stirextra
arr=stirextra.to_numpy(im)
p=numpy.mean(arr[:,120:160,120:160],axis=(1,2))
plt.figure()
plt.plot(p)
plt.show() |
As observed in #1163, the scatter scale factors for the NEMA phantom had to be around .2, but normally STIR single scatter is scaled to have the correct absolute values. #1279 fixed the thresholds for the scale factor, such that the example now works, but it is still unclear why the scatter scales are so much lower than expected.
The text was updated successfully, but these errors were encountered: