In low-pressure casting, aluminum alloy wheels are prone to internal defects such as gas holes and shrinkage cavities, which call for X-ray inspection to ensure quality. Automatic defect segmentation of X-ray images is an important task in X-ray inspection of wheels. For this, a solution is proposed here that combines adaptive threshold segmentation algorithm and mathematical morphology reconstruction. First, the X-ray image of the wheel is smoothed, and then the smoothed image is subtracted from the original image, and the resulting difference image is binarized; the binary image resulting from the low threshold is taken as the marker image, and that from the high threshold is taken as mask image, and mathematical morphology reconstruction is performed on the two images, with the resulting image being the preliminary result of the wheel defect segmentation. Finally, with area and diameter parameters as the conditions, the preliminary segmentation result is analyzed, and the defect regions satisfying the conditions are taken as the ultimate result of the whole solution. Experiments proved the feasibility of the above solution, which is found capable of extracting different types of wheel defects satisfactorily.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.