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

5
LINES

< > BotCompany Repo | #1010151 // pixelSetBounds - bounding box of PixelSet [OpenIMAJ]

JavaX fragment (include)

1  
static Rect pixelSetBounds(PixelSet set) {
2  
  Rect r = openImajRectangleToRect(set.calculateRegularBoundingBox());
3  
  r.w++; r.h++;
4  
  ret r;
5  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010151
Snippet name: pixelSetBounds - bounding box of PixelSet [OpenIMAJ]
Eternal ID of this version: #1010151/3
Text MD5: deadfb19fa9b9f46cb645c42efbdc13b
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-17 18:37:32
Source code size: 144 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 495 / 560
Version history: 2 change(s)
Referenced in: [show references]