[vtkusers] Controlling the intensity and brightness of two images and blending them

Anka Kochanowska anka at bic.mni.mcgill.ca
Mon Apr 16 10:01:36 EDT 2007


Hi!
I am doing it for om\ne of the blended images. I use 
vtkImageMapToWindowLevelColors and set window and level. In my case I 
set it before blend and never change it later, so I do not know if it is 
a good idea.
Anka

Luca Pamparana wrote:

> Hi everyone,
>
> I need to blend two images using vtkImageBlend. I have been able to do 
> so but what I want to do is control the brightness and contrast of 
> each of these images in the blended result.
>
> With a single image it was pretty simple as I was using the image 
> mapper associated with that actor and using the SetColorWindow and 
> SetColorLevel functions from the mapper.
>
> But now I have two inputs and I feed the blended output to the mapper. 
> However, with this scheme I cannot control the brightness/contrast of 
> both the images...or am I missing something?
>
> Thank you for your help.
>
> Luca
>
>------------------------------------------------------------------------
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the 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