[ITK] [ITK-users] SimpleITK Downsampling results in blank image

Jameson Merkow jmerkow at gmail.com
Tue Nov 18 14:52:05 EST 2014


>
>
> BUG: you should also scale the origin.
>

I guess this is whats confusing. The origin should be the same (or very
close due to spacing changes).  I am resampling and updating the spacing to
be the inverse of the scale. The new image should have the same physical
dimensions, but sampled at a different scale (fewer or greater number of
voxels).

Its possible that I am using ResampleImageFilter wrong. Think the
ShrinkImageFilter or ExpandImageFilter with non-integer values.
If I do the equivalent operation with Shrink/Expand, the origin, spacing
and size end up the same as what I calculate for the resample image filter,
but the image comes out blank.


-Jameson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20141118/2c176917/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