Analysis of the failure mechanisms of a weak rock trough photogrammetrical measurements