Hi Marf,<br>I was thinking, may be you could use the image as an Image actor and set its opacity while rendering, <br>using Actor->SetOpacity(float)<br><br>Thanks,<br>Vikrant Manne<br><div class="gmail_quote">On Thu, Aug 13, 2009 at 9:51 AM, Anka Kochanowska <span dir="ltr"><<a href="mailto:anka@bic.mni.mcgill.ca">anka@bic.mni.mcgill.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
I am doing it just synchronizing the planes with images. Then I have separate controls for color and opacity for every image. I use vtkImageReslice to put the data in the "same" (synchronized) plane, which forces me to use the same spacing, so on one of my images I loose resolution.<div>
<div></div><div class="h5"><br>
<br>
Anka<br>
<br>
Miguel Angel Rodriguez Florido wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Anka,<br>
<br>
thanks for your email, but your proposal doesn't fix my problem. I've been playing with vtkImageBlend, but it changes the opacity of all the image.<br>
<br>
I'm trying other things. I'll post my experience.<br>
Best regards and thank you very much again.<br>
<br>
Anka Kochanowska wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi!<br>
You could use vtkImageBlend.<br>
Anka<br>
<br>
<br>
Miguel Angel Rodriguez Florido wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
Perhaps this is an obvious question, but I've been playing with textures and lookuptables but I didn't get what I was looking for. I don't know where I'm wrong.<br>
<br>
I would like to overlay two images (a color/graylevel image and its segmented version), and then I would like to change the opacity of any label or change its color. Could anybody give me any hint?.<br>
<br>
Thank you very much.<br>
Best regards.<br>
<br>
------------------------------------------------------------------------ <br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
</blockquote></blockquote>
<br>
</blockquote>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br>