Warning: session_start(): open(/var/lib/php/sessions/sess_vtvev975dm5g1apnr1q75okmr4, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
sclass IIVirtualClip extends Meta implements IIntegralImage {
RegisteredReference fullImage = new(this);
int x1, y1, w, h;
*() {}
*(IIntegralImage fullImage, int *x1, int *y1, int *w, int *h) {
this.fullImage.set(fullImage);
}
public int getWidth() { ret w; }
public int getHeight() { ret h; }
public double getIntegralValue(int x, int y, int channel) {
ret fullImage->getIntegralValue(x+x1, y+y1, channel);
}
public double getIntegralValue(int x, int y) {
ret fullImage->getIntegralValue(x+x1, y+y1);
}
public BufferedImage getBufferedImage() {
ret clipBufferedImage(fullImage->getBufferedImage(), x1, y1, w, h);
}
}