Skip to content

ENH: Fix Parker weighting to not discard first and last projections - #974

Open
axel-grc wants to merge 1 commit into
RTKConsortium:mainfrom
axel-grc:HalfStep
Open

ENH: Fix Parker weighting to not discard first and last projections#974
axel-grc wants to merge 1 commit into
RTKConsortium:mainfrom
axel-grc:HalfStep

Conversation

@axel-grc

Copy link
Copy Markdown
Collaborator

Extend the short scan range by half an angular step on each side so that the first and last projections receive non-zero Parker weights. Previously, these projections were at the ramp-up/ramp-down boundaries and received zero weight, effectively throwing them away. The acquisition actually starts half a step before the first projection and ends half a step after the last, so the weighting should reflect this.

Fix #870

@SimonRit SimonRit left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a quite technical problem to address. I'm pretty sure this won't work as there is does not fix the weight by GetAngularGaps in FDKWeightProjectionFilter. A simple test should immediately show a wrong reconstruction. It's a bit worrying that it does not show in the CI.

// the first and last projections receive non-zero Parker weights.
if (nProj > 1)
{
double angularStep = (lastAngle - m_FirstAngle) / (nProj - 1);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer to add half the first / last angular step on each side rather than an average angular step.

Extend the short scan range by half an angular step on each side so
that the first and last projections receive non-zero Parker weights.
Previously, these projections were at the ramp-up/ramp-down boundaries
and received zero weight, effectively throwing them away. The acquisition
actually starts half a step before the first projection and ends half a
step after the last, so the weighting should reflect this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parker weighting should not throw away the first and the last projections

2 participants