Libraryless. Click here for Pure Java version (5827L/35K).
static double bwii_averageBrightnessOfArea(BWIntegralImage img, int x1, int y1, int x2, int y2) { ret img.getPixelAverage(x1, y1, x2, y2); } static double bwii_averageBrightnessOfArea(BWIntegralImage img, Rect r) { ret bwii_averageBrightnessOfArea(img, r.x, r.y, r.x2(), r.y2()); }
Began life as a copy of #1025228
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030501 |
Snippet name: | bwii_averageBrightnessOfArea |
Eternal ID of this version: | #1030501/6 |
Text MD5: | 543e0ce6b499784716a81a55630421d1 |
Transpilation MD5: | d1b9540a42535a4de1b561a0e703deba |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-01-02 17:05:55 |
Source code size: | 292 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 198 / 283 |
Version history: | 5 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |