[vtkusers] 2D image in XY axis with vtkImageData

Dženan Zukić dzenanz at gmail.com
Wed Mar 14 11:43:25 EDT 2012


I think it is easy to throw away the last dimension (be it t in xyzt or z
in xyz), but not one of the middle dimensions. ITK has extract image
filter<http://www.itk.org/Doxygen/html/classitk_1_1ExtractImageFilter.html>for
that.

On Wed, Mar 14, 2012 at 16:04, Jothybasu Selvaraj <jothybasu at gmail.com>wrote:

> Hi all,
>
> I want to create a 2D imageSlice manually, So I am setting
> SetDimesnisons(10,0,10).
>
> But it does't work for zero in Y axis, but if I set it to zero in Z, it
> works.
>
> Is vtkImageData supposed to be made up of several slices in XZ axis and
> not in XY?
>
> Thanks
>
> --
> Jothy
>
>
> _______________________________________________
> 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/20120314/b3fc52cd/attachment.htm>


More information about the vtkusers mailing list