CN114693672A - A method for removing skin glands and nipples from mammography images based on image processing - Google Patents
A method for removing skin glands and nipples from mammography images based on image processing Download PDFInfo
- Publication number
- CN114693672A CN114693672A CN202210448093.9A CN202210448093A CN114693672A CN 114693672 A CN114693672 A CN 114693672A CN 202210448093 A CN202210448093 A CN 202210448093A CN 114693672 A CN114693672 A CN 114693672A
- Authority
- CN
- China
- Prior art keywords
- image
- gland
- skin
- nipple
- molybdenum target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0012—Biomedical image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/13—Edge detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20024—Filtering details
- G06T2207/20032—Median filtering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30004—Biomedical image processing
- G06T2207/30068—Mammography; Breast
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30004—Biomedical image processing
- G06T2207/30096—Tumor; Lesion
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Medical Informatics (AREA)
- General Health & Medical Sciences (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Radiology & Medical Imaging (AREA)
- Quality & Reliability (AREA)
- Health & Medical Sciences (AREA)
- Apparatus For Radiation Diagnosis (AREA)
- Image Processing (AREA)
Abstract
Description
技术领域technical field
本发明属于图像处理技术领域,具体涉及一种基于图像处理的乳腺钼靶图像皮肤腺及乳头去除方法。The invention belongs to the technical field of image processing, and particularly relates to a method for removing skin glands and nipples from mammography images based on image processing.
背景技术Background technique
钼靶图像中量化腺体含量是早期乳腺癌正确诊断的重要手段之一,精准量化钼靶图像中腺体含量对乳腺癌的诊断有着重要的意义。在二十世纪七十年代有学者提出钼靶图像中乳腺腺体含量和乳腺癌的相关性学说,紧接着就有学者提出乳腺腺体密度可以作为乳腺癌的独立风险因素之一。但由于钼靶图像中皮肤腺和乳头区域的灰阶度接近或超过腺体区域,所以在精准测量钼靶腺体含量之前,需要将皮肤腺和乳头区域进行去除操作。精准的去除钼靶图像中皮肤腺和乳头区域,对量化乳腺腺体含量及患乳腺癌风险有着重要的意义。Quantification of glandular content in mammography images is one of the important means for the correct diagnosis of early breast cancer. Accurate quantification of glandular content in mammography images is of great significance for the diagnosis of breast cancer. In the 1970s, some scholars put forward the theory of the correlation between breast gland content in mammography images and breast cancer, and then some scholars proposed that breast gland density can be one of the independent risk factors for breast cancer. However, since the gray levels of the skin glands and nipple areas in the mammography images are close to or exceed those of the gland areas, the skin glands and nipple areas need to be removed before accurate measurement of the gland content in mammography. Accurate removal of skin glands and nipple areas in mammography images is of great significance for quantifying breast gland content and breast cancer risk.
现阶段去除钼靶图像中皮肤腺和乳头区域的方法主要还是使用人工裁剪的方式去除,由于使用人工裁剪的方式去除皮肤腺和乳头区域耗时较长且效率较低,且同一患者的钼靶图像在不同医师的裁剪下会因主观因素出现偏差。尤其是在去除皮肤腺时通过手工裁剪时会影响原有的乳房轮廓,在后续量化腺体占比时会出现误差。考虑到上述方法在量化腺体时会出现的较大误差,因此,提出一种基于图像处理的乳腺钼靶图像皮肤腺及乳头去除方法。At this stage, the method of removing skin glands and nipple areas in mammography images is mainly by manual cropping. Because the removal of skin glands and nipple areas by manual cropping is time-consuming and inefficient, and the same patient's mammography The image will be biased due to subjective factors under the cropping of different physicians. Especially when removing the skin glands, the original breast contour will be affected by manual cutting, and there will be errors in the subsequent quantification of the proportion of glands. Considering the large error in the quantification of glands by the above methods, a method for removing skin glands and nipples from mammography images based on image processing is proposed.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于针对上述问题,提出一种基于图像处理的乳腺钼靶图像皮肤腺及乳头去除方法,能够精准去除皮肤腺和乳头区域,避免产生人为因素导致的误差和过度裁剪问题,且相较于传统人工裁剪方法具有更高的裁剪效率。The purpose of the present invention is to solve the above problems, and propose a method for removing skin glands and nipples from mammography images based on image processing, which can accurately remove skin glands and nipple areas, avoid errors and excessive cropping caused by human factors, and Compared with the traditional manual cutting method, it has higher cutting efficiency.
为实现上述目的,本发明所采取的技术方案为:To achieve the above object, the technical scheme adopted by the present invention is:
本发明提出的一种基于图像处理的乳腺钼靶图像皮肤腺及乳头去除方法,包括如下步骤:A method for removing skin glands and nipples from mammography images based on image processing proposed by the present invention includes the following steps:
S1、获取原始乳腺钼靶图像数据集并进行预处理,预处理为对各原始乳腺钼靶图像依次进行格式转换和拍摄信息标签去除操作;S1. Acquire the original mammography image data set and perform preprocessing. The preprocessing is to sequentially perform format conversion and shooting information label removal operations on each original mammography image;
S2、基于大津算法将预处理后的图像二值化,并采用中值滤波对二值化后的图像去噪,获得二值化乳腺钼靶图像;S2. Binarize the preprocessed image based on the Otsu algorithm, and use median filtering to denoise the binarized image to obtain a binarized mammography image;
S3、利用Labelme软件勾画预处理后的图像皮肤腺区域,统计全部预处理后的图像皮肤腺区域所占像素点个数,将平均皮肤腺所占像素点个数视为皮肤腺平均厚度;S3. Use Labelme software to delineate the skin gland area of the preprocessed image, count the number of pixels occupied by all the preprocessed image skin gland areas, and take the average number of pixels occupied by skin glands as the average thickness of the skin glands;
S4、基于Canny边缘检测算法确定各二值化乳腺钼靶图像的皮肤腺边界,并根据皮肤腺平均厚度利用形态学操作获取对应的皮肤腺掩模图像,皮肤腺掩模图像中皮肤腺区域标记为白色,其余区域标记为黑色,形态学操作采用腐蚀操作;S4. Determine the skin gland boundary of each binarized mammography image based on the Canny edge detection algorithm, and obtain the corresponding skin gland mask image by morphological operation according to the average thickness of the skin gland, and mark the skin gland area in the skin gland mask image. is white, the rest of the area is marked in black, and the morphological operation adopts the corrosion operation;
S5、判断各皮肤腺掩模图像的类型,若为左乳图像,则将皮肤腺掩模图像中的皮肤腺区域向右平移至少二分之一图像宽度,根据平移差融合边界内部,将融合区域标记为白色,其余区域标记为黑色,获得乳头掩模图像,若为右乳图像,则将皮肤腺掩模图像中的皮肤腺区域向左平移至少二分之一图像宽度,根据平移差融合边界内部,将融合区域标记为白色,其余区域标记为黑色,获得乳头掩模图像;S5. Determine the type of each skin gland mask image. If it is a left breast image, move the skin gland area in the skin gland mask image to the right by at least half the image width, and fuse the inside of the boundary according to the translation difference. The area is marked with white, the rest of the area is marked with black, and the nipple mask image is obtained. If it is the right breast image, the skin gland area in the skin gland mask image is shifted to the left by at least half the image width, and fused according to the translation difference. Inside the border, mark the fusion area as white and the rest as black to obtain a nipple mask image;
S6、将乳头掩模图像颜色反转后进行归一化处理;S6, invert the color of the nipple mask image and perform normalization processing;
S7、将归一化处理后的各乳头掩模图像与对应的预处理后的图像相乘去除皮肤腺和乳头,获得对应的目标乳腺钼靶图像。S7. Multiply the normalized nipple mask images and the corresponding preprocessed images to remove the skin glands and nipples to obtain a corresponding target mammography target image.
优选地,原始乳腺钼靶图像数据集包括数量等同的左乳图像和右乳图像,且全部图像中头尾位图像和侧斜位图像数量等同。Preferably, the original mammography image dataset includes an equal number of left breast images and right breast images, and the number of cranio-caudal images and lateral oblique images in all images is equal.
优选地,格式转换为将DICOM格式转换为PNG格式。Preferably, the format conversion is to convert DICOM format to PNG format.
优选地,拍摄信息标签去除操作具体如下:Preferably, the operation of removing the photographing information label is as follows:
基于最大轮廓检测算法提取原始乳腺钼靶图像的最大轮廓,将最大轮廓与格式转换后的原始乳腺钼靶图像相乘,获得去除拍摄信息标签的图像。Based on the maximum contour detection algorithm, the maximum contour of the original mammography image is extracted, and the maximum contour is multiplied by the format-converted original mammary target image to obtain the image with the shooting information label removed.
优选地,中值滤波采用5×5区域。Preferably, the median filter uses a 5×5 area.
优选地,腐蚀操作的内核为椭圆形,大小为30×30。Preferably, the inner core of the erosion operation is elliptical and 30×30 in size.
优选地,Canny边缘检测算法的Canny算子采用弱边界阈值为100,强边界阈值为200。Preferably, the Canny operator of the Canny edge detection algorithm adopts a weak boundary threshold of 100 and a strong boundary threshold of 200.
与现有技术相比,本发明的有益效果为:Compared with the prior art, the beneficial effects of the present invention are:
1)该方法根据乳腺钼靶图像中皮肤腺和乳头区域的厚度和位置特征,统计现有数据集中所有皮肤腺厚度的像素值个数获得皮肤腺平均厚度,根据皮肤腺平均厚度设置对应形态学操作的内核结构及大小,精准去除皮肤腺和乳头区域,避免产生人为因素导致的误差和过度裁剪问题,为精准计算钼靶影像中腺体含量及患者患乳腺癌的风险预估提供更为准确的依据;1) According to the thickness and position characteristics of skin glands and nipple areas in mammography images, the method counts the number of pixel values of all skin gland thicknesses in the existing data set to obtain the average thickness of skin glands, and sets the corresponding morphological characteristics according to the average thickness of skin glands. The core structure and size of the operation, accurately remove the skin glands and nipple area, avoid errors and over-cropping problems caused by human factors, and provide more accurate calculation of gland content in mammography images and prediction of the risk of breast cancer for patients basis;
2)相较于传统人工裁剪方法具有更高的裁剪效率,如数据集包括500张图像样本时,该方法在去除单张图像的皮肤腺区域的平均时间为300毫秒,在去除单张乳头区域的平均时间为325毫秒;而人工勾画单张皮肤腺区域的时间为2~3分钟,人工勾画单张乳头区域的时间为0.5分钟~1分钟,在去除皮肤腺和乳头区域的效率远远高于人工裁剪方法,大大提高工作效率。2) Compared with the traditional manual cropping method, it has higher cropping efficiency. For example, when the dataset includes 500 image samples, the average time for this method to remove the skin gland area of a single image is 300 milliseconds. The average time is 325 milliseconds; the time for manually delineating a single skin gland area is 2 to 3 minutes, and the time for manually delineating a single nipple area is 0.5 minutes to 1 minute, which is far more efficient in removing skin glands and nipple areas. Compared with the manual cutting method, the work efficiency is greatly improved.
附图说明Description of drawings
图1为本发明乳腺钼靶图像皮肤腺及乳头去除方法的流程图;1 is a flowchart of a method for removing skin glands and nipples from mammography images of the present invention;
图2为本发明原始乳腺钼靶图像经步骤S1和S2处理过程示意图;FIG. 2 is a schematic diagram of the processing process of the original mammary mammography target image of the present invention through steps S1 and S2;
图3为本发明的皮肤腺去除过程示意图;3 is a schematic diagram of the skin gland removal process of the present invention;
图4为本发明的乳头去除过程示意图。FIG. 4 is a schematic diagram of the nipple removal process of the present invention.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
需要说明的是,除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是在于限制本申请。It should be noted that, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of the present application. The terms used herein in the specification of the present application are for the purpose of describing specific embodiments only, and are not intended to limit the present application.
如图1-4所示,一种基于图像处理的乳腺钼靶图像皮肤腺及乳头去除方法,包括如下步骤:As shown in Figure 1-4, a method for removing skin glands and nipples from mammography images based on image processing includes the following steps:
S1、获取原始乳腺钼靶图像数据集并进行预处理,预处理为对各原始乳腺钼靶图像依次进行格式转换和拍摄信息标签去除操作。S1. Acquire an original mammography image data set and perform preprocessing. The preprocessing is to sequentially perform format conversion and shooting information label removal operations on each original mammography image.
在一实施例中,原始乳腺钼靶图像数据集包括数量等同的左乳图像和右乳图像,且全部图像中头尾位图像和侧斜位图像数量等同。原始乳腺钼靶图像可为头尾位(CC)或侧斜位(MLO),数据集均衡便于后续中值滤波和形态学操作处理。In one embodiment, the original mammography image dataset includes an equal number of left breast images and right breast images, and the number of cranio-caudal images and lateral oblique images is equal in all images. The original mammography images can be cranio-caudal (CC) or lateral oblique (MLO), and the dataset is balanced for subsequent median filtering and morphological manipulation.
在一实施例中,格式转换为将DICOM格式转换为PNG格式。像素值映射至0~255内,保存为高质量的PNG钼靶图像。In one embodiment, the format conversion converts DICOM format to PNG format. The pixel value is mapped to 0 to 255 and saved as a high-quality PNG mammography image.
在一实施例中,拍摄信息标签去除操作具体如下:In one embodiment, the operation of removing the photographing information tag is as follows:
基于最大轮廓检测算法提取原始乳腺钼靶图像的最大轮廓,将最大轮廓与格式转换后的原始乳腺钼靶图像相乘,获得去除拍摄信息标签(如位置、医院、时间等信息)的图像。格式转换后的原始乳腺钼靶图像即PNG钼靶图像在使用最大轮廓检测算法时,搜寻所有外轮廓后对其进行排序,提取出最大轮廓区域则为乳房区域,将最大轮廓与对应的PNG钼靶图像相乘,即可获得去除拍摄信息标签的图像。Based on the maximum contour detection algorithm, the maximum contour of the original mammography image is extracted, and the maximum contour is multiplied by the format-converted original mammary target image to obtain the image without the shooting information labels (such as location, hospital, time, etc.). The original mammography image after format conversion, that is, PNG mammary target image, when using the maximum contour detection algorithm, searches all outer contours and sorts them, and extracts the largest contour area as the breast area. The target image is multiplied to obtain the image with the shooting information label removed.
S2、基于大津算法将预处理后的图像二值化,并采用中值滤波对二值化后的图像去噪,获得二值化乳腺钼靶图像。S2. Binarize the preprocessed image based on the Otsu algorithm, and use median filtering to denoise the binarized image to obtain a binarized mammography image.
在一实施例中,中值滤波采用5×5区域。大津算法(OTSU)将自动计算分割阈值对乳腺区域进行二值化操作,区分目标和背景,并在图像中对5×5大小的区域使用中值滤波操作,去除噪点。如图2所示,从左至右依次为原始乳腺钼靶图像(DICOM钼靶图像)、格式转换后的原始乳腺钼靶图像(PNG钼靶图像)、拍摄信息标签去除后的图像(即预处理后的图像)、大津二值化图像和中值滤波图像(即二值化乳腺钼靶图像)。In one embodiment, median filtering uses a 5x5 region. The Otsu algorithm (OTSU) will automatically calculate the segmentation threshold and perform a binarization operation on the breast region, distinguish the target from the background, and use a median filtering operation on a 5×5 area in the image to remove noise. As shown in Figure 2, from left to right are the original mammography image (DICOM mammography image), the format-converted original mammography image (PNG mammography image), and the image after the shooting information label has been removed (i.e. pre- processed images), Otsu binarized images, and median filtered images (ie, binarized mammography images).
S3、利用Labelme软件勾画预处理后的图像皮肤腺区域,统计全部预处理后的图像皮肤腺区域所占像素点个数,将平均皮肤腺所占像素点个数视为皮肤腺平均厚度。S3. Use Labelme software to outline the skin gland area of the preprocessed image, count the number of pixels occupied by all the preprocessed image skin gland areas, and take the average number of pixels occupied by skin glands as the average thickness of the skin glands.
S4、基于Canny边缘检测算法确定各二值化乳腺钼靶图像的皮肤腺边界,并根据皮肤腺平均厚度利用形态学操作获取对应的皮肤腺掩模图像,皮肤腺掩模图像中皮肤腺区域标记为白色,其余区域标记为黑色,形态学操作采用腐蚀操作。S4. Determine the skin gland boundary of each binarized mammography image based on the Canny edge detection algorithm, and obtain the corresponding skin gland mask image by morphological operation according to the average thickness of the skin gland, and mark the skin gland area in the skin gland mask image. are in white, the rest of the regions are marked in black, and the morphological operation adopts the erosion operation.
在一实施例中,腐蚀操作的内核为椭圆形,大小为30×30。腐蚀操作的内核大小根据皮肤腺平均厚度确定,皮肤腺厚度的像素点越多,腐蚀操作的内核尺寸越大。In one embodiment, the inner core of the erosion operation is elliptical and 30×30 in size. The kernel size of the erosion operation is determined according to the average thickness of the skin glands. The more pixels in the thickness of the skin glands, the larger the kernel size of the erosion operation.
在一实施例中,Canny边缘检测算法的Canny算子采用弱边界阈值为100,强边界阈值为200。设置Canny算子的弱边界阈值为100,强边界阈值为200后,使用Canny算子对二值化乳腺钼靶图像寻找皮肤腺边界,并记录其边界坐标点。In one embodiment, the Canny operator of the Canny edge detection algorithm adopts a weak boundary threshold of 100 and a strong boundary threshold of 200. After setting the weak boundary threshold of the Canny operator to 100 and the strong boundary threshold to 200, the Canny operator was used to find the skin gland boundary in the binarized mammography image, and the boundary coordinate points were recorded.
如图3所示,从左至右依次为中值滤波图像(即二值化乳腺钼靶图像)、边界掩膜图像(即Canny边缘检测算法确定的皮肤腺边界图)、腐蚀后边界图(即皮肤腺掩模图像)、颜色反转图和去除皮肤腺图。需要说明的是,对于颜色反转图和去除皮肤腺图,当需要独立去除皮肤腺区域时,才需将皮肤腺掩模图像颜色反转后进行归一化处理,然后将归一化处理后的各皮肤腺掩模图像与对应的预处理后的图像相乘去除皮肤腺即可。As shown in Figure 3, from left to right are the median filtered image (ie, the binarized mammography image), the boundary mask image (ie, the skin gland boundary map determined by the Canny edge detection algorithm), and the corroded boundary map ( i.e. skin gland mask image), color inversion map, and skin gland removal map. It should be noted that for the color inversion map and the skin gland removal map, when the skin gland area needs to be removed independently, the skin gland mask image needs to be color-reversed and then normalized, and then the normalized Each skin gland mask image obtained by multiplying the corresponding preprocessed image can be multiplied to remove the skin glands.
S5、判断各皮肤腺掩模图像的类型,若为左乳图像,则将皮肤腺掩模图像中的皮肤腺区域向右平移至少二分之一图像宽度,根据平移差融合边界内部,将融合区域标记为白色,其余区域标记为黑色,获得乳头掩模图像,若为右乳图像,则将皮肤腺掩模图像中的皮肤腺区域向左平移至少二分之一图像宽度,根据平移差融合边界内部,将融合区域标记为白色,其余区域标记为黑色,获得乳头掩模图像。S5. Determine the type of each skin gland mask image. If it is a left breast image, move the skin gland area in the skin gland mask image to the right by at least half the image width, and fuse the inside of the boundary according to the translation difference. The area is marked with white, the rest of the area is marked with black, and the nipple mask image is obtained. If it is the right breast image, the skin gland area in the skin gland mask image is shifted to the left by at least half the image width, and fused according to the translation difference. Inside the border, the fused area is marked white and the rest of the area is marked black to obtain a nipple mask image.
S6、将乳头掩模图像颜色反转后进行归一化处理。颜色翻转后即白色区域像素点为1,为保留区域,黑色区域像素点为0,为皮肤腺和乳头区域,即待去除区域。S6, invert the color of the nipple mask image and perform normalization processing. After the color is flipped, the white area pixel is 1, which is the reserved area, and the black area pixel is 0, which is the skin gland and nipple area, that is, the area to be removed.
S7、将归一化处理后的各乳头掩模图像与对应的预处理后的图像相乘去除皮肤腺和乳头,获得对应的目标乳腺钼靶图像。S7. Multiply the normalized nipple mask images and the corresponding preprocessed images to remove the skin glands and nipples to obtain a corresponding target mammography target image.
如图4所示,图像为左乳图像,按箭头指示顺序依次为中值滤波图像(即二值化乳腺钼靶图像)、边界掩膜图像(即Canny边缘检测算法确定的皮肤腺边界图)、腐蚀后边界图(即皮肤腺掩模图像,未示出)、边界平移图、边界融合图(白色即为融合区域)、颜色反转图和去除皮肤腺和乳头图(即目标乳腺钼靶图像)。As shown in Figure 4, the image is the left breast image, and in the order indicated by the arrows, the median filter image (ie, the binarized mammography image) and the boundary mask image (ie, the skin gland boundary map determined by the Canny edge detection algorithm) , Boundary map after erosion (i.e., skin gland mask image, not shown), Boundary translation map, Boundary fusion map (white is the fusion area), color inversion map, and removal of skin glands and nipple map (i.e. target mammography image).
需要说明的是,操作人员还可根据实际需求调整,如选择只去除乳头区域或皮肤腺区域,通过将对应图像进行简单的相乘操作即可实现。It should be noted that the operator can also adjust according to actual needs, such as choosing to remove only the nipple area or the skin gland area, which can be achieved by simply multiplying the corresponding images.
该方法根据乳腺钼靶图像中皮肤腺和乳头区域的厚度和位置特征,统计现有数据集中所有皮肤腺厚度的像素值个数获得皮肤腺平均厚度,根据皮肤腺平均厚度设置对应形态学操作的内核结构及大小,精准去除皮肤腺和乳头区域,避免产生人为因素导致的误差和过度裁剪问题,为精准计算钼靶影像中腺体含量及患者患乳腺癌的风险预估提供更为准确的依据;相较于传统人工裁剪方法具有更高的裁剪效率,如数据集包括500张图像样本时,该方法在去除单张图像的皮肤腺区域的平均时间为300毫秒,在去除单张乳头区域的平均时间为325毫秒;而人工勾画单张皮肤腺区域的时间为2~3分钟,人工勾画单张乳头区域的时间为0.5分钟~1分钟,在去除皮肤腺和乳头区域的效率远远高于人工裁剪方法,大大提高工作效率。According to the thickness and position characteristics of skin glands and nipple areas in mammography images, the method counts the number of pixel values of all skin gland thicknesses in the existing data set to obtain the average thickness of skin glands, and sets the corresponding morphological operation according to the average thickness of skin glands. The structure and size of the inner core, accurately remove the skin glands and nipple area, avoid errors and excessive cropping caused by human factors, and provide a more accurate basis for accurately calculating the gland content in mammography images and predicting the risk of breast cancer in patients ; Compared with the traditional manual cropping method, it has higher cropping efficiency. For example, when the data set includes 500 image samples, the average time for this method to remove the skin gland area of a single image is 300ms, and the average time of removing the nipple area of a single image is 300ms. The average time is 325 milliseconds; while the time for manually delineating a single skin gland area is 2 to 3 minutes, and the time for manually delineating a single nipple area is 0.5 minutes to 1 minute, which is much more efficient in removing skin glands and nipple areas. Manual cutting method greatly improves work efficiency.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity, all possible combinations of the technical features in the above-described embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be regarded as the scope described in this specification.
以上所述实施例仅表达了本申请描述较为具体和详细的实施例,但并不能因此而理解为对申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent relatively specific and detailed embodiments described in the present application, but should not be construed as a limitation on the scope of the patent application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210448093.9A CN114693672B (en) | 2022-04-26 | 2022-04-26 | A method for removing skin glands and nipples from mammary gland mammography images based on image processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210448093.9A CN114693672B (en) | 2022-04-26 | 2022-04-26 | A method for removing skin glands and nipples from mammary gland mammography images based on image processing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114693672A true CN114693672A (en) | 2022-07-01 |
CN114693672B CN114693672B (en) | 2025-01-28 |
Family
ID=82144981
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210448093.9A Active CN114693672B (en) | 2022-04-26 | 2022-04-26 | A method for removing skin glands and nipples from mammary gland mammography images based on image processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114693672B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115553795A (en) * | 2022-07-26 | 2023-01-03 | 科宁(天津)医疗设备有限公司 | Computer-assisted automatic peeling method in cone beam mammary gland CT image |
CN115760886A (en) * | 2022-11-15 | 2023-03-07 | 中国平安财产保险股份有限公司 | Plot partitioning method and device based on aerial view of unmanned aerial vehicle and related equipment |
CN116433695A (en) * | 2023-06-13 | 2023-07-14 | 天津市第五中心医院 | Mammary gland region extraction method and system of mammary gland molybdenum target image |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107798679A (en) * | 2017-12-11 | 2018-03-13 | 福建师范大学 | Breast molybdenum target image breast area is split and tufa formation method |
CN109117802A (en) * | 2018-08-21 | 2019-01-01 | 东北大学 | Ship Detection towards large scene high score remote sensing image |
WO2021179491A1 (en) * | 2020-03-13 | 2021-09-16 | 平安科技(深圳)有限公司 | Image processing method and apparatus, computer device and storage medium |
-
2022
- 2022-04-26 CN CN202210448093.9A patent/CN114693672B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107798679A (en) * | 2017-12-11 | 2018-03-13 | 福建师范大学 | Breast molybdenum target image breast area is split and tufa formation method |
CN109117802A (en) * | 2018-08-21 | 2019-01-01 | 东北大学 | Ship Detection towards large scene high score remote sensing image |
WO2021179491A1 (en) * | 2020-03-13 | 2021-09-16 | 平安科技(深圳)有限公司 | Image processing method and apparatus, computer device and storage medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115553795A (en) * | 2022-07-26 | 2023-01-03 | 科宁(天津)医疗设备有限公司 | Computer-assisted automatic peeling method in cone beam mammary gland CT image |
CN115760886A (en) * | 2022-11-15 | 2023-03-07 | 中国平安财产保险股份有限公司 | Plot partitioning method and device based on aerial view of unmanned aerial vehicle and related equipment |
CN115760886B (en) * | 2022-11-15 | 2024-04-05 | 中国平安财产保险股份有限公司 | Land parcel dividing method and device based on unmanned aerial vehicle aerial view and related equipment |
CN116433695A (en) * | 2023-06-13 | 2023-07-14 | 天津市第五中心医院 | Mammary gland region extraction method and system of mammary gland molybdenum target image |
CN116433695B (en) * | 2023-06-13 | 2023-08-22 | 天津市第五中心医院 | Mammary gland region extraction method and system of mammary gland molybdenum target image |
Also Published As
Publication number | Publication date |
---|---|
CN114693672B (en) | 2025-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022063199A1 (en) | Pulmonary nodule automatic detection method, apparatus and computer system | |
WO2022063198A1 (en) | Lung image processing method, apparatus and device | |
CN114693672A (en) | A method for removing skin glands and nipples from mammography images based on image processing | |
US5452367A (en) | Automated method and system for the segmentation of medical images | |
CN110458831B (en) | Scoliosis image processing method based on deep learning | |
CN108133476B (en) | Method and system for automatically detecting pulmonary nodules | |
CN104992445B (en) | A kind of automatic division method of CT images pulmonary parenchyma | |
Nagi et al. | Automated breast profile segmentation for ROI detection using digital mammograms | |
Sreedevi et al. | A novel approach for removal of pectoral muscles in digital mammogram | |
CN106846346B (en) | Method for rapidly extracting pelvis outline of sequence CT image based on key frame mark | |
CN112215800B (en) | Overlapping Chromosome Identification and Segmentation Method Based on Machine Learning | |
CN105513077A (en) | System for screening diabetic retinopathy | |
CN107798679A (en) | Breast molybdenum target image breast area is split and tufa formation method | |
CN110710986B (en) | CT image-based cerebral arteriovenous malformation detection method and system | |
CN110060246B (en) | Image processing method, device and storage medium | |
Thamilarasi et al. | Lung segmentation in chest X-ray images using Canny with morphology and thresholding techniques | |
CN110738637A (en) | Automatic classification method and system for breast cancer pathological sections | |
CN107169975B (en) | The analysis method and device of ultrasound image | |
KR20150059860A (en) | Method for processing image segmentation using Morphological operation | |
CN117934534A (en) | Lung extraction method and system for chest CT image | |
CN111401102A (en) | Deep learning model training method and device, electronic equipment and storage medium | |
CN112634240A (en) | Thyroid ultrasound image interference interface automatic identification and removal method based on threshold segmentation | |
CN111986802A (en) | A system and method for auxiliary determination of pathological differentiation grade of lung adenocarcinoma | |
CN110675402A (en) | Colorectal polyp segmentation method based on endoscope image | |
CN111508590B (en) | Efficient identification detection method for ribs and vertebrae in liver CT perfusion image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |