static IIntegralImage toIISingleColorIfPossible(IIntegralImage img) { double[] color = uRoot(img).color(); if (!allFractionsZero(color)) ret img; ret IISingleColor(doublesToInts(color)); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032026 |
| Snippet name: | toIISingleColorIfPossible [dev.] |
| Eternal ID of this version: | #1032026/1 |
| Text MD5: | 2fc8790e6d933f769ab49e0e2f666921 |
| Author: | stefan |
| Category: | javax / image recognition |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-08-11 03:10:42 |
| Source code size: | 202 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 366 / 399 |
| Referenced in: | [show references] |