[vtkusers] x-ray effect in volume rendering
Rocco Gasteiger
post at rocco-gasteiger.de
Fri Oct 23 07:23:20 EDT 2009
Hello,
Yes, you can! ;-)
It is quite simply. In your composite function accumulate all sampled scalar
values (or opacity values) on your ray and divide it by
numSteps*globalMaximumScalarValue at the end (to get the average between 0
and 1). I've implement it and it should work.
Best regards, Rocco
--------------------------------------------------
Dipl.-Ing. Rocco Gasteiger
Otto-von-Guericke University
Faculty of Computer Science
Department of Simulation and Graphics
Universitätsplatz 2, 39106 Magdeburg, Germany
Office: G29-223
Phone: +49 391 67 127 59
Fax: +49 391 67 111 64
Website: http://wwwisg.cs.uni-magdeburg.de/cvcms/
--------------------------------------------------
-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf
Of baliki2 at freemail.gr
Sent: Friday, October 23, 2009 11:30 AM
To: vtkusers at vtk.org
Subject: [vtkusers] x-ray effect in volume rendering
Is there a way that i can achieve an x-ray effect in volume rendering of
DICOM images?
I want to see the constructed volume as a 2D xray-like "image".
I've tied the composite function combined with some tranfer and color
functions, but i didn't take the exact x-ray effect. The images i use are of
short type.
_______________________________________________
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:
http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list