Analysis of surface cracks by holography