static float simpleRGBDistance(RGB a, RGB b) { ret Math.abs(a.r-b.r) + Math.abs(a.g-b.g) + Math.abs(a.b-b.b); }
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: | #1006085 |
Snippet name: | simpleRGBDistance |
Eternal ID of this version: | #1006085/1 |
Text MD5: | 1c02388c42743f746e8dbeb9131086b0 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-17 14:15:29 |
Source code size: | 115 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 526 / 562 |
Referenced in: | [show references] |