The depletion of hydrocarbon reservoirs often results in reservoir compaction. Through in-situ imaging of triaxial and uniaxial compaction experiments on cohesive sandstone and sand aggregates, we aim to characterize and understand the local deformation mechanisms that enable the observed macroscopic compaction. Standard image analysis techniques and digital volume correlation analysis provide novel access to these local deformation mechanisms.