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

12
LINES

< > BotCompany Repo | #1034246 // IImageRegions - collection of regions of an image (sets of pixels)

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

Transpiled version (5407L) is out of date.

1  
interface IImageRegions<Img extends WidthAndHeight> {
2  
  public L<IImageRegion<Img>> regions();
3  
  
4  
  // for each pixel: region index (starting at 1)
5  
  int[] regionMatrix();
6  
  
7  
  Img image();
8  
  
9  
  int nRegions();
10  
  
11  
  IImageRegion<Img> getRegion(int i);
12  
}

Author comment

Began life as a copy of #1033952

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034246
Snippet name: IImageRegions - collection of regions of an image (sets of pixels)
Eternal ID of this version: #1034246/5
Text MD5: 168f64a699092a56f77afbe154cf6650
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-14 19:47:54
Source code size: 264 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 207 / 304
Version history: 4 change(s)
Referenced in: [show references]