Advertisement
urutehe1

AlgoGray

Apr 8th, 2019
1,381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.15 KB | None | 0 0
  1. for ($y=0; $y < $height; $y++) {
  2.     for ($x=0; $x < $width; $x++) {
  3.         $abu[$x][$y] = round(($r[$x][$y] + $g[$x][$y] + $b[$x][$y]) / (float) 3);
  4.     }
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement