Statistical analysis of defects for fatigue strength prediction and quality control of materials