Libraryless. Click here for Pure Java version (5250L/30K).
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; } static BufferedImage integralImageToBufferedImage(IIntegralImage img) { ret img?.getBufferedImage(); }
Began life as a copy of #1019590
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025174 |
Snippet name: | integralImageToBufferedImage |
Eternal ID of this version: | #1025174/6 |
Text MD5: | d95cbe5ef565cd752f8afdac1fe5d1a2 |
Transpilation MD5: | 4cb7f6e4965d9eef2a5dfbfc684a085d |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-15 01:11:58 |
Source code size: | 378 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 311 / 423 |
Version history: | 5 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1025175 - integralImageToRGBImage #1031353 - setPixel |