Method for defects detection and 3D reconstruction based on dispersed points cloud