[vtkusers] How to overlay two images with different opacities, ..

Anka Kochanowska anka at bic.mni.mcgill.ca
Thu Aug 13 10:51:00 EDT 2009


Hi,
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.

Anka

Miguel Angel Rodriguez Florido wrote:
>     Hi Anka,
>
>     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.
>
>     I'm trying other things. I'll post my experience.
>     Best regards and thank you very much again.
>
> Anka Kochanowska wrote:
>> Hi!
>> You could use vtkImageBlend.
>> Anka
>>
>>
>> Miguel Angel Rodriguez Florido wrote:
>>>     Hi all,
>>>
>>>     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.
>>>
>>>     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?.
>>>
>>>     Thank you very much.
>>>     Best regards.
>>>
>>> ------------------------------------------------------------------------ 
>>>
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at 
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the VTK FAQ at: 
>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>   
>



More information about the vtkusers mailing list