-
Notifications
You must be signed in to change notification settings - Fork 11
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
estimation of normalisation factors will fail for D690 #59
Comments
indeed. the offset is there to get the rotations sorted for the projections, but it messes up the ML norm sadly (which I hadn't thought about...) |
alright! that worked.
as you probably didn't change the Question is now how to move forward with this, aside from fixing STIR... Thinking about that'll be for tomorrow! |
can you also show GATE/eff/model. should be quite flat |
excellent! can you enable the eff_iter now? It shouldn't change anything really. |
thanks for checking. would you mind showing the quotient of the total efficiency factors for both cases (as opposed to the difference, as they are multiplicative factors) ? |
ok. wrong title for the picture I guess. The overall bias surprises me. Hard to understand that... The rest is likely just noise. (There are more crystal efficiencies to estimate, so therefore the result is noisier). |
A temporary D690 sinogram header that will allow of the
N.B.1 This does not work on unlisting due to scanner checks in the STIR unlisting code. Therefore, this temporary modification must be made after the GATE data is unlisted. |
I guess a fused image with the ground truth could have helped, but I take it that you say that -5.021 fits very well? Please also check forward projections of the ground truth, ideally also in a very oblique segment. |
Image based rotation check
Yes, the two offset voxels with value should be offset in only x and y from the central voxel, generated using https://github.com/UCL/STIR-GATE-Connection/blob/master/ExamplePhantoms/STIRparFiles/ThreePointActivity.par It might be that it is over rotated in a clockwise direction? Very subtle and difficult to tell on such a low resolution image. Projections(Sinogram values have been rescaled) |
Looks pretty good to me! |
With the merge of UCL/STIR#181 and the checks performed in #59, an offset of -8 will no longer work in STIR.
Note to other users. Until ML norm code in STIR is fixed to handle buckets instead of only block (UCL/STIR#838) we cannot compute the norm using the standard D690 header. However, the work around for the normalisation computation still exist: #59 (comment) |
I do believe that the randoms estimation (from delayed events) uses the same code as the normalisation sinogram computation. STIR-GATE-Connection/VoxelisedSimulation/SubScripts/EstimateRandomsFromDelayed.sh Lines 36 to 43 in ea4a62c
I believe this is evident by the RandomsEstimate sinogram (shown here after SSRB computation) for XCAT data with gaps between detectors: As I do not understand the ML code enough, I will test the randoms estimation with the modified D690 header and compare. |
The randoms estimation uses the "crystal efficiency" part of the ML norm code only. (randoms-rate = 2tau singles-rate singles-rate). It should not care about blocks and buckets, or indeed view offset. If it does, that'd be rather weird. |
Everything looks good. I was concerned it may use some of the symmetries, but it appears it doesnt. |
but results should be identical... |
The output of:
There is no However, even though it specifies Default D690: randoms_factors_block_1.txt Modified D690: randoms_factors_mod_block_1.txt |
I am unsure as the the current status of this issue or whether it is still an issue... |
Closing because I feel we fixed most of the issues here with STIR changes and rotations |
Found by @francescaleek. Discussion is at UCL/STIR#838 and UCL/STIR#837.
This needs to be resolved at the STIR level.
The text was updated successfully, but these errors were encountered: