Libraryless. Click here for Pure Java version (14826L/87K).
sclass FastRegions_RGBImage extends AbstractFastRegions<RGBImage> { int getColor(int pos) { ret image.getIntPixel_noRangeCheck(pos); } RGB rgbForRegion(ImageRegion r) { ret RGB(r.firstPixelLogicalColor()); } *(RGBImage img) { super(img); } }
Began life as a copy of #1033761
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034523 |
Snippet name: | FastRegions_RGBImage |
Eternal ID of this version: | #1034523/3 |
Text MD5: | ddb5b381add13adda986d70c5a4d248a |
Transpilation MD5: | b35dd1b14190c866dac56da050de2063 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-08-27 01:28:38 |
Source code size: | 267 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 147 / 254 |
Version history: | 2 change(s) |
Referenced in: | #1003674 - Standard Classes + Interfaces (LIVE continued in #1034167) #1036013 - DifferentialRegionsMaker_RGBImage |