Automated crack detection in laminated composites by optical flow measurements