[vtkusers] Problem in using vtkImageBlend and vtkImageConstantPad

Margaretha Sulistyoningsih margaretha_s2002 at yahoo.com
Sat Nov 13 08:43:40 EST 2004


Hallo,
 
I use vtkImageBlend to blend two images. Each image is first padded using vtkImageConstantPad. My problems are:
- When the constant of the pad is set to 0, then it seems that the first image is not covered by the second image. 
- Opacity of the first image (image number 0) is always 1, even I set both opacities as follows:
m_pImageBlendFusion->SetOpacity(0, opacity);
m_pImageBlendFusion->SetOpacity(1, (1-opacity));
 
Please help me to solve these problems. Thank you very much in advance.
 
br,
.Margaretha.
 

			
---------------------------------
Do you Yahoo!?
 Check out the new Yahoo! Front Page. www.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20041113/f8b2ef1b/attachment.htm>


More information about the vtkusers mailing list