[Insight-users] How to down resample 3D image
Luis Ibanez
luis.ibanez at kitware.com
Tue Feb 24 07:59:52 EST 2009
Hi Ted,
Please post more information.
There is no much help that we could provide
base solely on the content of your email. :-/
Please post:
- Input Image Information
- Origin in mm
- Orientation (direction cosines)
- Spacing in mm
- Number of pixels along each dimension
- Output Image Parameters
- Origin in mm
- Orientation (direction cosines)
- Spacing in mm
- Number of pixels along each dimension
- Your source code
- We can't tell what is wrong in
your code if we can not see it :-)
You may find useful to look at the multiple examples of
resampling described in the ITK Software Guide
http://www.itk.org/ItkSoftwareGuide.pdf
and the associated source code in the directory
Insight/Examples/Filtering/
ResampleImageFilter.cxx
ResampleImageFilter2.cxx
ResampleImageFilter3.cxx
ResampleImageFilter4.cxx
ResampleImageFilter5.cxx
ResampleImageFilter6.cxx
ResampleImageFilter7.cxx
ResampleImageFilter8.cxx
ResampleImageFilter9.cxx
ResampleOrientedImageFilter.cxx
ResampleVolumesToBeIsotropic.cxx
SubsampleVolume.cxx
BTW: You don't need to crop the images in order to resample them.
Please post the information above,
Thanks
Luis
-----------------------------------------------------------------------------
On Tue, Feb 24, 2009 at 7:44 AM, Mr Spit <mrspit08 at gmail.com> wrote:
> I have problem with down resampling 3D MRI image. The base image is
> 256/256/256 I would like to make it 50/50/50.
> ImageResamplingFilter isn't working correctly - the picture is moving.
> Or there is a easy way to do this because as I think I'll have to crop this
> picture after all - but how?
>
> Ted
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> 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://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090224/f853efef/attachment-0001.htm>
More information about the Insight-users
mailing list