Hi, VTKusers,<br><br>I have a map as the attached file (map2.png). I&#39;d like to make the white color (the land) part totally transparent, but the blue color totally opaque ( the ocean part), because I am going to overlay this map on top of another image(
map.jpg). The effect should be the color changes displayed in the land part, the ocean part should be masked. Jonathan and Dominik suggested using vtkImageThreshold and vtkImageMask to combine the images. (<a href="http://public.kitware.com/pipermail/vtkusers/2007-August/092195.html">
http://public.kitware.com/pipermail/vtkusers/2007-August/092195.html</a>) I searched previous messages in this list, but couldn&#39;t figure it out so far. Could anyone tell me what is the correct procedure to use these vtk classes? What should be the input &amp; output of them? Or is there any other ways to make part of an image transparent and overlay it on another?
<br><br>Thanks,<br>Janny<br>