[ITK-users] Connecting multiframe dicom file to VTK
Matt McCormick
matt.mccormick at kitware.com
Fri Aug 28 19:52:49 EDT 2015
Hi Marcos,
Are you calling ->Update() on connector?
Matt
On Fri, Aug 28, 2015 at 7:37 PM, Marcos <fotosentido at gmail.com> wrote:
> 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.
>
> _____________________________________
> 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 Insight-users
mailing list