From: Riikka on
My program superimposes two images and makes the topmost image partly transparent. However, I would like some parts of the topmost image to be fully transparent. In my images, these pixels have the value zero. So how can I put different transparency rates on different parts of the image?
From: Riikka on
Of course, right after posting this message I found out how to do that. If someone needs help on this, see this post:

http://www.mathworks.com/matlabcentral/newsreader/view_thread/270635#727143
From: us on
"Riikka " <nurminen_riikka(a)hotmail.com> wrote in message <i1jr45$cq4$1(a)fred.mathworks.com>...
> My program superimposes two images and makes the topmost image partly transparent. However, I would like some parts of the topmost image to be fully transparent. In my images, these pixels have the value zero. So how can I put different transparency rates on different parts of the image?

a hint:

help alpha;

us