Libraryless. Click here for Pure Java version (4312L/24K).
1 | sclass IISwapAxes extends Meta implements IIntegralImage {
|
2 | RegisteredReference<IIntegralImage> originalImage = new(this); |
3 | int w, h; |
4 | |
5 | *() {}
|
6 | *(IIntegralImage originalImage) {
|
7 | this.originalImage.set(originalImage); |
8 | w = originalImage.getHeight(); |
9 | h = originalImage.getWidth(); |
10 | } |
11 | |
12 | public int getWidth() { ret w; }
|
13 | public int getHeight() { ret h; }
|
14 | |
15 | public double getIntegralValue(int x, int y, int channel) {
|
16 | ret originalImage->getIntegralValue(y, x, channel); |
17 | } |
18 | |
19 | public double getIntegralValue(int x, int y) {
|
20 | ret originalImage->getIntegralValue(y, x); |
21 | } |
22 | } |
Began life as a copy of #1031960
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032182 |
| Snippet name: | IISwapAxes - swap X and Y axis |
| Eternal ID of this version: | #1032182/8 |
| Text MD5: | ef192ac0d890156b97dc05e2ccfd0df5 |
| Transpilation MD5: | e571f9ffd590b5295cfe08fe35cbd997 |
| Author: | stefan |
| Category: | javax / image recognition |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-08-17 19:36:22 |
| Source code size: | 624 bytes / 22 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 350 / 532 |
| Version history: | 7 change(s) |
| Referenced in: | [show references] |