[vtkusers] Rotate slices in vtkimageViewer2

Marcos fotosentido at gmail.com
Mon Sep 14 11:35:52 EDT 2015


I'm trying to rotate every frame of a DICOM file.

I've readed the file, and I can iterate over frames with a slider.

I'm trying to set a 90º rotation and vertical or horizontal flip.

I get this rotating the first camera. So far so good, but...

in images with width != height, the 90º rotated image appears "compressed",
I guess that's because the camera doesn't change "its view size" and tries
to "fit" all image in its projection. Not sure.

Any ideas to fix it?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150914/255060c0/attachment.html>

More information about the vtkusers mailing list