Development of MATLAB GUI Based on Blob Analysis for Automatic Extraction of Defects
Abstract This study introduces a graphical user interface (GUI) based on MATLAB to realize the automatic ex-traction of sizes of defects from the infrared sequence. To obtain the edge of the defect at deeper layer, a fusion stratagem of the maximum of gray values is adopted for an image subset in the sequence. Blob analysis to the fusion image is used to obtain the general information of defects of a specimen including the distributions and numbers of defects. The frame image is determined for a certain defect according to the peak of the time history curve of sensitive region variance. It can yield a region of interest (ROI) to expand the blob in the selected frame and the defect can be acquired by image segmentation. The results show that through this GUI, a better thermal image can be selected from a set of infrared sequence diagrams for quantitative extraction of different buried depth defect areas, which realizes automatic defect extraction, and its relative error is within 5%. The research on infrared automatic detection technology has certain significance.