Libraryless. Click here for Pure Java version (14104L/82K).
static <Img extends WidthAndHeight> L<IImageRegion<Img>> g22_brightRegions(Iterable<IImageRegion<Img>> regions, int threshold default 128) { ret filter(regions, r -> r.brightness() >= threshold); }
Began life as a copy of #1035101
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036552 |
Snippet name: | g22_brightRegions |
Eternal ID of this version: | #1036552/1 |
Text MD5: | d2615f96fe92649b5a0a5e37b0515df7 |
Transpilation MD5: | b0d0d1605a43e634630a8e6815a1366c |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-02-12 21:18:33 |
Source code size: | 201 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 172 / 244 |
Referenced in: | #761 - New #629 - Standard functions list (LIVE) - continued on #1006654 |