Advertisement
Voldemord

[POC] Obniżanie poziomów szarości

Mar 3rd, 2020
502
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.11 KB | None | 0 0
  1. obraz_we = double(obraz_we);
  2. tmp_round(255/nowy_poz);
  3. obraz_wy = uint8((fix(obraz_we/tmp) + 0.5) * tmp);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement