[vtkusers] Volume overlay problem
Sara Rolfe
smrolfe at u.washington.edu
Thu Feb 10 16:59:04 EST 2011
Hello,
I'm trying to overlay two volumes for display. I have not been able
to find an example like this, and while I did find several questions
regarding this in the email archives, none of them had answers.
However, this seems like something that would be commonly used. If
there are examples of this somewhere that I have missed, could you let
me know?
My approach is to map both objects onto the same image in different
value ranges, and then use a piecewise color map to differentiate
between them. I am attaching pictures of the object to be displayed
in black and white and the color patches to be displayed on top.
However, my display does not look like I had expected, as seen in the
third image attached. I am also including my code.
If you have any suggestions for me, please let me know!
Sara
-------------- next part --------------
A non-text attachment was scrubbed...
Name: displayColor.png
Type: image/png
Size: 27311 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110210/60c1cbde/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: displayBW.png
Type: image/png
Size: 22815 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110210/60c1cbde/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: displayProblem.png
Type: image/png
Size: 39886 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110210/60c1cbde/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VolumeRenderOverlay.cxx
Type: application/octet-stream
Size: 9604 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110210/60c1cbde/attachment.obj>
More information about the vtkusers
mailing list