Libraryless. Click here for Pure Java version (4961L/29K).
persistable sclass SemanticImage<A> extends Var<A> implements MakesBufferedImage { IIntegralImage image; *(IIntegralImage *image, A value) { super(value); } *(A value, IIntegralImage *image) { super(value); } public int getWidth() { ret image.getWidth(); } public int getHeight() { ret image.getHeight(); } public BufferedImage getBufferedImage() { ret image.getBufferedImage(); } IIntegralImage image aka img aka getImage() { ret image; } }
Began life as a copy of #1031348
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032465 |
Snippet name: | SemanticImage - integral image plus semantic object of user-defined type (call get() to get) |
Eternal ID of this version: | #1032465/6 |
Text MD5: | 8d9c7289ad29b20b34876f32a583e16a |
Transpilation MD5: | b8afd7b2dabf7a9acc2ac1952bce1da2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-08 04:13:56 |
Source code size: | 491 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 151 / 285 |
Version history: | 5 change(s) |
Referenced in: | #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |