static float rgbContrast(RGBImage img) { BWImage bw = new BWImage(img); ret bw.maximumBrightness()-bw.minimumBrightness(); }
Began life as a copy of #1006366
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006375 |
Snippet name: | rgbContrast |
Eternal ID of this version: | #1006375/1 |
Text MD5: | 1ecb31d52dd5e19b19cab236a922b178 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-29 22:20:48 |
Source code size: | 131 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 447 / 473 |
Referenced in: | [show references] |