EyesWeb XMI Forum
http://forum.eyesweb.infomus.org/

Image Merging
http://forum.eyesweb.infomus.org/viewtopic.php?f=24&t=8
Page 1 of 1

Author:  gavspav [ 24 Apr 2008, 20:45 ]
Post subject:  Image Merging

What is the difference between the Picture in Picture and image Merging blocks?

I'm superimposing a Jpg image over an avi stream.

Picture in Picture works - Image merging throws an unidentified error.

The composition parameter seems to have no effect though.

What is the recommended a way of compositing like this with Alpha Channels?

Thanks,

Gavin

Author:  gavspav [ 25 Apr 2008, 12:41 ]
Post subject:  Re: Image Merging

OK I have read the difference between PinP and merge (though I dont quite understand it!)

And noticed that there is an alpha option in the Video File Reader :oops:

Is there anyway of adding an alpha channel/mask to an image at run time?

Author:  paolo [ 26 Apr 2008, 00:11 ]
Post subject:  Re: Image Merging

The ComposeChannels block (ImageAndVideo.processing) can do that work. By default it expectes three channels, but alpha can be enabled.
It's not very efficent though, as you first need to decompose the image using the ExtractChannel block, and then compose it again.
Next release will include a block to perform this specific operation,

Paolo

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/