rectangle = lookup.getBounds(i2);
BufferedImage i3 = lookup.crop(i2, rectangle);
frame.bounds.setImage(i3);
Recognition rr = new Recognition(desktopImage, rectangle);
colorTable = new BoardColorsTable(rr.matrix);
frame.analyse.init(rr.getCX(), rr.getCY());
}