[vtkusers] Correct coordinate transformations for DICOM data set.
david.gobbi at gmail.com
Thu Aug 21 13:51:50 EDT 2014
For the default position of the VTK camera,
X points right
Y points up
Z points out of the screen
So, yes, if one simply tries to slap a DICOM image up on
the screen with VTK, it will be displayed with the wrong
orientation. After all, VTK is a general-purpose graphics
library, so its default settings are not tuned specifically
Setting up the camera properly, so that you get the desired
view of your data, is a must.
On Thu, Aug 21, 2014 at 11:14 AM, Vipul Pai Raikar <vpai at g.clemson.edu> wrote:
> Hello Dr Gobbi,
> Well as you explained, I implemented the solution. It works like a charm. I
> agree with you that its quite a few lines of code to get it to work, but it
> indeed helped my better grasp the concept.
> As well as it worked, there was however an issue with the rendering being
> flipped in the Y-direction. I approached this problem by manipulating the
> camera associated with the renderer. I remember from some of your earlier
> posts that I read here, you explicitly advise setting up the camera by your
> self. As a result the rendering is now oriented correctly. I was just
> wondering if this was a normal thing or is the flip the byproduct of
> something else? ; and if this approach is correct.
> I also can now correctly position my tracker data.
> best regards,
> View this message in context: http://vtk.1045678.n5.nabble.com/Correct-coordinate-transformations-for-DICOM-data-set-tp5728309p5728324.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> Powered by www.kitware.com
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
More information about the vtkusers