[vtkusers] vtkImageData with different spacing

Paulo Henrique Junqueira Amorim paulojamorim at gmail.com
Fri Oct 5 20:54:21 EDT 2012


Thanks Vicent!



On 4 October 2012 11:12, Vincent LEFORT <vincent.lefort at aquilab.com> wrote:

>  It’s not possible to have vtkImageData with different spacing.****
>
> ** **
>
> You can use the vtkRectilinearGrid to do same thing, but vtkImageAlgorithm
> will not work on it. After you can maybe convert this rectilinear grid to
> an vtkImageData …****
>
> ** **
>
> ** **
>
> *De :* vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] *De la
> part de* Paulo Henrique Junqueira Amorim
> *Envoyé :* jeudi 4 octobre 2012 14:53
> *À :* Darshan Pai
> *Cc :* VTK Users
> *Objet :* Re: [vtkusers] vtkImageData with different spacing****
>
> ** **
>
> Hi Darshan,
>
> Thanks! Reading the class documentation says: "vtkImageChangeInformation<http://www.vtk.org/doc/nightly/html/classvtkImageChangeInformation.html>modify the spacing, origin, or extent of the data without changing the data
> itself. The data is not resampled by this filter, only the information
> accompanying the data is modified."
>
> Is it possible a vtkImageData have varied spacing?
>
> Regards,
> Paulo Amorim
>
>
> http://www.vtk.org/doc/nightly/html/classvtkImageChangeInformation.html***
> *
>
> On 4 October 2012 01:18, Darshan Pai <darshanpai at gmail.com> wrote:****
>
> I think you need to use the vtkImageChangeInformation to do this.
>
> Regards****
>
> On Wed, Oct 3, 2012 at 6:01 PM, Paulo Henrique Junqueira Amorim <
> paulojamorim at gmail.com> wrote:****
>
>  Hi all!
>
> I need generate a vtkImageData from two vtkImageData with different pixel
> spacing in the z axis. Is there any alternative to do this in the VTK?
>
> Regards,
> Paulo****
>
> _______________________________________________
> 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/20121005/555977e5/attachment.htm>


More information about the vtkusers mailing list