SHARE
TWEET

Untitled

a guest Mar 26th, 2018 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function FixColumnBrightness(clip c, int column, int input_low, int input_high, int output_low, int output_high){
  2.     c
  3.     Overlay(ExtractY(),Ylevels(input_low,1,input_high,output_low,output_high).Crop(column,0,1,0),column,0,mode="luma")
  4.     CombinePlanes(last, c, planes="YUV", pixel_type="YV12")
  5. }
  6. function FixRowBrightness(clip c, int row, int input_low, int input_high, int output_low, int output_high){
  7.     c
  8.     Overlay(ExtractY(),Ylevels(input_low,1,input_high,output_low,output_high).Crop(0,row,0,1),0,row,mode="luma")
  9.     CombinePlanes(last, c, planes="YUV", pixel_type="YV12")
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top