Never mind! Saw the SetOpacity method. I should not drink anymore.....<br><br><div><span class="gmail_quote">On 4/12/07, <b class="gmail_sendername">Luca Pamparana</b> &lt;<a href="mailto:luca.pamparana@gmail.com">luca.pamparana@gmail.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi everyone,<br><br>I am playing around with the vtkImageBlend filter and I am having trouble with getting the underlying image to show through.
<br><br>So, the setup is as follows:<br><br>I have two seperate image reslicers for the two input image volumes. Their output port both connect to an input port of the vtkImageBlend filter
<br><br>When I load the volumes, I center them in a viewing display. This is achieved as follows:<br><br>// Set the output extent to our viewer size<br>slicer1-&gt;SetOutputExtent(0, (int)m_sizeX - 1, 0, (int)m_sizeY -1, 0, 0);
<br>slicer2-&gt;SetOutputExtent(0, (int)m_sizeX - 1, 0, (int)m_sizeY -1, 0, 0);<br><br>// After this set the output origin to be the center of the view.<br><br>Now, as you can see the images occupy the whole view. Now, when I display the final result, the underlying image cannot be seen at all. Is there a way to set the transparancy so that the underlying image can be seen. Right now, the overlaid image is totally opaque...
<br><br>Thanks for your help.<br><span class="sg"><br>Luca<br>
</span></blockquote></div><br>