Libraryless. Click here for Pure Java version (13869L/80K).
1 | static BWImage scaledBWImageFromBWIntegralImage(int w, IBWIntegralImage img) { |
2 | ret scaledBWImageFromBWIntegralImage(img, w); |
3 | } |
4 | |
5 | static BWImage scaledBWImageFromBWIntegralImage(IBWIntegralImage img, int w, int h default heightForWidth(img, w)) { |
6 | ScaledBWImageFromBWIntegralImage op = new(img, w, h); |
7 | op.run(); |
8 | ret op.result; |
9 | } |
10 | |
11 | static BWImage scaledBWImageFromBWIntegralImage(int w, int h, IBWImage img) { |
12 | ret scaledBWImageFromBWIntegralImage(w, h, toIBWIntegralImage(img)); |
13 | } |
Began life as a copy of #1033440
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033677 |
Snippet name: | scaledBWImageFromBWIntegralImage |
Eternal ID of this version: | #1033677/6 |
Text MD5: | 09c77d8f1c835d5508d25af2792dd9f0 |
Transpilation MD5: | 7a32e3898d10027089d82eb81008890e |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-07-21 20:02:35 |
Source code size: | 497 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 158 / 274 |
Version history: | 5 change(s) |
Referenced in: | [show references] |