Characterization of mechanical damage in granite