[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/insight-users/attachments/20150829/19c85f8f/attachment.html>


More information about the Insight-users mailing list