int cTr = cYRight;
int cBl = cYLeft +
(this.imageCropped.getHeight() - 1) * this.wSlopeLeft / 256;
int cBr = cYRight +
(this.imageCropped.getHeight() - 1) * this.wSlopeRight / 256;
Gray8TrapWarp warp = new Gray8TrapWarp(0, this.imageCropped.getHeight(),
cTl,
cTr,
cBl,
cBr);
warp.push(this.imageCropped);
Image imageResult = warp.getFront();
if (!(imageResult instanceof Gray8Image)) {
throw new jjil.core.Error(
jjil.core.Error.PACKAGE.ALGORITHM,
jjil.algorithm.ErrorCodes.IMAGE_NOT_GRAY8IMAGE,
imageResult.toString(),