at.setToTranslation(-0.5, -0.5);
simplifiedGeometry.apply(at);
// build a shape using a fast point in polygon wrapper
ROI roi = new ROIGeometry(simplifiedGeometry, false);
// run the stats via JAI
Statistic[] reqStatsArr = new Statistic[] { Statistic.MAX, Statistic.MIN,
Statistic.RANGE, Statistic.MEAN, Statistic.SDEV, Statistic.SUM };
final ZonalStatsOpImage zsOp = new ZonalStatsOpImage(cropped.getRenderedImage(),