[ITK] [ITK-users] Z Spacing issue in TK
Matias Montroull
matimontg at gmail.com
Fri Jul 3 22:08:13 EDT 2015
Hi,
I'm playing around with the code to convert a stack of images into an mha
file. Now, there seems to be a problem with the spacing.
All my images have spacing of 2.000003 and the resulting mha has spacing of
1.9692
I have *79 *images. What I saw is that ITK seems to calculate the spacing
between slices as the (Zmax - Zmin) / number_of_images when I think should
be (Zmax - Zmin) / (number_of_images -1)..
Am I missing something?
Thank you,
Matias.
--
Matias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150704/fc9f3e8b/attachment.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users
More information about the Community
mailing list