View unanswered posts | View active topics It is currently 28 Mar 2024, 23:08



Reply to topic  [ 3 posts ] 
Image Merging 
Author Message

Joined: 22 Mar 2008, 16:09
Posts: 26
Reply with quote
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


24 Apr 2008, 20:45
Profile

Joined: 22 Mar 2008, 16:09
Posts: 26
Reply with quote
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?


25 Apr 2008, 12:41
Profile

Joined: 21 Mar 2008, 22:35
Posts: 131
Reply with quote
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


26 Apr 2008, 00:11
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Google [Bot] and 52 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.