Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffsupes authored Oct 7, 2017
1 parent babb148 commit dac0d81
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,20 @@ Greenscreen Matting done on still images and greenscreen videos.
Results and code included within.
dassg@rpi.edu

Matting done according to the greenscreen matting equation:

alpha_matte = 1 - a1*( Green_layer - a2*Blue_layer );

and

alpha_matte(foreground_region) = power(alpha_matte(foreground_region),gamma);

a1: tunable parameter
a2: tunable parameter
gamma: tunable parameter, represents power
Green_layer : Green layer of source image
Blue_layer : Blue layer of source image

If you're on linux, you can use some of the software I wrote (if you have OpenCV 3.0 Installed):

MATTE AND COMPOSITE GENERATOR
Expand Down

0 comments on commit dac0d81

Please sign in to comment.