Quantcast
Channel: VideoHelp Forum
Viewing all articles
Browse latest Browse all 45531

My HDR function

$
0
0
Hi i have done a function for hdr that works very good when i use it for my 8mm transfer heh it did take me many many hours to find the right method or that did work very good for me anyway here it is

clip a_stab=normal exposure or low exposure
clip b_stab=High exposure

and you need HDRAGC from http://strony.aster.pl/paviko/hdragc.htm

Code:

function hdr(clip a_stab,clip b_stab)
{
ab=overlay( b_stab,a_stab,x=0,y=0,mask=b_stab,opacity=0.5,greymask=true,mode="Multiply",pc_range=true)
t=a_stab.coloryuv(autowhite=true).TurnLeft().HDRAGC(max_gain = 3.0,min_gain=0.5,coef_gain=2.0,coef_sat=2.00,MODE=1,shadows=true,protect=1,corrector=0.8).TurnRight()
ab1=overlay(a_stab,b_stab,x=0,y=0,mask=a_stab,opacity=0.5,greymask=true,mode="hardlight",pc_range=true)
l=overlay(ab,ab1,x=0,y=0,mask=ab,opacity=1.0,greymask=true,mode="blend",pc_range=true).coloryuv(autowhite=true)
last=overlay(l,t,x=0,y=0,mask=ab,opacity=1.0,greymask=true,mode="blend",pc_range=true).TurnLeft().HDRAGC(max_gain = 1.5,min_gain=0.1,coef_gain=2.0,coef_sat=0.90,MODE=1,shadows=true,protect=1,corrector=0.8).TurnRight()
return last
}

Here is some photos of my telecine diy but on does pictures i did not use this function for HDR it was a older function that was not so good http://www.flickr.com/photos/94271811@N03/

Viewing all articles
Browse latest Browse all 45531

Trending Articles