SHARE
TWEET

Untitled

a guest Mar 26th, 2018 41 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.     ConvertToY8()
  4.     Crop(column,0,1,0)
  5.     Ylevels(input_low,1,input_high,output_low,output_high)
  6.     Overlay(c,last,column,0,mode="luma")
  7. }
  8. function FixRowBrightness(clip c, int row, int input_low, int input_high, int output_low, int output_high){
  9.     c
  10.     ConvertToY8()
  11.     Crop(0,row,0,1)
  12.     Ylevels(input_low,1,input_high,output_low,output_high)
  13.     Overlay(c,last,0,row,mode="luma")
  14. }
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
 
Top