[vtkusers] RE: [Insight-users] Please help: Image Compositing
Miller, James V (Research)
millerjv at crd.ge.com
Fri Apr 16 12:44:56 EDT 2004
I usually brute force this, using a vtkImageBlend.
I use a vtkImageMapToColors to color a label map (with a colormap of random
colors), a vtkImageMapToColors (with a window level type colormap) to adjust
the contrast and brightness of the intensity image, then give the output
of these two to vtkImageBlend.
If I want to get fancy, I might throw in a vtkImageRectilinearWipe between
the
blended output and the window leveled data.
Jim
-----Original Message-----
From: Garrett Jamie Cope [mailto:gcope at engin.umich.edu]
Sent: Friday, April 16, 2004 10:06 AM
To: vtkusers at vtk.org
Cc: insight-users at itk.org
Subject: [Insight-users] Please help: Image Compositing
All-
I have been trying to composite an image with segmented sections on it
with an image of the original data. I'm sure this has been done many times
before, but I couldn't find a previous message that helped. I was
wondering if anyone had any suggestions for the best way to do this.
Things I have already tried:
- Layering actors on one renderer, making the segmented image
semi-transparent.
- Layering renderers with one actor per renderer and again making the
segmented one semi-transparent.
Both of these resulted in just the segmented image being rendered.
Any suggestions?
Thanks in advance,
Jamie
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users
More information about the vtkusers
mailing list