-
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
tangential position range inconsistency #1507
Comments
The class inheritance is as follows I suggest using this STIR/src/buildblock/ProjDataInfo.cxx Lines 123 to 129 in e168b07
in the child classes for consistency? Maybe worth noting, the definition of the max/min tang poss in |
Yes, I have already followed it in PR #1508, changed two classes to be consistent with ProjDataInfo.cxx. |
I am sorry, I reread the full function. These values are used for slightly odd checks in STIR/src/buildblock/ProjDataInfoGenericNoArcCorr.cxx Lines 152 to 163 in e168b07
|
Just not sure why 8 tests (including FBP, OSMAPOSL, etc) are failed after these changes. Haven't gone through them yet. Any comment is appreciated. |
There are two different definitions (as below), which result in inconsistency in tangential position range. This is problematic at least in cases handling full tangential positions.
In ProjDataInfo.cxx:
min_tangential_pos_num = -(num_tang_poss / 2);
max_tangential_pos_num = min_tangential_pos_num + num_tang_poss - 1;
In ProjDataInfoCylindricalNoArcCorr.cxx and ProjDataInfoGenericNoArcCorr.cxx :
const int min_tang_pos_num = -(num_detectors / 2) + 1;
const int max_tang_pos_num = -(num_detectors / 2) + num_detectors;
The text was updated successfully, but these errors were encountered: