// x1/y1/x2/y2 are dimensions of the inner (empty) part of the rectangle // w/h = line width/height static double bwIntegralImage_whiteRectWithBlackBorder_perPixel(BWIntegralImage img, int x1, int y1, int x2, int y2, int w, int h) { ret doubleRatio(bwIntegralImage_whiteRectWithBlackBorder(img, x1, y1, x2, y2, w, h), (x2-x1+w*2)*(y2-y1+h*2)); }
Began life as a copy of #1019785
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019789 |
Snippet name: | bwIntegralImage_whiteRectWithBlackBorder_perPixel |
Eternal ID of this version: | #1019789/1 |
Text MD5: | 1e8302f5597ee6b7d2ce41802ed3ffcd |
Author: | stefan |
Category: | javax / image analysis |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-26 19:22:15 |
Source code size: | 351 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 304 / 339 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |