Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 24th August 2005, 12:36   #1  |  Link
Bester
Psi-Corps
 
Bester's Avatar
 
Join Date: Jul 2005
Posts: 46
Composite Modes

Every paint program has a layer compositing mode called "overlay". I would like to
apply this in avisynth, but I don't know how to get there.

aka from here
http://img373.imageshack.us/img373/812/comporig3oh.jpg

to there
http://img373.imageshack.us/img373/4...laymode2sa.jpg

I found this on the net:
"Overlay mode applies two different techniques. If the pixel color value is lighter than middle gray, 128 value, then Screen mode is applied. Where the pixel color value is darker then middle gray, 128, Multiply mode is applied which makes the dark parts darker."

"Multiply compares the color values of the pixels in both clips and multiplies them together. Dark areas of the clips will remain dark, lighter areas will be darkened as a result. px = (pxlayer1 * pxlayer2) / 255"

"Screen compares the color values of the pixels in both clips and multiplies the inverse values of the pixels. Lighter parts of the image will remain the same. Darker parts of the image will be lightened by this process.
Wert=255-((255-pxlayer1)*(255-pxlayer2)/255)"


Any ideas how to achieve this??
Bester is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.