sclass IIFlipAxes extends Meta implements IIntegralImage { RegisteredReference originalImage = new(this); int w, h; *() {} *(IIntegralImage originalImage) { this.fullImage.set(fullImage); w = fullImage.getHeight(); h = fullImage.getWidth(); } public int getWidth() { ret w; } public int getHeight() { ret h; } public double getIntegralValue(int x, int y, int channel) { ret originalImage->getIntegralValue(y, x, channel); } public double getIntegralValue(int x, int y) { ret originalImage-->getIntegralValue(y, x); } public BufferedImage getBufferedImage() { ret clipBufferedImage(fullImage->getBufferedImage(), x1, y1, w, h); } }