pinocchio

Curve Correction

Mar 18th, 2013
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.16 KB | None | 0 0
  1. function new_image = curve_correction(image, value)
  2.    
  3.     image = double(image);
  4.     image = image ./ 255;
  5.     new_image = 1 - e .^ (- value * image);
  6.  
  7. end
Advertisement
Add Comment
Please, Sign In to add comment