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

mincbbox: hard coded step size 1.0 #18

Open
gdevenyi opened this issue Jan 7, 2017 · 0 comments
Open

mincbbox: hard coded step size 1.0 #18

gdevenyi opened this issue Jan 7, 2017 · 0 comments

Comments

@gdevenyi
Copy link
Contributor

gdevenyi commented Jan 7, 2017

  1. The first issue is with the option -mincresample, where it will print a
    step of 1.0 regardless of the actual step of the volume:

print ("-step 1.0 1.0 1.0 -start %f %f %f -nelements %d %d %d\n",
minx, miny, minz, VIO_ROUND(maxx-minx)+1, VIO_ROUND(maxy-miny)+1,
VIO_ROUND(maxz-minz)+1);

The step should probably be
(max{x,y,z}-min{x,y,z})/(v_max{x,y,z}-v_min{x,y,z}).

Reported on mailing list:
http://www.bic.mni.mcgill.ca/pipermail/minc-users/2017-January/004589.html

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