From: Sowmya on
I have overlayed 2 images and used Alpha Data to set transparency.. Now i need to store the resultant image in the output window to do some enhancement..How to store this overlayed image obtained from the figure window?..
From: Ashish Uthama on
On Thu, 15 Apr 2010 00:39:03 -0300, Sowmya <sowmya_h88(a)yahoo.com> wrote:

> I have overlayed 2 images and used Alpha Data to set transparency.. Now
> i need to store the resultant image in the output window to do some
> enhancement..How to store this overlayed image obtained from the figure
> window?..

http://en.wikipedia.org/wiki/Alpha_compositing#Alpha_blending

compositeImage = (1-alpha).*image1 + alpha.*image2