[vtkusers] how to get the get the currently displayed image

José M. Rodriguez Bacallao jmrbcu at gmail.com
Tue Jan 15 09:34:41 EST 2013


hi folks, I need to get the currently displayed image and save it to a
dicom file and I don't want to user vtkWindowToImageFilter, the problem
with this filter is that it only save one slice (including annotations) and
I need to save all slices in the current orientation. My orientations are
set using the camera view up, this is an example pipeline:

vtkGDCMImageReader -> vtkImageChangeInformation -> vtkImageReslice ->
vtkImageSlice -> vtkRenderer -> vtkRenderWindow

I am using python by the way.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130115/4db70144/attachment.htm>


More information about the vtkusers mailing list