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

Different outputs with rtkfdk when modifying --subsetsize #36

Closed
SimonRit opened this issue Jun 13, 2016 · 1 comment
Closed

Different outputs with rtkfdk when modifying --subsetsize #36

SimonRit opened this issue Jun 13, 2016 · 1 comment

Comments

@SimonRit
Copy link
Collaborator

The following four commands produce different outputs:
rtksimulatedgeometry -n 180 -o g
rtkprojectshepploganphantom -g g --dimension 512 -o proj.mha
rtkfdk -p. -r ^proj.mha$ -o fdk16.mha --subsetsize 16
rtkfdk -p. -r ^proj.mha$ -o fdk32.mha --subsetsize 32
The maximum absolute difference between corresponding pixels of fdk16.mha and fdk32.mha is 5.1e-16.

@SimonRit
Copy link
Collaborator Author

I think the problem is that the ramp filter does a 3D FFT with different sizes depending on --subsetsize. This can be reproduced with the new option --subsetsize of the command line tool rtkramp:

rtkramp -p . -r ^proj.mha$ -o ramp16.mha --subsetsize 16
rtkramp -p . -r ^proj.mha$ -o ramp32.mha --subsetsize 32
diff ramp16.mha ramp32.mha

I'm closing this issue because I don't think it is really an issue, just numerical limitations.

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

1 participant