this.nYOffset = -this.nMinY;
if (this.eWarpOrder == WarpOrder.WARP_X_FIRST) {
Gray8Image grayX = warpX((Gray8Image) image);
//super.setOutput(new Gray8OffsetImage(grayX, this.nXOffset, this.nYOffset));
Gray8Image grayY = warpY(grayX);
super.setOutput(new Gray8OffsetImage(grayY, this.nXOffset, this.nYOffset));
} else {
Gray8Image grayY = warpY((Gray8Image) image);
//super.setOutput(new Gray8OffsetImage(grayY, this.nXOffset, this.nYOffset));
Gray8Image grayX = warpX(grayY);
super.setOutput(new Gray8OffsetImage(grayX, this.nXOffset, this.nYOffset));
}
}