Modifications on the ChangeMatrixProcess for cropping input images