[vtkusers] Feed two vtkImageSlice with different resolution / spacing into vtkRectilinearSwipe

Sophonet vtk12af6bc42 at kant.sophonet.de
Fri Jan 19 09:25:33 EST 2018


Hi list,

in an application, I would like to combine two images with 
vtkRectilinearSwipe. However, docs say that spacing and resolution need 
to match. Obviously I could use vtkImageReslice to adjust them for a 
first image to match the ones of a second image, but for large 3D 
vtkImageData sets, memory footprint just for visualization might not be 
necessary.

Therefore, I was wondering about a lazy but fast approach of just 
reslicing one vtkImageSlice (which I have from a vtkImageResliceMapper) 
to another for eventually feeding the two into vtkRectilinearSwipe.

Any ideas?

Thanks,

          Sophonet




More information about the vtkusers mailing list