Skip to content
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

ENH: Account for lateral detector offsets in Zeng's forward projector #618

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SimonRit
Copy link
Collaborator

No description provided.

@arobert01
Copy link
Collaborator

Looks good to me, sorry I didn't take it into account in the first place. Should we do the same for the back projector ?

@SimonRit
Copy link
Collaborator Author

Looks good to me, sorry I didn't take it into account in the first place. Should we do the same for the back projector ?

Good point, I have force-pushed a modification. Note that taking the backprojector is not exactly the adjoint of the forward, I believe we would need to splat the rotation instead of taking the inverse. But that can be done in another PR.

pointSlice.GetVectorFromOrigin() * m_VectorOrthogonalDetector;
}
if (this->GetInput(2))
{
m_AttenuationMapTransform->SetRotation(0., angle, 0.);
m_Transform->SetTranslation(itk::MakeVector(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should not it be m_AttenuationMapTransform instead of m_Transform ?

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.

2 participants