[ITK] [ITK-users] Connecting multiframe dicom file to VTK

Marcos fotosentido at gmail.com
Fri Aug 28 19:37:02 EDT 2015


Hi,

I'm using itk::ImageToVTKImageFilter to connect itk::ImageFileReader with
vtkImageViewer2.

I can visualize my image in QVTKWidget.

I don't know if I'm reading correctly with ITK to pass that to VTK:

I'd like to access every frame, but vtkImageViewer2::getMaxSlice() is
returning 0 every time.

I'm connecting the pipeline with:

imageData->DeepCopy(connector->GetOutput());

imageViewer->SetInputData(imageData);



Any ideas?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150829/19c85f8f/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