Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1034247 // g22_darkestRegion

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5582L/31K).

static <Img extends WidthAndHeight> IImageRegion<Img> g22_darkestRegion(IImageRegions<Img> regions) {
  ret regions == null ?: lowest(regions.regions(), r -> r.brightness());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034247
Snippet name: g22_darkestRegion
Eternal ID of this version: #1034247/3
Text MD5: ac4454564778ff4cb63e2fb29455bfa7
Transpilation MD5: c12fe252bf61629856ae66fd9bb0160a
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-29 10:28:14
Source code size: 178 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 163 / 258
Version history: 2 change(s)
Referenced in: [show references]