Analysis of the failure mechanisms of a weak rock through photogrammetrical measurements by 2D and 3D visions.