Digital Radiograph(DR) image is difficult to use a gray scale image to show the defects within different thickness parts simultaneously. To address this issue, it proposes to use a synthetic color images to show defects. The floating point type data is obtained by the scanning of DR system, is converted into three grayscale BMP images by using the method of the more gray stretch, where the different grayscale images contain the casting defects of the different wall thickness, and then the synthesis of these grayscale three images is a color BMP image. Color Chan-Vese(C-V) model is exploited to segment the defects of images. Experimental results show that the color synthesis method can segment the casting defects of different wall thickness.%数字式X射线(DR)图像难以用一幅灰度图像同时显现不同壁厚部件的缺陷.为此,提出用一幅合成彩色图像显现缺陷的方法.对DR系统扫描铸件得到的浮点型数据,采用分段灰度拉伸的方法转换为3幅灰度BMP图像,其中,不同灰度段的图像含有被测铸件不同壁厚部件的缺陷,再将这3幅灰度图像合成为一幅彩色BMP图像.对其应用彩色C-V(Chan-Vese)模型分割缺陷,实验结果证明,该彩色合成方法能较好地分割出被测铸件不同壁厚部件的缺陷.
展开▼