[vtkusers] Normalize the size of 3D Image

Dženan Zukić dzenanz at gmail.com
Wed Jun 29 07:15:10 EDT 2011


Use methods SetOrigin and SetSpacing.

HTH

On Wed, Jun 29, 2011 at 08:44, Sungmin Hong <sungmin.hong85 at gmail.com>wrote:

> Hi, ****
>
> ** **
>
> I have trouble with making the set of 3D data with same size without loss
> of data from the set which its 3D images’ sizes are all different.****
>
> ** **
>
> I’ve searched for a while, but the only thing I have found was
> vtkImageNormalize, ****
>
> ** **
>
> and I guess vtkImageNormalize only normalizes the scalar value of each
> coordinate, not the coordinate itself.****
>
> ** **
>
> So my question is,****
>
> ** **
>
> How can I normalize the size of 3D Image? ****
>
> ** **
>
> For example, changing extent from ( 0, 200, 0, 200, 0, 100 ) to ( 100, 100,
> 100 ) and its position according to new extent. ( i.e. ( 25, 25, 1 ) to (
> 12.5, 12.5, 0.5 ) )****
>
> ** **
>
> Any advices will be very appreciated. ****
>
> ** **
>
> Thank you.****
>
> ** **
>
> Sungmin****
>
> ** **
>
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110629/0de8e358/attachment.htm>


More information about the vtkusers mailing list