Estimation of the deformation of rough spheres and cylinders in compression