final AffineTransform g2w = new AffineTransform((AffineTransform) baseGridToWorld);
// move it to the corner
g2w.concatenate(CoverageUtilities.CENTER_TO_CORNER);
// keep into account overviews and subsampling
final OverviewLevel level = request.imageManager.overviewsController.resolutionsLevels
.get(imageChoice);
final OverviewLevel baseLevel = request.imageManager.overviewsController.resolutionsLevels.get(0);
final AffineTransform2D adjustments = new AffineTransform2D(
(level.resolutionX / baseLevel.resolutionX)
* baseReadParameters.getSourceXSubsampling(), 0, 0,
(level.resolutionY / baseLevel.resolutionY)
* baseReadParameters.getSourceYSubsampling(), 0, 0);