Microstructural analysis of the inelastic behavior of sedimentary rock