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.

interface IImageRegions<Img extends WidthAndHeight> {
  public L<IImageRegion<Img>> regions();
  
  // for each pixel: region index (starting at 1)
  int[] regionMatrix();
  
  Img image();
  
  int nRegions();
  
  IImageRegion<Img> getRegion(int i);
}

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: 206 / 303
Version history: 4 change(s)
Referenced in: [show references]