A lattice estimation approach for the automatic evaluation of corneal endothelium density