GeneralPath path = new GeneralPath();
path.moveTo((float) ul.getX(), (float) ul.getY());
path.lineTo((float) ur.getX(), (float) ur.getY());
path.lineTo((float) lr.getX(), (float) lr.getY());
path.lineTo((float) ll.getX(), (float) ll.getY());
path.closePath();
return path;
}
// Tell if the crop is consistent with having been derived from the