Libraryless. Click here for Pure Java version (5024L/28K).
static double g22_regionFilledness(IImageRegion region) { ret doubleRatio(region.numberOfPixels(), area(region.bounds())); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033953 |
| Snippet name: | g22_regionFilledness - pixel count divided by bounding box size |
| Eternal ID of this version: | #1033953/1 |
| Text MD5: | 5f407f54a1a7d4baccc46a7f73133e5c |
| Transpilation MD5: | b3dd6def642e3a9a239c9d94e14353fe |
| Author: | stefan |
| Category: | javax / gazelle 22 |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-14 22:47:25 |
| Source code size: | 128 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 420 / 536 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |