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

wrong coefficients in scatter glare correction example #101

Closed
PHU-medPhoton opened this issue Apr 27, 2017 · 3 comments
Closed

wrong coefficients in scatter glare correction example #101

PHU-medPhoton opened this issue Apr 27, 2017 · 3 comments

Comments

@PHU-medPhoton
Copy link

Hi Simon.

I just saw that in your scatter glare corretion example "rtkscatterglarecorrection.cxx" there are two coefficients configured (lines 78 and 79). I guess you wanted to configure the coefficients as described by Poludniowski but the b3 coefficient is wrong (106.244f instead of 10.6244f). This produces huge artefacts and therfore could insecure other users.

Best,
Philipp Huber
medPhoton

@sbrousmiche
Copy link

sbrousmiche commented Apr 27, 2017 via email

@SimonRit
Copy link
Collaborator

Hi,
Thanks for your answer Sébastien (it's his filter, not mine!). A better solution would therefore to set them to irrelevant defaults (e.g., itk::NumericTraits::max()) and issue an error if they are not set prior to their use?
Simon

@SimonRit
Copy link
Collaborator

Fixed with a87ae69

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

No branches or pull requests

3 participants