[go: up one dir, main page]

CN114821071A - Method, device and equipment for extracting adhesion bubbles from dynamic ice image - Google Patents

Method, device and equipment for extracting adhesion bubbles from dynamic ice image Download PDF

Info

Publication number
CN114821071A
CN114821071A CN202210638584.XA CN202210638584A CN114821071A CN 114821071 A CN114821071 A CN 114821071A CN 202210638584 A CN202210638584 A CN 202210638584A CN 114821071 A CN114821071 A CN 114821071A
Authority
CN
China
Prior art keywords
image
bubbles
distance
marked
watershed
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
Application number
CN202210638584.XA
Other languages
Chinese (zh)
Other versions
CN114821071B (en
Inventor
周志宏
王娜
易贤
彭博
赵红梅
李艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan University
Original Assignee
Sichuan University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Sichuan University filed Critical Sichuan University
Priority to CN202210638584.XA priority Critical patent/CN114821071B/en
Priority to CN202311101039.8A priority patent/CN117011531A/en
Publication of CN114821071A publication Critical patent/CN114821071A/en
Application granted granted Critical
Publication of CN114821071B publication Critical patent/CN114821071B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/40Image enhancement or restoration using histogram techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/28Quantising the image, e.g. histogram thresholding for discrimination between background and foreground patterns

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Processing (AREA)

Abstract

本申请实施例公开了一种从动态冰图像中提取粘连气泡的方法、装置及设备,涉及图像处理领域。该方法包括:根据预处理二值图中的气泡像素点到背景的最小距离,得到距离图像;对所述距离图像进行直方图均衡化,得到调整图像;从所述调整图像的图像矩阵中获取满足预设条件的数值,并在所述调整图像中对所述满足预设条件的数值所在的点进行标记,得到标记图像;根据所述标记图像中的标记点,对所述预处理二值图进行分水岭变换,得到粘连气泡的分割图像。通过上述方法,可以有效解决现有技术在从动态冰图像中提取粘连气泡时,存在的分割粘连气泡的效果较差的问题。

Figure 202210638584

The embodiments of the present application disclose a method, a device and a device for extracting adhesion bubbles from a dynamic ice image, which relate to the field of image processing. The method includes: obtaining a distance image according to the minimum distance between the bubble pixels in the preprocessed binary image and the background; performing histogram equalization on the distance image to obtain an adjusted image; and obtaining an image matrix from the adjusted image A numerical value that satisfies a preset condition, and marks the point where the numerical value meeting the preset condition is located in the adjustment image to obtain a marked image; according to the marked point in the marked image, the preprocessing binary value is The image is subjected to watershed transformation to obtain a segmented image of adhering bubbles. The above method can effectively solve the problem of poor effect of dividing the adhering air bubbles in the prior art when extracting adhering air bubbles from a dynamic ice image.

Figure 202210638584

Description

一种从动态冰图像中提取粘连气泡的方法、装置及设备A method, device and device for extracting adhesive bubbles from dynamic ice images

技术领域technical field

本申请涉及图像处理技术领域,更具体地,涉及一种从动态冰图像中提取粘连气泡的方法、装置及设备。The present application relates to the technical field of image processing, and more particularly, to a method, device and device for extracting adhesion bubbles from a dynamic ice image.

背景技术Background technique

飞机穿越云层时,过冷水滴撞击到机体后,可能发生相变并导致结冰现象。结冰会改变飞机的外形与绕流流场,破坏气动性能,降低操纵性与稳定性,威胁飞行安全,严重时导致空难事故。飞机结冰实质是过冷水滴的动态结冰过程。过冷水撞击低温基底结冰,形成的带有非均匀分布的气泡的冰即动态冰。动态冰中的气泡是决定动态冰物理特性的根本因素。通过分析动态冰微观结构中的气泡含量、分布、孔径等特征,研究动态冰的物理特性,可以建立科学有效的结冰防护手段,保障飞机飞行安全。When the aircraft passes through the clouds, the supercooled water droplets may undergo a phase change and cause icing after hitting the airframe. Icing will change the shape of the aircraft and the flow field around it, destroy the aerodynamic performance, reduce the maneuverability and stability, threaten the flight safety, and lead to air accidents in severe cases. The essence of aircraft icing is the dynamic icing process of supercooled water droplets. The supercooled water hits the low-temperature base and freezes, and the ice formed with non-uniformly distributed air bubbles is dynamic ice. The bubbles in the dynamic ice are the fundamental factors that determine the physical properties of the dynamic ice. By analyzing the characteristics of bubble content, distribution, and pore size in the microstructure of dynamic ice, and studying the physical properties of dynamic ice, scientific and effective ice protection measures can be established to ensure the safety of aircraft flight.

研究动态冰微观结构中的气泡含量、分布、孔径等特征,需要得到动态冰中的气泡图像,但是动态冰中存在粘连的气泡,在从动态冰图像中提取气泡时,粘连气泡提取较为困难。目前,可以使用基于标记控制的分水岭算法对粘连的气泡或颗粒进行分割,该种方法在气泡或颗粒大小一样时分割效果较好。但是,在动态冰中的粘连气泡大小相差较大时,难以对小气泡进行标记,因此难以将粘连的多个小气泡进行分割。并且,在动态冰中的粘连气泡附近存在面积大于粘连气泡的较大气泡时,难以对粘连气泡进行标记,因此难以对粘连气泡进行分割。To study the characteristics of bubble content, distribution, and pore size in dynamic ice microstructure, it is necessary to obtain bubble images in dynamic ice. However, there are sticky bubbles in dynamic ice. When extracting bubbles from dynamic ice images, it is difficult to extract sticky bubbles. At present, the watershed algorithm based on marker control can be used to segment the adhering bubbles or particles, and this method has a better segmentation effect when the bubbles or particles are of the same size. However, when the size of the adhering air bubbles in the dynamic ice varies greatly, it is difficult to mark the small air bubbles, so it is difficult to divide the adhering small air bubbles. In addition, when large air bubbles with a larger area than the adhering air bubbles exist in the vicinity of the adhering air bubbles in the dynamic ice, it is difficult to mark the adhering air bubbles, and thus it is difficult to segment the adhering air bubbles.

因此,现有技术在从动态冰图像中提取粘连气泡时,存在分割粘连气泡的效果较差的问题。Therefore, in the prior art, when the sticking bubbles are extracted from the dynamic ice image, there is a problem that the effect of dividing the sticking bubbles is poor.

发明内容SUMMARY OF THE INVENTION

本申请发明人在通过长期实践发现,基于标记控制的分水岭算法根据预处理二值图中的气泡像素点到背景的最小距离,得到距离图像,再对距离图像进行标记。以对距离图像中的局部极小值所在的点进行标记为例,其中,距离图像的距离矩阵中的数值与距离图像中气泡大小有关,气泡越大,气泡中心部分离背景的最小距离越远,取反后,距离矩阵中气泡中心部分的数值越小,在距离图像中大气泡的中心亮度越低。在对距离图像中的局部极小值进行标记时,局部区域中,大气泡中心部分的数值小于小气泡中心部分的数值,因此小气泡的中心部分不会被标记,难以对粘连的小气泡进行分割。基于此,本申请提出了一种从动态冰图像中提取粘连气泡的方法,根据预处理二值图中的气泡像素点到背景的最小距离,得到距离图像;对所述距离图像进行直方图均衡化,调整距离图像的距离矩阵中每个气泡中心部分的数值,得到调整图像;从所述调整图像的图像矩阵中获取满足预设条件的数值,并在所述调整图像中对所述满足预设条件的数值所在的点进行标记,得到标记图像,该标记图像包括所有气泡的中心部分的标记点,根据所述标记图像中的标记点,对所述预处理二值图进行分水岭变换,得到粘连气泡的分割图像。如此,可以有效解决现有技术在从动态冰图像中提取粘连气泡时,存在的分割粘连气泡效果较差的问题。The inventor of the present application has found through long-term practice that the watershed algorithm based on marker control obtains a distance image according to the minimum distance from the bubble pixel point in the preprocessed binary image to the background, and then marks the distance image. Take marking the point where the local minimum value in the distance image is located as an example. The value in the distance matrix of the distance image is related to the size of the bubble in the distance image. The larger the bubble, the farther the minimum distance between the center of the bubble and the background. , after inversion, the smaller the value of the center part of the bubble in the distance matrix, the lower the brightness of the center of the large bubble in the distance image. When marking the local minimum value in the distance image, in the local area, the value of the central part of the large bubble is smaller than the value of the central part of the small bubble, so the central part of the small bubble will not be marked, and it is difficult to carry out the detection of the small bubbles. segmentation. Based on this, the present application proposes a method for extracting adhesion bubbles from a dynamic ice image. According to the minimum distance between the bubble pixels in the preprocessed binary image and the background, a distance image is obtained; the histogram equalization is performed on the distance image. , adjust the value of the center part of each bubble in the distance matrix of the distance image to obtain an adjustment image; obtain the value that meets the preset condition from the image matrix of the adjustment image, and in the adjustment image Set the point where the numerical value of the condition is located to be marked to obtain a marked image, the marked image includes the marked points of the central part of all the bubbles, and according to the marked points in the marked image, perform watershed transformation on the preprocessed binary image to obtain Segmented image of sticky bubbles. In this way, it can effectively solve the problem of poor effect of dividing the adhering air bubbles in the prior art when extracting adhering air bubbles from a dynamic ice image.

第一方面,本申请实施例提供了一种从动态冰图像中提取粘连气泡的方法,该方法包括:S110.根据预处理二值图中的气泡像素点到背景的最小距离,得到距离图像;S120.对所述距离图像进行直方图均衡化,得到调整图像;S130.从所述调整图像的图像矩阵中获取满足预设条件的数值,并在所述调整图像中对所述满足预设条件的数值所在的点进行标记,得到标记图像;S140.根据所述标记图像中的标记点,对所述预处理二值图进行分水岭变换,得到粘连气泡的分割图像。In a first aspect, an embodiment of the present application provides a method for extracting adhesion bubbles from a dynamic ice image, the method comprising: S110. Obtain a distance image according to the minimum distance between the bubble pixels in the preprocessed binary image and the background; S120. Perform histogram equalization on the distance image to obtain an adjustment image; S130. Acquire a numerical value that satisfies a preset condition from an image matrix of the adjustment image, and quantify the value that meets the preset condition in the adjustment image Mark the point where the value of , and obtain a marked image; S140. Perform watershed transformation on the preprocessed binary image according to the marked point in the marked image to obtain a segmented image of the adhesion bubbles.

第二方面,本申请实施例还提供了一种从动态冰图像中提取粘连气泡的系统,该系统包括距离获取单元,用于根据预处理二值图中的气泡像素点到背景的最小距离,得到距离图像;调整单元,用于对所述距离图像进行直方图均衡化,得到调整图像;标记单元,用于从所述调整图像的图像矩阵中获取满足预设条件的数值,并在所述调整图像中对所述满足预设条件的数值所在的点进行标记,得到标记图像;分水岭变换单元,用于根据所述标记图像中的标记点,对所述标记图像进行分水岭变换,得到粘连气泡的分割图像。In a second aspect, an embodiment of the present application also provides a system for extracting adhesion bubbles from a dynamic ice image, the system includes a distance acquisition unit, which is configured to, according to the minimum distance from the bubble pixels in the preprocessed binary image to the background, obtaining a distance image; an adjustment unit for performing histogram equalization on the distance image to obtain an adjusted image; a marking unit for obtaining a numerical value that satisfies a preset condition from the image matrix of the adjusted image, and storing the value in the adjusted image In the adjustment image, the point where the value that meets the preset condition is located is marked to obtain a marked image; the watershed transformation unit is used to perform watershed transformation on the marked image according to the marked points in the marked image to obtain adhesion bubbles segmented image.

第三方面,本申请实施例还提供了一种电子设备,该电子设备包括一个或多个处理器;存储器;屏幕,用于显示前述方法中的图像;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行前述方法。In a third aspect, embodiments of the present application further provide an electronic device, the electronic device includes one or more processors; a memory; a screen for displaying the images in the foregoing method; one or more application programs, wherein the One or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the aforementioned methods.

综上所述,本申请至少具有如下技术效果:To sum up, the present application has at least the following technical effects:

1.以将预处理二值图进行距离变换并取反得到距离图像为例,本申请通过对需要标记的距离图像进行直方图均衡化,使距离图像中大气泡的中心亮度变高,小气泡的中心亮度变低,也就是使距离矩阵中大气泡中心部分的数值变大,小气泡中心部分的数值变小,在对局部极小值所在的点进行标记时,避免了因气泡大小不同而导致局部区域内的气泡的中心部分的数值大小不同,而不将小气泡中心部分的数值识别为局部极小值,从而无法标记小气泡中心部分所在的点。使用本申请提供的从动态冰图像中提取粘连气泡的方法,在动态冰中的粘连气泡大小相差较大时,以及在动态冰中的粘连气泡附近存在面积大于粘连气泡的较大气泡时,都可以对粘连的小气泡的中心部分所在的点进行标记,从而使分割粘连气泡的效果更好。1. Taking the distance transformation of the preprocessed binary image and the inversion of the distance image as an example, the present application performs histogram equalization on the distance image to be marked, so that the center brightness of the large bubbles in the distance image becomes higher, and the small bubbles in the distance image become higher. The brightness of the center of the distance matrix becomes lower, that is, the value of the center part of the large bubble in the distance matrix becomes larger, and the value of the center part of the small bubble becomes smaller. When marking the point where the local minimum value is located, it is avoided due to different bubble sizes. As a result, the numerical value of the central part of the bubble in the local area is different, and the numerical value of the central part of the small bubble is not recognized as a local minimum value, so that the point where the central part of the small bubble is located cannot be marked. Using the method for extracting adhesion bubbles from a dynamic ice image provided by the present application, when the size of the adhesion bubbles in the dynamic ice differs greatly, and when there are larger bubbles with a larger area than the adhesion bubbles near the adhesion bubbles in the dynamic ice, both The point where the center part of the stuck small bubbles is located can be marked, so that the effect of dividing the stuck bubbles is better.

2.本申请通过预设神经网络模型直接从原始图像中提取气泡,提取到包含完整大气泡的第一中间图像,再将原始图像进行分割,通过预设神经网络模型从第二分割图像块中提取气泡,得到包含完整小气泡的第二中间图像,将第一中间图像和第二中间图像进行或运算,得到既包含完整大气泡又包含完整小气泡的预处理二值图,避免了将动态冰图像中的纹理识别为气泡、气泡边界识别不清晰、大量小气泡会被遗漏、提取到的大气泡中有孔洞等问题,使预处理二值图提取到的气泡效果更好,为提升分割粘连气泡的效果建立了基础。2. The present application directly extracts bubbles from the original image through a preset neural network model, extracts the first intermediate image containing complete large bubbles, and then divides the original image, and uses the preset neural network model to extract from the second segmented image block. Extract the bubbles to obtain a second intermediate image containing complete small bubbles, and perform the OR operation on the first intermediate image and the second intermediate image to obtain a preprocessed binary image that contains both complete large bubbles and complete small bubbles, avoiding dynamic changes. The texture in the ice image is identified as bubbles, the bubble boundary is not clearly identified, a large number of small bubbles will be missed, and there are holes in the extracted large bubbles. The effect of sticking bubbles establishes the foundation.

因此,本申请提供的方案可以有效解决现有技术在从动态冰图像中提取粘连气泡时,存在的分割粘连气泡效果较差的问题。Therefore, the solution provided by the present application can effectively solve the problem of poor effect of dividing the adhering air bubbles in the prior art when extracting adhering air bubbles from a dynamic ice image.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.

图1示出了本申请实施例1提供的从动态冰图像中提取粘连气泡的方法的流程示意图;1 shows a schematic flowchart of the method for extracting adhesion bubbles from a dynamic ice image provided in Embodiment 1 of the present application;

图2示出了本申请实施例1提供的动态冰中的粘连气泡的显微图;Fig. 2 shows the micrograph of the sticking bubbles in the dynamic ice provided in Example 1 of the present application;

图3示出了本申请实施例1提供的动态冰微观结构的原始图像;FIG. 3 shows the original image of the dynamic ice microstructure provided in Example 1 of the present application;

图4示出了本申请实施例1提供的将预处理二值图进行距离变换并取反得到的距离图像;Fig. 4 shows the distance image obtained by performing distance transformation and inversion of the preprocessed binary image provided in Embodiment 1 of the present application;

图5示出了本申请实施例1提供的对距离图像进行直方图均衡化得到的调整图像;FIG. 5 shows an adjusted image obtained by performing histogram equalization on the distance image provided by Embodiment 1 of the present application;

图6示出了本申请实施例1提供的在调整图像中对局部极小值所在的点进行标记得到的标记图像;6 shows a marked image obtained by marking the point where the local minimum value is located in the adjustment image provided by Embodiment 1 of the present application;

图7示出了本申请实施例1提供的不进行直方图均衡化得到的标记图像;FIG. 7 shows a marked image obtained without performing histogram equalization provided by Embodiment 1 of the present application;

图8示出了本申请实施例1提供的使用直方图均衡化得到的粘连气泡的分割图像;FIG. 8 shows a segmented image of the adhesion bubble obtained by using the histogram equalization provided in Example 1 of the present application;

图9示出了本申请实施例1提供的不进行直方图均衡化得到的粘连气泡的分割图像;FIG. 9 shows a segmented image of the adhesion bubble obtained without performing histogram equalization provided in Example 1 of the present application;

图10示出了本申请实施例2提供的从动态冰图像中提取粘连气泡的系统的框图;10 shows a block diagram of a system for extracting adhesion bubbles from a dynamic ice image provided in Embodiment 2 of the present application;

图11示出了本申请实施例3提供的一种用于执行本申请实施例的从动态冰图像中提取粘连气泡的方法的电子设备的框图。FIG. 11 shows a block diagram of an electronic device provided in Embodiment 3 of the present application for executing the method for extracting adhesive bubbles from a dynamic ice image according to the embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, 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 It is 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 work fall within the protection scope of the present application.

目前,可以使用基于标记控制的分水岭算法对粘连的气泡或颗粒进行分割,该种方法在气泡或颗粒大小一样时分割效果较好。但是,在动态冰中的粘连气泡大小相差较大时,难以对小气泡进行标记,因此难以将粘连的多个小气泡进行分割。并且,在动态冰中的粘连气泡附近存在面积大于粘连气泡的较大气泡时,难以对粘连气泡进行标记,因此难以对粘连气泡进行分割。At present, the watershed algorithm based on marker control can be used to segment the adhering bubbles or particles, and this method has a better segmentation effect when the bubbles or particles are of the same size. However, when the size of the adhering air bubbles in the dynamic ice varies greatly, it is difficult to mark the small air bubbles, so it is difficult to divide the adhering small air bubbles. In addition, when large air bubbles with a larger area than the adhering air bubbles exist in the vicinity of the adhering air bubbles in the dynamic ice, it is difficult to mark the adhering air bubbles, and thus it is difficult to segment the adhering air bubbles.

因此,为了解决上述缺陷,本申请实施例提供了从动态冰图像中提取粘连气泡的方法,该方法包括:根据预处理二值图中的气泡像素点到背景的最小距离,得到距离图像;对所述距离图像进行直方图均衡化,调整距离图像的距离矩阵中,每个气泡中心部分的数值,得到调整图像;从所述调整图像的图像矩阵中获取满足预设条件的数值,并在所述调整图像中对所述满足预设条件的数值所在的点进行标记,得到标记图像,该标记图像包括所有气泡的中心部分的标记点,根据所述标记图像中的标记点,对所述预处理二值图进行分水岭变换,得到粘连气泡的分割图像。如此,可以有效解决现有技术在从动态冰图像中提取粘连气泡时,存在的分割粘连气泡效果较差的问题。Therefore, in order to solve the above-mentioned defects, an embodiment of the present application provides a method for extracting adhesion bubbles from a dynamic ice image. The method includes: obtaining a distance image according to the minimum distance between the bubble pixels in the preprocessed binary image and the background; Histogram equalization is performed on the distance image, and the value of the center part of each bubble in the distance matrix of the distance image is adjusted to obtain an adjusted image; the value that meets the preset conditions is obtained from the image matrix of the adjusted image, and is stored in the adjusted image. Mark the point where the value that meets the preset condition is located in the adjustment image to obtain a marked image, and the marked image includes the marked points of the central part of all the bubbles. According to the marked points in the marked image, the preset The binary image is processed to perform watershed transformation to obtain a segmented image of adhering bubbles. In this way, it can effectively solve the problem of poor effect of dividing the adhering air bubbles in the prior art when extracting adhering air bubbles from a dynamic ice image.

下面对本申请所涉及到的从动态冰图像中提取粘连气泡的方法进行介绍。The method for extracting adhesive bubbles from dynamic ice images involved in the present application will be introduced below.

实施例1Example 1

请参照图1和图2,图1为本申请实施例1提供的一种从动态冰图像中提取粘连气泡的方法的流程示意图,图2为动态冰中的粘连气泡的显微示意图。本实施例中,该从动态冰图像中提取粘连气泡的方法可以包括以下步骤:Please refer to FIG. 1 and FIG. 2 , FIG. 1 is a schematic flowchart of a method for extracting adhesion bubbles from a dynamic ice image provided in Example 1 of the present application, and FIG. 2 is a microscopic schematic diagram of adhesion bubbles in dynamic ice. In this embodiment, the method for extracting adhesion bubbles from a dynamic ice image may include the following steps:

步骤S110:根据预处理二值图中的气泡像素点到背景的最小距离,得到距离图像。Step S110: Obtain a distance image according to the minimum distance from the bubble pixel point in the preprocessed binary image to the background.

如图3所示,图3为动态冰微观结构的原始图像。对该原始图像进行预处理,可以得到预处理二值图。As shown in Fig. 3, the original image of the dynamic ice microstructure. By preprocessing the original image, a preprocessed binary image can be obtained.

在图3中,上面方框中示出了动态冰中的粘连气泡大小相差较大的情形,具体地,三个大小不同的气泡粘连在一起,这三个粘连气泡中,最上面的气泡最大,中间的气泡第二大,最下面的气泡最小。In Figure 3, the box above shows the situation where the size of the adhesion bubbles in the dynamic ice is quite different. Specifically, three bubbles with different sizes are adhered together. Among the three adhesion bubbles, the uppermost bubble is the largest. , the bubble in the middle is the second largest, and the bubble at the bottom is the smallest.

在图3中,下面方框中示出了动态冰中的粘连气泡附近存在较大气泡的情形,具体地,三个气泡粘连在一起,且附近存在的较大气泡的直径大于该三个粘连气泡中的任意一个,在该种情况中,三个粘连气泡的大小可以相同,也可以不同,为了方便描述,图3示出的是三个粘连气泡大小相同的情形。In Fig. 3, the lower box shows the situation where there are larger bubbles near the sticking bubbles in the dynamic ice, specifically, three bubbles are sticking together, and the diameter of the large bubbles existing nearby is larger than the three sticking Any one of the bubbles, in this case, the size of the three sticking bubbles may be the same or different. For the convenience of description, FIG. 3 shows the situation where the three sticking bubbles are the same size.

作为一种可选实施方式,所述步骤S110还包括子步骤S111。As an optional implementation manner, the step S110 further includes a sub-step S111.

子步骤S111:将所述预处理二值图进行距离变换,根据所述预处理二值图中的气泡像素点到背景的最小距离,得到所述距离图像。Sub-step S111: Perform distance transformation on the preprocessed binary image, and obtain the distance image according to the minimum distance between the bubble pixels in the preprocessed binary image and the background.

在示例性实施例中,所述距离变换可以为欧式距离变换,也可以为曼哈顿距离变换,还可以为其他距离变换方式。In an exemplary embodiment, the distance transformation may be Euclidean distance transformation, Manhattan distance transformation, or other distance transformation methods.

其中,预处理二值图中的气泡越大,该气泡中心部分像素点到背景的最小距离越大,在距离图像的距离矩阵中,该气泡中心部分的数值越大,在距离图像中该气泡的中心亮度越高。Among them, the larger the bubble in the preprocessed binary image, the greater the minimum distance from the pixel in the center of the bubble to the background, in the distance matrix of the distance image, the larger the value in the center of the bubble, the greater the value of the bubble in the distance image. The center brightness is higher.

作为另一种可选实施方式,所述步骤S110还包括子步骤S112。As another optional implementation manner, the step S110 further includes a sub-step S112.

子步骤S112:将所述预处理二值图进行距离变换并取反,根据所述预处理二值图中的气泡像素点到背景的最小距离的相反数,得到所述距离图像。Sub-step S112: Perform distance transformation on the preprocessed binary image and invert, and obtain the distance image according to the inverse of the minimum distance between the bubble pixels in the preprocessed binary image and the background.

其中,预处理二值图中的气泡越大,该气泡中心部分像素点到背景的最小距离的相反数越小,距离图像的距离矩阵中,该气泡中心部分的数值越小,在距离图像中该气泡的中心亮度越低。如图4所示,图4为将预处理二值图进行距离变换并取反得到的距离图像。Among them, the larger the bubble in the preprocessed binary image, the smaller the inverse of the minimum distance between the pixel in the center of the bubble and the background, and in the distance matrix of the distance image, the smaller the value in the center of the bubble, in the distance image The center of the bubble is less bright. As shown in Fig. 4, Fig. 4 is a distance image obtained by performing distance transformation on the preprocessed binary image and inverting it.

从图4可以看出,上面方框的三个粘连气泡中,最上面的气泡的中心部分的亮度最低,中间的气泡的中心部分的亮度第二低,最下面的气泡的中心部分的亮度最高,也就是,在距离图像的距离矩阵中,最上面的气泡的中心部分的数值最小,中间的气泡的中心部分的数值第二小,最下面的气泡的中心部分的数值最大。It can be seen from Figure 4 that among the three sticking bubbles in the upper frame, the central part of the uppermost bubble has the lowest brightness, the central part of the middle bubble has the second lowest brightness, and the central part of the lowermost bubble has the highest brightness , that is, in the distance matrix of the distance image, the center part of the topmost bubble has the smallest value, the center part of the middle bubble has the second smallest value, and the center part of the bottommost bubble has the largest value.

从图4可以看出,下面方框的三个粘连气泡和附近存在的较大气泡中,三个粘连的气泡的中心部分的亮度一样高,且都高于附近存在的较大气泡的中心部分的亮度,也就是,在距离图像的距离矩阵中,三个粘连气泡的中心部分的数值一样大,且都高于附近存在的较大气泡的中心部分的数值。It can be seen from Figure 4 that the brightness of the central part of the three sticking bubbles in the lower box and the larger bubbles existing nearby is the same and higher than that of the larger bubbles existing nearby. The brightness of , that is, in the distance matrix of the distance image, the value of the central part of the three sticking bubbles is the same and higher than the value of the central part of the larger bubble that exists nearby.

在本申请实施例中,取反也可以是在步骤S120之后。In this embodiment of the present application, the negation may also be performed after step S120.

步骤S120:对所述距离图像进行直方图均衡化,得到调整图像。Step S120: Perform histogram equalization on the range image to obtain an adjusted image.

以将预处理二值图进行距离变换并取反得到距离图像为例进行说明,对需要该种情况下的距离图像进行直方图均衡化,使距离图像中大气泡的中心亮度变高,小气泡的中心亮度变低,也就是使距离矩阵中大气泡中心部分的数值变大,小气泡中心部分的数值变小,从而得到调整图像。如图5所示,图5为对距离图像进行直方图均衡化得到的调整图像。Taking the preprocessed binary image to distance transform and inversion to obtain the distance image as an example, the histogram equalization is performed on the distance image in this case, so that the center brightness of large bubbles in the distance image becomes higher, and the small bubbles in the distance image are brighter. The brightness of the center of the distance matrix becomes lower, that is, the value of the center part of the large bubble in the distance matrix becomes larger, and the value of the center part of the small bubble becomes smaller, so as to obtain the adjusted image. As shown in FIG. 5 , FIG. 5 is an adjusted image obtained by performing histogram equalization on the distance image.

从图5可以看出,上面方框的三个粘连气泡中,三个粘连气泡的中心部分的亮度一样高,也就是,在调整图像的图像矩阵中,三个粘连气泡的中心部分的数值一样大。As can be seen from Figure 5, among the three sticking bubbles in the box above, the central parts of the three sticking bubbles have the same brightness, that is, in the image matrix of the adjusted image, the central parts of the three sticking bubbles have the same value big.

从图5可以看出,下面方框的三个粘连气泡和附近存在的较大气泡中,三个粘连的气泡的中心部分的亮度和附近存在的较大气泡的中心部分的亮度一样高,也就是,在调整图像的图像矩阵中,三个粘连的气泡的中心部分的数值和附近存在的较大气泡的中心部分的数值一样大。It can be seen from Figure 5 that among the three sticking bubbles in the lower box and the larger bubbles existing nearby, the brightness of the central part of the three sticking bubbles is as high as the brightness of the central part of the larger bubble existing nearby, and also That is, in the image matrix of the adjusted image, the value of the central part of the three stuck bubbles is as large as the value of the central part of the larger bubble that exists nearby.

步骤S130:从所述调整图像的图像矩阵中获取满足预设条件的数值,并在所述调整图像中对所述满足预设条件的数值所在的点进行标记,得到标记图像。Step S130: Acquire a numerical value that satisfies a preset condition from the image matrix of the adjustment image, and mark the point where the numerical value meeting the preset condition is located in the adjustment image to obtain a marked image.

作为一种可选实施方式,若所述步骤S110包括子步骤S111,所述预设条件为局部极大值,则所述步骤S130包括子步骤S131。As an optional implementation manner, if the step S110 includes the sub-step S111, and the preset condition is a local maximum value, the step S130 includes the sub-step S131.

子步骤S131:从所述调整图像的图像矩阵中获取所述局部极大值,并在所述调整图像中对所述局部极大值所在的点进行标记,得到所述标记图像。Sub-step S131: Obtain the local maximum value from the image matrix of the adjustment image, and mark the point where the local maximum value is located in the adjustment image to obtain the marked image.

局部极大值可以是:在调整图像的图像矩阵中,在局部区域内的数值的最大值。其中,局部区域可以是刚好能覆盖该调整图像中的最大气泡的区域,如图5所示的方框,也可以是比刚好能覆盖该调整图像中的最大气泡的区域稍大一些的区域,本申请对此不做限制。The local maximum value may be: in the image matrix of the adjusted image, the maximum value of the value in the local area. Wherein, the local area can be the area that just covers the largest bubble in the adjusted image, such as the box shown in Figure 5, or it can be a slightly larger area than the area that just covers the largest bubble in the adjusted image, This application does not limit this.

将局部区域在调整图像的图像矩阵进行迭代计算,并获取每一次迭代计算时的局部极大值。Iteratively calculate the local area in the image matrix of the adjusted image, and obtain the local maxima during each iteration calculation.

在对距离图像进行直方图均衡化得到调整图像之后,调整图像的局部区域内的气泡的中心部分的亮度一致,调整图像的图像矩阵的局部区域内的气泡的中心部分的数值一致,因此,每个气泡的中心部分的数值都是局部区域内的最大值,每个气泡的中心部分所在的点均可以被标记。After the adjustment image is obtained by performing histogram equalization on the distance image, the brightness of the central part of the bubble in the local area of the adjusted image is consistent, and the value of the central part of the bubble in the local area of the image matrix of the adjusted image is consistent. Therefore, each The values of the central part of each bubble are the maximum values in the local area, and the point where the central part of each bubble is located can be marked.

若不进行直方图均衡化,直接从将预处理二值图进行距离变换得到的距离图像的距离矩阵中获取局部极大值,并在该距离图像中对局部极大值所在的点进行标记,由于距离图像的局部区域内的气泡的中心部分的亮度不一致,距离图像的距离矩阵的局部区域内的气泡的中心部分的数值也不一致,因此,只有中心部分的数值最大的气泡可以被标记出,中心部分的数值不是最大的气泡会被遗漏。If the histogram equalization is not performed, the local maximum value is directly obtained from the distance matrix of the distance image obtained by the distance transformation of the preprocessed binary image, and the point where the local maximum value is located is marked in the distance image. Since the brightness of the central part of the bubble in the local area of the distance image is inconsistent, the value of the central part of the bubble in the local area of the distance matrix of the distance image is also inconsistent. Therefore, only the bubble with the largest value in the central part can be marked. Bubbles whose values in the central part are not the largest are omitted.

作为另一种可选实施方式,若所述步骤S110包括子步骤S112,所述预设条件为局部极小值,则所述步骤S130包括子步骤S132。As another optional implementation manner, if the step S110 includes the sub-step S112, and the preset condition is a local minimum value, the step S130 includes the sub-step S132.

子步骤S132:从所述调整图像的图像矩阵中获取所述局部极小值,并在所述调整图像中对所述局部极小值所在的点进行标记,得到所述标记图像。Sub-step S132: Obtain the local minimum value from the image matrix of the adjusted image, and mark the point where the local minimum value is located in the adjusted image to obtain the marked image.

局部极小值可以是:在调整图像的图像矩阵中,在局部区域内的数值的最小值。其中,局部区域以及获取局部极小值的内容可以参照子步骤S131中的局部区域以及获取局部极大值的内容,本申请在此不再赘述。The local minima may be: in the image matrix of the adjusted image, the minimum value of the values in the local area. Wherein, for the local area and the content of obtaining the local minimum value, reference may be made to the local area and the content of obtaining the local maximum value in sub-step S131, which will not be repeated in this application.

在对距离图像进行直方图均衡化得到调整图像之后,调整图像的局部区域内的气泡的中心部分的亮度一致,调整图像的图像矩阵的局部区域内的气泡的中心部分的数值一致,因此,每个气泡的中心部分的数值都是局部区域内的最小值,每个气泡的中心部分所在的点均可以被标记。After the adjustment image is obtained by performing histogram equalization on the distance image, the brightness of the central part of the bubble in the local area of the adjusted image is consistent, and the value of the central part of the bubble in the local area of the image matrix of the adjusted image is consistent. Therefore, each The values of the central part of each bubble are the minimum values in the local area, and the point where the central part of each bubble is located can be marked.

如图6所示,图6为使用本申请的方法得到的标记图像。As shown in FIG. 6 , FIG. 6 is a marked image obtained using the method of the present application.

从图6可以看出,上面方框的三个粘连气泡中,三个粘连气泡的中心部分所在的点均被标记出。It can be seen from FIG. 6 that, among the three sticking bubbles in the above box, the points where the central parts of the three sticking bubbles are located are marked.

从图6可以看出,下面方框的三个粘连气泡和附近存在的较大气泡中,三个粘连的气泡的中心部分所在的点,和附近存在的较大气泡的中心部分所在的点均被标记出。As can be seen from Figure 6, among the three sticking bubbles in the lower box and the larger bubbles existing nearby, the point where the center part of the three sticking bubbles is located and the point where the center part of the larger bubble existing nearby are both marked out.

若不进行直方图均衡化,直接从如图4所示的距离图像的距离矩阵中获取局部极小值,并在该距离图像中对局部极小值所在的点进行标记,由于距离图像的局部区域内的气泡的中心部分的亮度不一致,距离图像的距离矩阵的局部区域内的气泡的中心部分的数值也不一致,因此,只有中心部分的数值最小的气泡可以被标记出,中心部分的数值不是最小的气泡会被遗漏。若不进行直方图均衡化,得到的标记图像如图7所示。If the histogram equalization is not performed, the local minimum value is directly obtained from the distance matrix of the distance image as shown in Figure 4, and the point where the local minimum value is located is marked in the distance image. The brightness of the central part of the bubble in the area is inconsistent, and the value of the central part of the bubble in the local area of the distance matrix from the image is also inconsistent. Therefore, only the bubble with the smallest value in the central part can be marked, and the value in the central part is not. The smallest bubbles will be missed. If the histogram equalization is not performed, the resulting marked image is shown in Figure 7.

从从图7可以看出,上面方框的三个粘连气泡中,只有最上面的最大的气泡的中心部分所在的点被标记出,中间的第二大的气泡和最下面的最小的气泡的中心部分所在的点均被遗漏。As can be seen from Figure 7, among the three sticking bubbles in the upper box, only the point where the center of the uppermost and largest bubble is located is marked, and the second largest bubble in the middle and the smallest bubble at the bottom are marked. The points where the center part is located are all omitted.

从图7可以看出,下面方框的三个粘连气泡和附近存在的较大气泡中,只有附近存在的较大气泡的中心部分所在的点被标记出,三个粘连的气泡的中心部分所在的点均被遗漏。As can be seen from Figure 7, among the three sticking bubbles in the box below and the larger bubbles existing nearby, only the point where the center part of the larger bubble existing nearby is marked, and the center part of the three sticking bubbles is located points are missed.

步骤S140:根据所述标记图像中的标记点,对所述预处理二值图进行分水岭变换,得到粘连气泡的分割图像。Step S140: Perform watershed transformation on the preprocessed binary image according to the marked points in the marked image, to obtain a segmented image of the adhering bubbles.

作为一种可选实施方式,若所述步骤S110包括子步骤S111,则所述步骤S140包括子步骤S141。As an optional implementation manner, if the step S110 includes the sub-step S111, the step S140 includes the sub-step S141.

子步骤S141:根据所述标记图像中的标记点,对所述预处理二值图进行分水岭变换,得到基于标记点的分水岭分割线,将所述分水岭分割线与预处理二值图进行或运算,得到粘连气泡的分割图像。Sub-step S141: Perform watershed transformation on the preprocessed binary image according to the marked points in the marked image to obtain a watershed segmentation line based on the marked points, and perform an OR operation on the watershed segmentation line and the preprocessed binary image , to obtain a segmented image of the sticking bubbles.

在本申请实施例中,由于每个气泡的中心部分所在的点均被标记出,根据每个气泡的标记点,对预处理二值图进行分水岭变换,可以得到每个气泡的分水岭分割线,将每个气泡的分水岭分割线与预处理二值图进行或运算,从而将粘连气泡进行分割。In the embodiment of the present application, since the point where the center of each bubble is located is marked, according to the marked point of each bubble, watershed transformation is performed on the preprocessed binary image, and the watershed dividing line of each bubble can be obtained, The adhering bubbles are segmented by ORing the watershed dividing line of each bubble with the preprocessed binary image.

作为另一种可选实施方式,若所述步骤S110包括子步骤S112,则所述步骤S140包括子步骤S142。As another optional implementation manner, if the step S110 includes the sub-step S112, the step S140 includes the sub-step S142.

子步骤S142:根据所述标记图像中的标记点,对所述预处理二值图进行分水岭变换,得到基于标记点的分水岭分割线,将所述分水岭分割线取反,并与预处理二值图进行或运算,得到粘连气泡的分割图像。Sub-step S142: According to the marked points in the marked image, perform watershed transformation on the preprocessed binary image to obtain a watershed segmentation line based on the marked points, invert the watershed segmentation line, and combine with the preprocessed binary image. The graph is ORed to obtain a segmented image of the adhering bubbles.

在本申请实施例中,由于每个气泡的中心部分所在的点均被标记出,根据每个气泡的标记点,对预处理二值图进行分水岭变换,可以得到每个气泡的分水岭分割线,将每个气泡的分水岭分割线取反,再与预处理二值图进行或运算,从而将粘连气泡进行分割。In the embodiment of the present application, since the point where the center of each bubble is located is marked, according to the marked point of each bubble, watershed transformation is performed on the preprocessed binary image, and the watershed dividing line of each bubble can be obtained, Invert the watershed dividing line of each bubble, and then perform OR operation with the preprocessed binary image to segment the adhering bubbles.

如图8所示,图8为使用本申请的方法得到的粘连气泡的分割图像。As shown in FIG. 8 , FIG. 8 is a segmented image of adhering bubbles obtained using the method of the present application.

从图8可以看出,上面方框的三个粘连气泡中,三个粘连气泡均被分割。It can be seen from Fig. 8 that, among the three adhesion bubbles in the box above, all three adhesion bubbles are divided.

从图8可以看出,下面方框的三个粘连气泡中,三个粘连气泡均被分割。It can be seen from Fig. 8 that among the three adhesion bubbles in the box below, all three adhesion bubbles are divided.

若不进行直方图均衡化,得到的粘连气泡的分割图像如图9所示。If the histogram equalization is not performed, the obtained segmented image of the adhering bubbles is shown in FIG. 9 .

从图9可以看出,上面方框的三个粘连气泡中,由于只有最上面的气泡的中心部分所在的点被标记出,中间的气泡和最下面的气泡的中心部分所在的点均未被标记出,因此只有最上面的气泡被分割,中间的气泡和最下面的气泡没有被分割,依然粘连在一起。As can be seen from Figure 9, among the three sticking bubbles in the upper box, since only the point where the center part of the uppermost bubble is located is marked, neither the center bubble nor the point where the center part of the lowermost bubble is located is not marked. Marked so that only the top bubble is split, the middle and bottom bubbles are not split and still stick together.

从图9可以看出,下面方框的三个粘连气泡中,由于三个粘连气泡的中心部分所在的点均未被标记出,因此三个粘连气泡均没有被分割,依然粘连在一起。It can be seen from FIG. 9 that, among the three sticking bubbles in the box below, since the point where the central part of the three sticking bubbles is not marked, the three sticking bubbles are not divided and are still sticking together.

本申请通过对需要标记的距离图像进行直方图均衡化,避免了因气泡大小不同而导致局部区域内的气泡的中心部分的数值大小不同,而不将小气泡中心部分的数值识别为满足预设条件的数值,从而无法标记小气泡中心部分所在的点。使用本申请提供的从动态冰图像中提取粘连气泡的方法,在动态冰中的粘连气泡大小相差较大时,以及在动态冰中的粘连气泡附近存在面积大于粘连气泡的较大气泡时,都可以对粘连的小气泡的中心部分所在的点进行标记,从而使分割粘连气泡的效果更好。By performing histogram equalization on the distance image to be marked, the present application avoids that the value of the central part of the bubble in the local area is different due to the different size of the bubble, and does not recognize the value of the central part of the small bubble as satisfying the preset value condition, so that the point where the center part of the small bubble is located cannot be marked. Using the method for extracting adhesion bubbles from a dynamic ice image provided by the present application, when the size of the adhesion bubbles in the dynamic ice differs greatly, and when there are larger bubbles with a larger area than the adhesion bubbles near the adhesion bubbles in the dynamic ice, both The point where the center part of the stuck small bubbles is located can be marked, so that the effect of dividing the stuck bubbles is better.

在示例性实施例中,所述步骤S110之前,还包括步骤S101至步骤S104。In an exemplary embodiment, steps S101 to S104 are further included before the step S110.

步骤S101:通过预设神经网络模型从原始图像中提取气泡,得到第一中间图像。Step S101 : extracting bubbles from the original image through a preset neural network model to obtain a first intermediate image.

在本申请实施例中,动态冰的原始图像可以是显微图像,也可以是手机摄像头拍摄动态冰得到的图像,原始图像可以是彩色图像,也可以是灰度图像。In the embodiment of the present application, the original image of the dynamic ice may be a microscopic image, or an image obtained by capturing the dynamic ice with a mobile phone camera, and the original image may be a color image or a grayscale image.

作为一种可选实施方式,若原始图像的尺寸等于预设尺寸,则通过预设神经网络模型从原始图像中提取气泡,得到第一中间图像。As an optional implementation manner, if the size of the original image is equal to the preset size, a preset neural network model is used to extract bubbles from the original image to obtain the first intermediate image.

作为另一种可选实施方式,若所述原始图像的尺寸不等于预设尺寸,则将所述原始图像的尺寸调整为所述预设尺寸,并通过所述预设神经网络模型从调整为所述预设尺寸的原始图像中提取气泡,得到第一提取图像,并将所述第一提取图像还原为所述原始图像的尺寸,得到所述第一中间图像。As another optional implementation manner, if the size of the original image is not equal to the preset size, the size of the original image is adjusted to the preset size, and the preset neural network model is used to adjust the size from The bubbles are extracted from the original image of the preset size to obtain a first extracted image, and the first extracted image is restored to the size of the original image to obtain the first intermediate image.

其中,若原始图像的尺寸小于预设尺寸,则将原始图像的尺寸放大为预设尺寸,并通过预设神经网络模型从放大为所述预设尺寸的原始图像中提取气泡,得到第一提取图像,并将第一提取图像缩小为原始图像的尺寸,得到第一中间图像。Wherein, if the size of the original image is smaller than the preset size, the size of the original image is enlarged to the preset size, and a preset neural network model is used to extract bubbles from the original image enlarged to the preset size to obtain the first extraction image, and reduce the first extracted image to the size of the original image to obtain a first intermediate image.

若原始图像的尺寸大于预设尺寸,则将原始图像的尺寸缩小为预设尺寸,并通过预设神经网络模型从缩小为所述预设尺寸的原始图像中提取气泡,得到第一提取图像,并将第一提取图像放大为原始图像的尺寸,得到第一中间图像。If the size of the original image is larger than the preset size, reducing the size of the original image to the preset size, and extracting bubbles from the original image reduced to the preset size through a preset neural network model to obtain a first extracted image, and enlarge the first extracted image to the size of the original image to obtain a first intermediate image.

作为又一种可选实施方式,若原始图像的尺寸小于预设尺寸,则通过预设神经网络模型从原始图像中提取气泡,得到第一中间图像。As another optional implementation manner, if the size of the original image is smaller than the preset size, the bubbles are extracted from the original image through a preset neural network model to obtain the first intermediate image.

其中,预设尺寸可以是根据计算机资源限制而设定的尺寸,如256*256或者512*512。The preset size may be a size set according to computer resource constraints, such as 256*256 or 512*512.

其中,放大或缩小原始图像的方式可以是插值的方式,将第一提取图像缩小为原始图像的尺寸或将第一提取图像放大为原始图像的尺寸的方式,也可以是插值的方式。The method of enlarging or reducing the original image may be an interpolation method, and the method of reducing the first extracted image to the size of the original image or enlarging the first extracted image to the size of the original image may also be an interpolation method.

通过在原始图像的尺寸不等于预设尺寸时,将原始图像调整为预设尺寸,避免由于计算机资源的限制而无法对原始图像进行图像识别,并将第一提取图像还原为原始图像的尺寸,避免由于尺寸调整而损失第一中间图像的精度。By adjusting the original image to the preset size when the size of the original image is not equal to the preset size, it is avoided that the image recognition cannot be performed on the original image due to the limitation of computer resources, and the first extracted image is restored to the size of the original image, Avoid loss of accuracy of the first intermediate image due to resizing.

在本申请实施例中,预设神经网络模型可以是加入注意力机制的U-net网络模型,也可以是R2U-net模型,还可以是其他神经网络模型,本申请对此不做限制。In this embodiment of the present application, the preset neural network model may be a U-net network model with an attention mechanism, an R2U-net model, or other neural network models, which are not limited in this application.

本申请通过预设的神经网络模型从动态冰图像中提取气泡,避免了将动态冰图像中的纹理识别为气泡,以及气泡边界识别不清晰等问题,为提取效果更好的气泡提供基础。The present application extracts bubbles from dynamic ice images through a preset neural network model, which avoids the problems of identifying textures in dynamic ice images as bubbles and unclear bubble boundary recognition, and provides a basis for better extraction of bubbles.

作为一种可选实施方式,若所述原始图像的形状不满足所述预设神经网络模型的输入形状,则将所述原始图像填充为所述预设神经网络模型的输入形状,再执行步骤S101。As an optional implementation manner, if the shape of the original image does not meet the input shape of the preset neural network model, fill the original image with the input shape of the preset neural network model, and then perform the steps S101.

步骤S102:将所述原始图像分割成n个第二分割图像块,且

Figure 912605DEST_PATH_IMAGE001
,并通过所述预设神经网络模型分别从所述n个第二分割图像块中提取气泡,得到n个第二提取图像块。Step S102: Divide the original image into n second divided image blocks, and
Figure 912605DEST_PATH_IMAGE001
, and extract bubbles from the n second segmented image blocks respectively through the preset neural network model to obtain n second extracted image blocks.

本申请通过将动态冰图像分割成尺寸较小的第二分割图像块,并用预设神经网络模型分别从每个第二分割图像块中提取气泡,避免原始图像尺寸太大而气泡太小时遗漏小气泡,使提取到的气泡效果更好。In this application, by dividing the dynamic ice image into second segmented image blocks of smaller size, and using a preset neural network model to extract bubbles from each of the second segmented image blocks, it is avoided that the size of the original image is too large and the size of the bubbles is too small to be missed. air bubbles to make the extracted air bubbles more effective.

步骤S103:将所述n个第二提取图像块按照分割位置排列顺序拼接成第二中间图像,所述分割位置排列顺序为将所述原始图像分割成所述n个第二分割图像块时,每个第二分割图像块在所述原始图像中的位置的排列顺序。Step S103: splicing the n second extracted image blocks into a second intermediate image according to the sequence of division positions, and the sequence of division positions is that when the original image is divided into the n second divided image blocks, The arrangement sequence of the position of each second divided image block in the original image.

在本申请实施例中,可以先执行获取第一中间图像的步骤,再执行获取第二中间图像的步骤,也可以先执行获取第二中间图像的步骤,再执行获取第一中间图像的步骤,还可以同时执行获取第一中间图像的步骤和获取第二中间图像的步骤。In this embodiment of the present application, the step of acquiring the first intermediate image may be performed first, and then the step of acquiring the second intermediate image may be performed, or the step of acquiring the second intermediate image may be performed first, and then the step of acquiring the first intermediate image may be performed, The steps of acquiring the first intermediate image and the steps of acquiring the second intermediate image may also be performed simultaneously.

步骤S104:将所述第一中间图像和所述第二中间图像进行或运算,得到预处理二值图。Step S104: Perform OR operation on the first intermediate image and the second intermediate image to obtain a preprocessed binary image.

具体地,第一中间图像中的小气泡被遗漏,第二中间图像中的大气泡有孔洞,将第一中间图像和第二中间图像进行或运算,补上被遗漏的小气泡和大气泡中的孔洞,得到预处理二值图,且该预处理二值图中包含完整的小气泡和完整的大气泡。Specifically, the small bubbles in the first intermediate image are omitted, and the large bubbles in the second intermediate image have holes. The first intermediate image and the second intermediate image are ORed to make up for the missing small bubbles and large bubbles. A preprocessed binary image is obtained, and the preprocessed binary image contains complete small bubbles and complete large bubbles.

作为一种可选实施方式,将步骤S104得到的预处理二值图进行开运算,得到消除噪点后的预处理二值图。As an optional implementation manner, an open operation is performed on the preprocessed binary image obtained in step S104 to obtain a preprocessed binary image after noise removal.

本申请通过预设神经网络模型直接从原始图像中提取气泡,提取到包含完整大气泡的第一中间图像,再将原始图像进行分割,通过预设神经网络模型从第二分割图像块中提取气泡,得到包含完整小气泡的第二中间图像,将第一中间图像和第二中间图像进行或运算,得到既包含完整大气泡又包含完整小气泡的预处理二值图,使预处理二值图提取到的气泡效果更好,为提升分割粘连气泡的效果建立了基础。The present application directly extracts bubbles from the original image through a preset neural network model, extracts a first intermediate image containing complete large bubbles, then divides the original image, and extracts bubbles from the second segmented image block through a preset neural network model , obtain a second intermediate image containing complete small bubbles, and perform OR operation on the first intermediate image and the second intermediate image to obtain a preprocessed binary image containing both complete large bubbles and complete small bubbles, so that the preprocessed binary image The effect of the extracted bubbles is better, which lays a foundation for improving the effect of dividing and adhering bubbles.

实施例2Example 2

请参照图10,图10为本申请实施例2提供的一种从动态冰图像中提取粘连气泡的系统1000的结构框图。该系统可以包括:距离获取单元1010、调整单元1020、标记单元1030、分水岭变换单元1040。Please refer to FIG. 10 , which is a structural block diagram of a system 1000 for extracting adhesion bubbles from a dynamic ice image provided in Embodiment 2 of the present application. The system may include: a distance acquisition unit 1010 , an adjustment unit 1020 , a marking unit 1030 , and a watershed transformation unit 1040 .

距离获取单元1010,用于根据预处理二值图中的气泡像素点到背景的最小距离,得到距离图像。The distance obtaining unit 1010 is configured to obtain a distance image according to the minimum distance from the bubble pixel point in the preprocessed binary image to the background.

调整单元1020,用于对所述距离图像进行直方图均衡化,得到调整图像。The adjustment unit 1020 is configured to perform histogram equalization on the distance image to obtain an adjusted image.

标记单元1030,用于从所述调整图像的图像矩阵中获取满足预设条件的数值,并在所述调整图像中对所述满足预设条件的数值所在的点进行标记,得到标记图像。The marking unit 1030 is configured to obtain a numerical value satisfying a preset condition from the image matrix of the adjustment image, and mark the point where the numerical value meeting the preset condition is located in the adjustment image to obtain a marked image.

分水岭变换单元1040,用于根据所述标记图像中的标记点,对所述标记图像进行分水岭变换,得到粘连气泡的分割图像。The watershed transformation unit 1040 is configured to perform watershed transformation on the marked image according to the marked points in the marked image, so as to obtain a segmented image of adhering bubbles.

作为一种可选实施方式,所述距离获取单元1010包括第一距离获取子单元,用于将所述预处理二值图进行距离变换,根据所述预处理二值图中的气泡像素点到背景的最小距离,得到所述距离图像。As an optional implementation manner, the distance obtaining unit 1010 includes a first distance obtaining sub-unit, configured to perform distance transformation on the preprocessed binary image, according to the distance from the bubble pixels in the preprocessed binary image to The minimum distance from the background to obtain the distance image.

所述标记单元1030包括第一标记子单元,用于从所述调整图像的图像矩阵中获取局部极大值,并在所述调整图像中对所述局部极大值所在的点进行标记,得到所述标记图像。The marking unit 1030 includes a first marking sub-unit, which is used to obtain a local maximum value from the image matrix of the adjustment image, and mark the point where the local maximum value is located in the adjustment image to obtain: the marked image.

所述分水岭变换单元1040包括第一分水岭变换子单元,用于根据所述标记图像中的标记点,对所述预处理二值图进行分水岭变换,得到基于标记点的分水岭分割线,将所述分水岭分割线与预处理二值图进行或运算,得到粘连气泡的分割图像。The watershed transformation unit 1040 includes a first watershed transformation sub-unit, configured to perform watershed transformation on the preprocessed binary image according to the marked points in the marked image, to obtain a watershed segmentation line based on the marked points, and convert the The watershed dividing line is ORed with the preprocessed binary image to obtain the segmented image of the adhering bubbles.

作为另一种可选实施方式,所述距离获取单元1010还包括第二距离获取子单元,用于将所述预处理二值图进行距离变换并取反,根据所述预处理二值图中的气泡像素点到背景的最小距离的相反数,得到所述距离图像。As another optional implementation manner, the distance obtaining unit 1010 further includes a second distance obtaining subunit, configured to perform distance transformation and inversion on the preprocessed binary image, according to the preprocessed binary image The inverse of the minimum distance from the bubble pixel point to the background to obtain the distance image.

所述标记单元1030还包括第二标记子单元,用于从所述调整图像的图像矩阵中获取局部极小值,并在所述调整图像中对所述局部极小值所在的点进行标记,得到所述标记图像。The marking unit 1030 further includes a second marking sub-unit, configured to obtain a local minimum value from the image matrix of the adjusted image, and mark the point where the local minimum value is located in the adjusted image, The marked image is obtained.

所述分水岭变换单元1040包括第二分水岭变换子单元,用于根据所述标记图像中的标记点,对所述预处理二值图进行分水岭变换,得到基于标记点的分水岭分割线,将所述分水岭分割线取反,并与预处理二值图进行或运算,得到粘连气泡的分割图像。The watershed transformation unit 1040 includes a second watershed transformation subunit, which is configured to perform watershed transformation on the preprocessed binary image according to the marked points in the marked image, so as to obtain a watershed segmentation line based on the marked points, and convert the The watershed dividing line is inverted and ORed with the preprocessed binary image to obtain the segmented image of the adhering bubbles.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述系统和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the system and unit described above, reference may be made to the corresponding process in the foregoing method embodiments, which will not be repeated here.

另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.

实施例3Example 3

请参照图11,图11为本申请实施例3提供的一种电子设备1100的结构框图。本申请中的电子设备1100可以包括一个或多个如下部件:存储器1110、处理器1120、屏幕1130以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器1110中并被配置为由一个或多个处理器1120执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 11 , which is a structural block diagram of an electronic device 1100 according to Embodiment 3 of the present application. The electronic device 1100 in the present application may include one or more of the following components: a memory 1110, a processor 1120, a screen 1130, and one or more application programs, wherein the one or more application programs may be stored in the memory 1110 and configured For execution by the one or more processors 1120, one or more programs are configured to perform the methods as described in the foregoing method embodiments.

存储器1110可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。存储器1110可用于存储指令、程序、代码、代码集或指令集。存储器1110可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如直方图均衡化功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备1100在使用中所创建的数据(比如图像矩阵数据等)。The memory 1110 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory, ROM). Memory 1110 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 1110 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a histogram equalization function, etc.), for implementing the following Instructions of various method embodiments, etc. The storage data area may also store data (such as image matrix data, etc.) created by the electronic device 1100 in use.

处理器1120可以包括一个或者多个处理核。处理器1120利用各种接口和线路连接整个电子设备1100内的各个部分,通过运行或执行存储在存储器1110内的指令、程序、代码集或指令集,以及调用存储在存储器1110内的数据,执行电子设备1100的各种功能和处理数据。可选地,处理器1120可以采用数字信号处理(Digital Signal Processing, DSP)、现场可编程门阵列(Field-Programmable Gate Array, FPGA)、可编程逻辑阵列(Programmable Logic Array, PLA)中的至少一种硬件形式来实现。处理器1120可集成中央处理器(Central Processing Unit, CPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统和应用程序等;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1120中,单独通过一块通信芯片进行实现。The processor 1120 may include one or more processing cores. The processor 1120 uses various interfaces and lines to connect various parts of the entire electronic device 1100, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 1110, and calling the data stored in the memory 1110. Various functions of the electronic device 1100 and processing data. Optionally, the processor 1120 may use at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). It is implemented in a hardware form. The processor 1120 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a modem, and the like. Among them, the CPU mainly handles the operating system and application programs; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 1120, and is implemented by a communication chip alone.

最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (9)

1. A method of extracting stuck bubbles from a dynamic ice image, the method comprising:
s110, obtaining a distance image according to the minimum distance from a bubble pixel point in the preprocessed binary image to the background;
s120, carrying out histogram equalization on the distance image to obtain an adjusted image;
s130, obtaining a numerical value meeting a preset condition from an image matrix of the adjusted image, and marking a point where the numerical value meeting the preset condition is located in the adjusted image to obtain a marked image;
s140, performing watershed transformation on the preprocessed binary image according to the mark points in the mark image to obtain a segmented image with adhered bubbles.
2. The method of extracting stuck bubbles from a dynamic ice image of claim 1, wherein the step S110 comprises:
performing distance transformation on the preprocessed binary image, and obtaining the distance image according to the minimum distance from a bubble pixel point in the preprocessed binary image to a background;
the preset condition is a local maximum, and the step S130 includes:
acquiring the local maximum value from the image matrix of the adjusted image, and marking the point of the local maximum value in the adjusted image to obtain a marked image;
the step S140 includes:
and carrying out watershed transformation on the preprocessed binary image according to the mark points in the marked image to obtain a watershed segmentation line based on the mark points, and carrying out OR operation on the watershed segmentation line and the preprocessed binary image to obtain a segmented image with adhered bubbles.
3. The method of extracting stuck bubbles from a dynamic ice image of claim 1, wherein the step S110 comprises:
performing distance transformation and negation on the preprocessed binary image, and obtaining the distance image according to the inverse number of the minimum distance from the bubble pixel point in the preprocessed binary image to the background;
the preset condition is a local minimum, and the step S130 includes:
acquiring the local minimum value from an image matrix of the adjusted image, and marking a point where the local minimum value is located in the adjusted image to obtain a marked image;
the step S140 includes:
and carrying out watershed transformation on the preprocessed binary image according to the mark points in the marked image to obtain a watershed segmentation line based on the mark points, negating the watershed segmentation line, and carrying out OR operation on the watershed segmentation line and the preprocessed binary image to obtain a segmented image adhered with bubbles.
4. The method of extracting stuck bubbles from a dynamic ice image of any of claims 2 to 3, wherein the distance transform is a Euclidean distance transform or a Manhattan distance transform.
5. The method of extracting stuck bubbles from a dynamic ice image of claim 1, further comprising, before the step S110:
extracting bubbles from the original image through a preset neural network model to obtain a first intermediate image;
the original image is divided into n second divided image blocks, an
Figure DEST_PATH_IMAGE001
Respectively extracting bubbles from the n second divided image blocks through the preset neural network model to obtain n second extracted image blocks;
splicing the n second extracted image blocks into a second intermediate image according to a segmentation position arrangement sequence, wherein the segmentation position arrangement sequence is an arrangement sequence of positions of each second segmentation image block in the original image when the original image is segmented into the n second segmentation image blocks;
and performing OR operation on the first intermediate image and the second intermediate image to obtain a preprocessed binary image.
6. A system for extracting stuck bubbles from a dynamic ice image, comprising:
the distance acquisition unit is used for obtaining a distance image according to the minimum distance from the bubble pixel point in the preprocessed binary image to the background;
the adjusting unit is used for carrying out histogram equalization on the distance image to obtain an adjusted image;
the marking unit is used for acquiring a numerical value meeting a preset condition from the image matrix of the adjusted image, and marking a point where the numerical value meeting the preset condition is located in the adjusted image to obtain a marked image;
and the watershed transformation unit is used for carrying out watershed transformation on the marked image according to the mark points in the marked image to obtain a segmented image adhered with bubbles.
7. The system for extracting adhered bubbles from a dynamic ice image according to claim 6, wherein the distance obtaining unit comprises a first distance obtaining subunit, configured to perform distance transformation on the preprocessed binary image, and obtain the distance image according to a minimum distance from a bubble pixel point in the preprocessed binary image to a background;
the marking unit comprises a first marking subunit, which is used for acquiring a local maximum value from an image matrix of the adjustment image and marking a point of the local maximum value in the adjustment image to obtain a marked image;
the watershed transform unit comprises a first watershed transform subunit, and is used for performing watershed transform on the preprocessed binary image according to the mark points in the marked image to obtain a watershed segmentation line based on the mark points, and performing OR operation on the watershed segmentation line and the preprocessed binary image to obtain a segmented image with adhered bubbles.
8. The system for extracting adhered bubbles from a dynamic ice image according to claim 6, wherein the distance obtaining unit further comprises a second distance obtaining subunit, configured to perform distance transformation and inversion on the preprocessed binary image, and obtain the distance image according to an inverse number of a minimum distance from a bubble pixel point in the preprocessed binary image to a background;
the marking unit further comprises a second marking subunit, configured to obtain a local minimum value from the image matrix of the adjustment image, and mark a point in the adjustment image where the local minimum value is located, to obtain the marked image;
the watershed transform unit comprises a second watershed transform subunit, and is used for performing watershed transform on the preprocessed binary image according to the mark points in the marked image to obtain a watershed segmentation line based on the mark points, negating the watershed segmentation line, and performing OR operation on the watershed segmentation line and the preprocessed binary image to obtain a segmented image adhered with bubbles.
9. An electronic device, comprising:
one or more processors;
a memory;
a screen for displaying an image in the method of any one of claims 1-5;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-5.
CN202210638584.XA 2022-06-08 2022-06-08 A method, device and equipment for extracting adhesion bubbles from dynamic ice images Active CN114821071B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210638584.XA CN114821071B (en) 2022-06-08 2022-06-08 A method, device and equipment for extracting adhesion bubbles from dynamic ice images
CN202311101039.8A CN117011531A (en) 2022-06-08 2022-06-08 Method, device and equipment for extracting adhesion bubbles from dynamic ice image based on watershed segmentation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210638584.XA CN114821071B (en) 2022-06-08 2022-06-08 A method, device and equipment for extracting adhesion bubbles from dynamic ice images

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202311101039.8A Division CN117011531A (en) 2022-06-08 2022-06-08 Method, device and equipment for extracting adhesion bubbles from dynamic ice image based on watershed segmentation

Publications (2)

Publication Number Publication Date
CN114821071A true CN114821071A (en) 2022-07-29
CN114821071B CN114821071B (en) 2023-09-22

Family

ID=82521913

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202311101039.8A Pending CN117011531A (en) 2022-06-08 2022-06-08 Method, device and equipment for extracting adhesion bubbles from dynamic ice image based on watershed segmentation
CN202210638584.XA Active CN114821071B (en) 2022-06-08 2022-06-08 A method, device and equipment for extracting adhesion bubbles from dynamic ice images

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202311101039.8A Pending CN117011531A (en) 2022-06-08 2022-06-08 Method, device and equipment for extracting adhesion bubbles from dynamic ice image based on watershed segmentation

Country Status (1)

Country Link
CN (2) CN117011531A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679796A (en) * 2013-11-27 2014-03-26 上海交通大学 Two-dimensional transfer function body data identification method based on distance transformation watershed algorithm
US20150078648A1 (en) * 2013-09-13 2015-03-19 National Cheng Kung University Cell image segmentation method and a nuclear-to-cytoplasmic ratio evaluation method using the same
CN105160668A (en) * 2015-08-26 2015-12-16 爱威科技股份有限公司 Image segmentation method and system, and cell image segmentation method and system
CN106780504A (en) * 2017-01-22 2017-05-31 中国农业大学 Flesh automatic division method long is carried on the back in a kind of beef image based on distance holding level set
CN108193661A (en) * 2018-01-25 2018-06-22 四川大学 A kind of accurate method for calculating native weight in slope stability analysis slices method
CN112365494A (en) * 2020-11-30 2021-02-12 北京理工大学 Ore material image segmentation method based on deep learning edge prediction
CN114549545A (en) * 2022-01-13 2022-05-27 南华大学 Adaptive segmentation method, equipment and medium of blast pile image based on rock block shape

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150078648A1 (en) * 2013-09-13 2015-03-19 National Cheng Kung University Cell image segmentation method and a nuclear-to-cytoplasmic ratio evaluation method using the same
CN103679796A (en) * 2013-11-27 2014-03-26 上海交通大学 Two-dimensional transfer function body data identification method based on distance transformation watershed algorithm
CN105160668A (en) * 2015-08-26 2015-12-16 爱威科技股份有限公司 Image segmentation method and system, and cell image segmentation method and system
CN106780504A (en) * 2017-01-22 2017-05-31 中国农业大学 Flesh automatic division method long is carried on the back in a kind of beef image based on distance holding level set
CN108193661A (en) * 2018-01-25 2018-06-22 四川大学 A kind of accurate method for calculating native weight in slope stability analysis slices method
CN112365494A (en) * 2020-11-30 2021-02-12 北京理工大学 Ore material image segmentation method based on deep learning edge prediction
CN114549545A (en) * 2022-01-13 2022-05-27 南华大学 Adaptive segmentation method, equipment and medium of blast pile image based on rock block shape

Non-Patent Citations (14)

* Cited by examiner, † Cited by third party
Title
DENNIS ESCHWEILER 等: "CNN-Based Preprocessing to Optimize Watershed-Based Cell Segmentation in 3D Confocal Microscopy Images", pages 223 - 227, XP033576416, Retrieved from the Internet <URL:2019 IEEE 16th International Symposium on Biomedical Imaging> DOI: 10.1109/ISBI.2019.8759242 *
STEVE EDDINS 等: "The Watershed Transform: Strategies for Image Segmentation", pages 1, Retrieved from the Internet <URL:https://ww2.mathworks.cn/company/newsletters/articles/the-watershed-transform-strategies-for-image-segmentation.html> *
刘伟 等: "浅谈基于图像处理气泡特征提取方法的研究", 科技资讯, pages 33 *
栾奎峰 等: "基于改进标记分水岭的高分辨率遥感影像海岸水边线提取方法", pages 20 - 28, Retrieved from the Internet <URL:海洋学研究> *
程序员阿德: "图像分割的经典算法:分水岭算法", pages 1, Retrieved from the Internet <URL:https://zhuanlan.zhihu.com/p/67741538> *
缪慧司 等: "结合距离变换与边缘梯度的分水岭血细胞分割" *
缪慧司 等: "结合距离变换与边缘梯度的分水岭血细胞分割", 中国图象图形学报, no. 02, pages 192 - 198 *
胡馨月: "基于融合分水岭算法的无人机图像树木株数提取研究", 中国优秀硕士学位论文全文数据库 农业科技辑, no. 8, pages 049 - 29 *
范铭 等: "一种改进的粘连细胞分割方法", 广西物理, no. 01, pages 21 - 24 *
邵建斌 等: "基于分水岭算法的气泡图像分割" *
邵建斌 等: "基于分水岭算法的气泡图像分割", 西安理工大学学报, no. 02, pages 158 - 159 *
阚文君 等: "一种应用于药品泡罩包装检测的改进分水岭算法研究" *
阚文君 等: "一种应用于药品泡罩包装检测的改进分水岭算法研究", 石家庄铁道大学学报(自然科学版), no. 04, pages 100 - 104 *
黄籽博 等: ""基于小波变换和形态学分水岭的血细胞图像分割"", no. 3, pages 100 - 104 *

Also Published As

Publication number Publication date
CN117011531A (en) 2023-11-07
CN114821071B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
CN108898610B (en) An object contour extraction method based on mask-RCNN
WO2020199468A1 (en) Image classification method and device, and computer readable storage medium
US20190279045A1 (en) Methods and apparatuses for identifying object category, and electronic devices
KR20220023335A (en) Defect detection methods and related devices, devices, storage media, computer program products
WO2020007118A1 (en) Display screen peripheral circuit detection method and device, electronic equipment and storage medium
CN109978848B (en) Method for detecting hard exudation in fundus image based on multi-light-source color constancy model
CN110175982A (en) A kind of defect inspection method based on target detection
CN110726725A (en) Transmission line hardware corrosion detection method and device
WO2020151299A1 (en) Yellow no-parking line identification method and apparatus, computer device and storage medium
CN112348765A (en) Data enhancement method and device, computer readable storage medium and terminal equipment
CN107808141A (en) A kind of electric transmission line isolator explosion recognition methods based on deep learning
CN111046923B (en) Method, device and storage medium for image target detection based on bounding box
CN111062854A (en) Method, device, terminal and storage medium for detecting watermark
CN113537037A (en) Pavement disease identification method, system, electronic device and storage medium
CN110956184B (en) A method for determining abstract graph direction based on HSI-LBP features
CN106709500A (en) A Method of Image Feature Matching
CN114723636A (en) Model generation method, device, device and storage medium based on multi-feature fusion
CN110852327A (en) Image processing method, device, electronic device and storage medium
CN113505702A (en) Pavement disease identification method and system based on double neural network optimization
CN114862642A (en) Method for removing short video visible watermark and computer readable storage medium
CN111462098A (en) Method, device, equipment and medium for detecting overlapping of shadow areas of object to be detected
CN111860173B (en) A method and system for extracting ground features from remote sensing images based on weak supervision
CN110176021A (en) In conjunction with the level set image segmentation method and system of the conspicuousness information of gamma correction
CN109242854A (en) A kind of image significance detection method based on FLIC super-pixel segmentation
CN111462220B (en) Method, device, equipment and medium for extracting shadow area of object to be detected

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