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


< > BotCompany Repo | #1025174 - integralImageToBufferedImage

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

Libraryless. Click here for Pure Java version (5240L/34K).

static BufferedImage integralImageToBufferedImage(IntegralImage img) {
  if (img == null) null;
  int w = img.w, h = img.h;
  BufferedImage out = newBufferedImage(w, h);
  for y to h:
    for x to w:
      out.setRGB(x, y, ii_getPixel(img, x, y));
  ret out;

Author comment

Began life as a copy of #1019590

download  show line numbers  debug dex   

Travelled to 2 computer(s): mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1025174
Snippet name: integralImageToBufferedImage
Eternal ID of this version: #1025174/4
Text MD5: 1bbc6640aac5df220635e75bbcb9ed3c
Transpilation MD5: 9fac133af78c1be77bdae1151635f821
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-17 02:09:48
Source code size: 268 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 29 / 54
Version history: 3 change(s)
Referenced in: [show references]

Formerly at &