CN117274293A - Accurate bacterial colony dividing method based on image features - Google Patents

Accurate bacterial colony dividing method based on image features Download PDF

Info

Publication number
CN117274293A
CN117274293A CN202311534168.6A CN202311534168A CN117274293A CN 117274293 A CN117274293 A CN 117274293A CN 202311534168 A CN202311534168 A CN 202311534168A CN 117274293 A CN117274293 A CN 117274293A
Authority
CN
China
Prior art keywords
sliding window
connected domain
target
sliding
measured
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
CN202311534168.6A
Other languages
Chinese (zh)
Other versions
CN117274293B (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.)
Guangxi Zhuang Autonomous Region Institute of Animal Husbandry
Original Assignee
Guangxi Zhuang Autonomous Region Institute of Animal Husbandry
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 Guangxi Zhuang Autonomous Region Institute of Animal Husbandry filed Critical Guangxi Zhuang Autonomous Region Institute of Animal Husbandry
Priority to CN202311534168.6A priority Critical patent/CN117274293B/en
Publication of CN117274293A publication Critical patent/CN117274293A/en
Application granted granted Critical
Publication of CN117274293B publication Critical patent/CN117274293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/187Segmentation; Edge detection involving region growing; involving region merging; involving connected component labelling
    • 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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10056Microscopic image
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A50/00TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE in human health protection, e.g. against extreme weather
    • Y02A50/30Against vector-borne diseases, e.g. mosquito-borne, fly-borne, tick-borne or waterborne diseases whose impact is exacerbated by climate change

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Measuring Or Testing Involving Enzymes Or Micro-Organisms (AREA)

Abstract

The invention relates to the technical field of image analysis, in particular to an accurate bacterial colony dividing method based on image features. The method comprises the following steps: acquiring a gray image of the surface of a culture medium, and determining a colony area; carrying out connected domain analysis to determine a connected domain to be detected, dividing an initial sliding window, and selecting a target sliding window from the initial sliding window; determining a connected domain analysis index of the connected domain to be detected; screening out a target connected domain from the connected domain to be detected; taking all other target sliding windows except the outermost target sliding window in the target communication domain as sliding windows to be segmented; according to the distance between the sliding window to be segmented and other sliding windows to be segmented, selecting an edge sliding window from the sliding windows to be segmented; dividing the target communicating region according to the central point in the edge sliding window to obtain bacterial colonies, and taking each communicating region to be tested except the target communicating region as one bacterial colony. The invention can effectively improve the accuracy of bacterial colony division and ensure the accuracy and the reliability of bacterial colony division.

Description

基于图像特征的细菌菌落精确划分方法Accurate classification method of bacterial colonies based on image features

技术领域Technical field

本发明涉及图像分析技术领域,具体涉及一种基于图像特征的细菌菌落精确划分方法。The invention relates to the technical field of image analysis, and in particular to a method for accurately dividing bacterial colonies based on image features.

背景技术Background technique

细菌菌落是在培养基上形成的细菌聚集体,通过观察和统计不同菌落的分布和丰度,可以初步了解样本中存在的细菌种类和相对数量。然而,不同的菌落可能因生长区域的限制产生边缘粘连接触现象。因此对不同的菌落需要进行菌落划分。Bacterial colonies are bacterial aggregates formed on culture media. By observing and counting the distribution and abundance of different colonies, we can initially understand the types and relative quantities of bacteria present in the sample. However, different colonies may have edge-adhesive contact due to limitations in their growth area. Therefore, different bacterial colonies need to be divided into colonies.

相关技术中,使用色块分析的方式实现菌落划分,这种方式下,由于边缘处细菌菌丝的影响,使得相互粘连的菌落其边缘处的边缘特征较为模糊,且同一培养基中同种类细菌菌落的色差较小,因此,仅根据色块分析的方式进行菌落划分时,无法对存在粘连的连通域进行有效划分,细菌菌落划分的精确度较低,细菌菌落划分的准确性与可靠性较差。In related technologies, color block analysis is used to achieve colony division. In this way, due to the influence of bacterial hyphae at the edges, the edge features of mutually adherent colonies are blurred, and the same type of bacteria in the same culture medium The color difference of bacterial colonies is small. Therefore, when dividing colonies only based on color patch analysis, connected domains with adhesion cannot be effectively divided. The accuracy and reliability of bacterial colony classification are low. Difference.

发明内容Contents of the invention

为了解决相关技术中无法对存在粘连的连通域进行有效划分,细菌菌落划分的精确度较低,细菌菌落划分的准确性与可靠性较差的技术问题,本发明提供一种基于图像特征的细菌菌落精确划分方法,所采用的技术方案具体如下:In order to solve the technical problems in related technologies that connected domains with adhesion cannot be effectively divided, the accuracy of bacterial colony classification is low, and the accuracy and reliability of bacterial colony classification are poor, the present invention provides a bacterial colony classification method based on image features. The technical solution used to accurately divide colonies is as follows:

本发明提出了一种基于图像特征的细菌菌落精确划分方法,方法包括:The present invention proposes a method for accurately dividing bacterial colonies based on image features. The method includes:

获取培养基表面灰度图像,基于阈值分割的方式确定所述培养基表面灰度图像的菌落区域;Obtain a grayscale image of the surface of the culture medium, and determine the colony area of the grayscale image of the surface of the culture medium based on threshold segmentation;

对所述菌落区域进行连通域分析,确定待测连通域,基于预设大小且不重叠的滑窗对所述连通域进行分割,得到初始滑窗,根据所述初始滑窗和待测连通域中像素点的灰度值,从所述初始滑窗中选择目标滑窗;Perform connected domain analysis on the colony area to determine the connected domain to be tested, segment the connected domain based on a preset size and non-overlapping sliding window, and obtain an initial sliding window. According to the initial sliding window and the connected domain to be tested The gray value of the pixel in the middle, selects the target sliding window from the initial sliding window;

根据每一待测连通域的面积、待测连通域中所有所述目标滑窗的面积和目标滑窗的位置分布,确定所述待测连通域的连通域分析指标;根据所述连通域分析指标从所述待测连通域中筛选出目标连通域;According to the area of each connected domain to be measured, the areas of all target sliding windows in the connected domain to be measured, and the position distribution of the target sliding windows, determine the connected domain analysis index of the connected domain to be measured; according to the connected domain analysis The indicator selects the target connected domain from the connected domain to be measured;

将所述目标连通域中除最外侧的目标滑窗之外的其他所有目标滑窗作为待分割滑窗;根据所述待分割滑窗与相距最近的预设数量个其他待分割滑窗间的距离,从所述待分割滑窗中筛选出边缘滑窗;All other target sliding windows in the target connected domain except the outermost target sliding window are used as the sliding windows to be divided; according to the distance between the sliding window to be divided and the nearest preset number of other sliding windows to be divided. The distance is used to select edge sliding windows from the sliding windows to be segmented;

根据所述边缘滑窗中的中心点对所述目标连通域进行分割,得到细菌菌落,将除所述目标连通域之外的每一待测连通域作为一个细菌菌落。The target connected domain is segmented according to the center point in the edge sliding window to obtain bacterial colonies, and each connected domain to be tested except the target connected domain is regarded as a bacterial colony.

进一步地,所述根据所述初始滑窗和待测连通域中像素点的灰度值,从所述初始滑窗中选择目标滑窗,包括:Further, selecting a target sliding window from the initial sliding window based on the initial sliding window and the gray value of the pixel in the connected domain to be measured includes:

将所述初始滑窗中的所有像素点的灰度值信息熵的归一化值作为滑窗混乱程度;The normalized value of the gray value information entropy of all pixels in the initial sliding window is used as the sliding window confusion degree;

将所述初始滑窗内所有像素点灰度值的均值作为滑窗均值,所述初始滑窗内所有像素点灰度值的标准差作为滑窗标准差;计算所述滑窗均值与所述滑窗标准差的乘积作为滑窗特征参数;The mean value of the gray value of all pixels in the initial sliding window is used as the sliding window mean, and the standard deviation of the gray value of all pixels in the initial sliding window is used as the sliding window standard deviation; calculate the sliding window mean and the The product of the sliding window standard deviation is used as the sliding window characteristic parameter;

将所述待测连通域内所有像素点灰度值的均值作为待测均值,所述待测连通域内所有像素点灰度值的标准差作为待测标准差;计算所述待测均值与所述待测标准差的乘积作为待测特征参数;The mean value of the gray value of all pixels in the connected domain to be measured is used as the mean value to be measured, and the standard deviation of the gray value of all pixels in the connected domain to be measured is used as the standard deviation to be measured; calculate the mean value to be measured and the mean value to be measured The product of the standard deviation to be measured is used as the characteristic parameter to be measured;

根据所述滑窗特征参数和所述待测特征参数确定滑窗突变系数;Determine the sliding window mutation coefficient according to the sliding window characteristic parameter and the characteristic parameter to be measured;

计算所述滑窗混乱程度和所述滑窗突变系数的乘积作为滑窗筛选系数;Calculate the product of the sliding window chaos degree and the sliding window mutation coefficient as the sliding window screening coefficient;

根据每一初始滑窗的所述滑窗筛选系数从所述初始滑窗中选择目标滑窗。A target sliding window is selected from the initial sliding windows according to the sliding window screening coefficient of each initial sliding window.

进一步地,所述根据所述滑窗特征参数和所述待测特征参数确定滑窗突变系数,包括:Further, determining the sliding window mutation coefficient according to the sliding window characteristic parameter and the characteristic parameter to be measured includes:

计算所述滑窗特征参数与所述待测特征参数的差值绝对值作为特征差异;Calculate the absolute value of the difference between the sliding window characteristic parameter and the characteristic parameter to be measured as the characteristic difference;

根据所述特征差异与所述待测特征参数确定滑窗突变系数,其中,所述特征差异与滑窗突变系数呈正相关关系,所述待测特征参数与滑窗突变系数呈负相关关系,所述滑窗突变系数的取值为归一化的数值。The sliding window mutation coefficient is determined according to the characteristic difference and the characteristic parameter to be measured, wherein the characteristic difference is positively correlated with the sliding window mutation coefficient, and the characteristic parameter to be measured is negatively correlated with the sliding window mutation coefficient, so The value of the sliding window mutation coefficient is a normalized value.

进一步地,所述根据每一初始滑窗的所述滑窗筛选系数从所述初始滑窗中选择目标滑窗,包括:Further, selecting a target sliding window from the initial sliding window according to the sliding window screening coefficient of each initial sliding window includes:

将所述滑窗筛选系数大于预设筛选系数阈值的所述初始滑窗作为目标滑窗。The initial sliding window with the sliding window screening coefficient greater than the preset screening coefficient threshold is used as the target sliding window.

进一步地,所述根据每一待测连通域的面积、待测连通域中所有所述目标滑窗的面积和目标滑窗的位置分布,确定所述待测连通域的连通域分析指标,包括:Further, determining the connected domain analysis index of the connected domain to be measured based on the area of each connected domain to be measured, the areas of all target sliding windows in the connected domain to be measured, and the position distribution of the target sliding windows, includes: :

计算所述待测连通域的面积与所述待测连通域中所有所述目标滑窗的面积的比值作为面积影响系数;Calculate the ratio of the area of the connected domain to be measured to the areas of all target sliding windows in the connected domain to be measured as the area influence coefficient;

将所述待测连通域中任一目标滑窗作为待分析滑窗;确定与所述待分析滑窗的中心点距离最近的目标滑窗的中心点,并将两个中心点间的距离值的归一化值作为所述待分析滑窗的距离指标;将所有目标滑窗的距离指标的均值作为距离影响系数;Use any target sliding window in the connected domain to be tested as the sliding window to be analyzed; determine the center point of the target sliding window that is closest to the center point of the sliding window to be analyzed, and calculate the distance value between the two center points The normalized value of is used as the distance index of the sliding window to be analyzed; the mean value of the distance index of all target sliding windows is used as the distance influence coefficient;

将所述面积影响系数与所述距离影响系数的乘积的归一化值作为所述连通域分析指标。The normalized value of the product of the area influence coefficient and the distance influence coefficient is used as the connected domain analysis index.

进一步地,所述根据所述连通域分析指标从所述待测连通域中筛选出目标连通域,包括:Further, selecting the target connected domain from the connected domain to be tested according to the connected domain analysis index includes:

将所述连通域分析指标小于预设指标阈值的待测连通域作为目标连通域。The connected domain to be tested whose connected domain analysis index is smaller than the preset indicator threshold is used as the target connected domain.

进一步地,所述根据所述待分割滑窗与相距最近的预设数量个其他待分割滑窗间的距离,从所述待分割滑窗中筛选出边缘滑窗,包括:Further, selecting edge sliding windows from the sliding windows to be divided based on the distance between the sliding window to be divided and the nearest preset number of other sliding windows to be divided includes:

将任一待分割滑窗分别与其相距最近的预设数量个其他待分割滑窗间的距离的和值作为分割距离和值;The sum of the distances between any sliding window to be divided and the nearest preset number of other sliding windows to be divided is used as the sum of the dividing distances;

对所述分割距离和值进行归一化处理得到边缘选择指标;Perform normalization processing on the segmentation distance and value to obtain an edge selection index;

根据所有所述待分割滑窗的边缘选择指标从所述待分割滑窗中筛选出边缘滑窗。Edge sliding windows are filtered out from the sliding windows to be divided according to the edge selection indicators of all the sliding windows to be divided.

进一步地,所述根据所有所述待分割滑窗的边缘选择指标从所述待分割滑窗中筛选出边缘滑窗,包括:Further, selecting edge sliding windows from the sliding windows to be divided based on the edge selection indicators of all the sliding windows to be divided includes:

将所述边缘选择指标小于预设边缘阈值的待分割滑窗作为边缘滑窗。The sliding window to be segmented whose edge selection index is smaller than the preset edge threshold is used as an edge sliding window.

进一步地,所述根据所述边缘滑窗中的边缘线对所述目标连通域进行分割,得到细菌菌落,包括:Further, the step of segmenting the target connected domain according to the edge lines in the edge sliding window to obtain bacterial colonies includes:

连接相距最近的两个边缘滑窗的中心点,将所述目标连通域分割为至少两个子区域,将每个子区域作为一个细菌菌落。Connect the center points of the two closest edge sliding windows, divide the target connected domain into at least two sub-regions, and treat each sub-region as a bacterial colony.

进一步地,所述预设数量为10。Further, the preset number is 10.

本发明具有如下有益效果:The invention has the following beneficial effects:

本发明通过获取培养基表面灰度图像,确定菌落区域,而后,进行连通域分析并基于预设大小且不重叠的滑窗对连通域进行分割,得到初始滑窗,通过初始滑窗与待测连通域中像素点的灰度值从初始滑窗中选择目标滑窗,可以理解的是,细菌菌落有离散在外侧的菌落,也有多个菌落相互粘连,在多个菌落相互粘连时,由于菌丝的分布,使得中间的边缘区域较为模糊,对应边缘信息较少,直接使用色块分析处理所得到的效果较差,因此本发明实施例通过设置不重叠的滑窗进行具体分析,使得分析过程精细化程度更高,且效果更优;由于单一待测连通域可以为一个菌落或多个菌落的组合,因此本发明结合待测连通域本身的面积信息和待测连通域中目标滑窗的数量和位置分布确定连通域分析指标,从待测连通域中筛选出目标连通域,从而能够准确筛选出包含有多个菌落的目标连通域,进而根据目标连通域中待分割滑窗间的距离确定边缘滑窗,基于边缘滑窗对目标连通域进行划分,使得相互粘连的菌落能够被有效划分,结合原本单独分布的待测连通域,划分得到细菌菌落,综上,本发明通过筛选出存在粘连的连通域,并对存在粘连的连通域进行有效划分,能够根据灰度差异以及边缘特征对细菌菌落进行更精确的菌落划分,提升细菌菌落划分的精确度,保证细菌菌落划分的准确性与可靠性。This invention determines the colony area by acquiring the grayscale image of the surface of the culture medium, and then performs connected domain analysis and segments the connected domains based on sliding windows of preset size and non-overlapping to obtain an initial sliding window. Through the initial sliding window and the test The gray value of the pixels in the connected domain is selected from the initial sliding window. It can be understood that the bacterial colonies have discrete colonies on the outside, and there are also multiple bacterial colonies that adhere to each other. When multiple bacterial colonies adhere to each other, due to the The distribution of filaments makes the middle edge area blurred and the corresponding edge information is less. The effect obtained by directly using color block analysis and processing is poor. Therefore, the embodiment of the present invention performs specific analysis by setting non-overlapping sliding windows, making the analysis process The degree of refinement is higher and the effect is better; since a single connected domain to be tested can be a colony or a combination of multiple colonies, the present invention combines the area information of the connected domain to be tested itself and the information of the target sliding window in the connected domain to be tested. The quantity and position distribution determine the connected domain analysis index, and the target connected domain is screened out from the connected domain to be tested, so that the target connected domain containing multiple colonies can be accurately screened, and then the distance between the sliding windows to be segmented in the target connected domain can be accurately selected. Determine the edge sliding window, divide the target connected domain based on the edge sliding window, so that the mutually adherent colonies can be effectively divided, and combine the originally individually distributed connected domains to be tested to divide the bacterial colonies. In summary, the present invention filters out the existing bacterial colonies Connected domains with adhesion can be effectively divided into connected domains with adhesion, which can more accurately classify bacterial colonies based on grayscale differences and edge features, improve the accuracy of bacterial colony classification, and ensure the accuracy and accuracy of bacterial colony classification. reliability.

附图说明Description of the drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案和优点,下面将对实施例或现有技术描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它附图。In order to more clearly explain the technical solutions and advantages in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description The drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.

图1为本发明一个实施例所提供的一种基于图像特征的细菌菌落精确划分方法流程图;Figure 1 is a flow chart of a method for accurately dividing bacterial colonies based on image features provided by an embodiment of the present invention;

图2为本发明一个实施例所提供的待分割滑窗分布示意图。Figure 2 is a schematic diagram of the distribution of sliding windows to be divided according to an embodiment of the present invention.

具体实施方式Detailed ways

为了更进一步阐述本发明为达成预定发明目的所采取的技术手段及功效,以下结合附图及较佳实施例,对依据本发明提出的一种基于图像特征的细菌菌落精确划分方法,其具体实施方式、结构、特征及其功效,详细说明如下。在下述说明中,不同的“一个实施例”或“另一个实施例”指的不一定是同一实施例。此外,一或多个实施例中的特定特征、结构或特点可由任何合适形式组合。In order to further elaborate on the technical means and effects adopted by the present invention to achieve the predetermined inventive purpose, the following is a specific implementation of a method for accurately dividing bacterial colonies based on image features proposed by the present invention in conjunction with the drawings and preferred embodiments. The method, structure, characteristics and functions are described in detail below. In the following description, different terms "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Additionally, the specific features, structures, or characteristics of one or more embodiments may be combined in any suitable combination.

除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。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 to which the invention belongs.

下面结合附图具体的说明本发明所提供的一种基于图像特征的细菌菌落精确划分方法的具体方案。The specific scheme of the method for accurately classifying bacterial colonies based on image features provided by the present invention will be described in detail below with reference to the accompanying drawings.

请参阅图1,其示出了本发明一个实施例提供的一种基于图像特征的细菌菌落精确划分方法流程图,该方法包括:Please refer to Figure 1, which shows a flow chart of a method for accurately classifying bacterial colonies based on image features provided by one embodiment of the present invention. The method includes:

S101:获取培养基表面灰度图像,基于阈值分割的方式确定培养基表面灰度图像的菌落区域。S101: Obtain a grayscale image of the surface of the culture medium, and determine the colony area of the grayscale image of the surface of the culture medium based on threshold segmentation.

本发明实施例的一种使用场景可以具体例如为,采集培养基表面灰度图像,并基于图像分析技术对培养基表面灰度图像进行菌落识别,可以理解的是,不同菌落间可能会存在相互粘连且外观相似的情况,该种情况菌落间可能仅有一小块区域具有边缘特征,而在进行边缘检测时,过小的边缘特征有极大概率被作为正常区域,从而使得色块分析的效果较差,对菌落进行识别划分的准确性较差,使得现有方法无法准确的划分菌落,基于此,本发明通过设置初始滑窗,从而能够将整体培养基表面灰度图像细化至对应的滑窗内,从而能够对相互粘连且外观相似的菌落进行有效划分。A usage scenario of the embodiment of the present invention can be, for example, collecting a grayscale image of the surface of the culture medium, and performing colony identification on the grayscale image of the surface of the culture medium based on image analysis technology. It is understandable that there may be mutual interactions between different colonies. In the case of adhesion and similar appearance, there may be only a small area between colonies with edge features. When performing edge detection, there is a high probability that edge features that are too small will be regarded as normal areas, thus making the effect of color block analysis Poor, the accuracy of identifying and classifying bacterial colonies is poor, making it impossible for existing methods to accurately classify bacterial colonies. Based on this, the present invention can refine the overall culture medium surface grayscale image to the corresponding grayscale image by setting an initial sliding window. In the sliding window, colonies that adhere to each other and have similar appearance can be effectively divided.

本发明实施例中,可以使用高分辨率相机放至培养皿的正上方进行拍照采集,培养皿放在色差较大的水平桌面上,并使用外部光源或适当的照明设备以获得优质的图像。然后,对于所采集图像进行预处理,将所得RGB色彩格式的图像进行灰度化,同时使用双边滤波去除图像噪声,提取培养基对应的图像,从而得到培养基表面灰度图像。其中,图像预处理的过程为本领域所熟知的技术,对此不做赘述。In the embodiment of the present invention, a high-resolution camera can be placed directly above the culture dish for photographing and collecting. The culture dish is placed on a horizontal table with a large color difference, and an external light source or appropriate lighting equipment is used to obtain high-quality images. Then, the collected images are preprocessed, and the resulting RGB color format image is grayscaled. At the same time, bilateral filtering is used to remove image noise, and the image corresponding to the culture medium is extracted, thereby obtaining a grayscale image of the culture medium surface. Among them, the process of image preprocessing is a well-known technology in the art, and will not be described in detail.

在获取培养基表面灰度图像之后,可以基于阈值分割的方式确定培养基表面灰度图像的菌落区域;可以理解的是,由于培养皿放在色差较大的水平桌面上,也即桌面、培养基、菌落能够形成明显的色彩分层,在灰度图像中区分表现较为明显,因此,可以使用阈值分割的方式区分空白培养基区域和菌落所在区域,也即菌落区域。After obtaining the grayscale image of the culture medium surface, the colony area of the grayscale image of the culture medium surface can be determined based on threshold segmentation; it is understandable that because the petri dish is placed on a horizontal tabletop with a large color difference, that is, the tabletop, culture Bases and colonies can form obvious color stratification, and the distinction is more obvious in grayscale images. Therefore, threshold segmentation can be used to distinguish the blank culture medium area and the area where the colonies are located, that is, the colony area.

本发明实施例在确定菌落区域之后,可以对菌落区域进行具体图像分析,其图像分析过程参见后续实施例。In the embodiment of the present invention, after determining the colony area, specific image analysis can be performed on the colony area. Please refer to subsequent embodiments for the image analysis process.

S102:对菌落区域进行连通域分析,确定待测连通域,基于预设大小且不重叠的滑窗对连通域进行分割,得到初始滑窗,根据初始滑窗和待测连通域中像素点的灰度值,从初始滑窗中选择目标滑窗。S102: Perform connected domain analysis on the colony area to determine the connected domain to be tested, segment the connected domain based on a preset size and non-overlapping sliding window, and obtain an initial sliding window. According to the initial sliding window and the pixels in the connected domain to be tested, Grayscale value, select the target sliding window from the initial sliding window.

其中,预设大小,为初始滑窗的大小,可以理解的是,预设大小越小,则对应的进行菌落图像识别的精细度越高,因此,本发明实施例设置预设大小为5×5大小,当然,也可以根据实际检测需求进行调整,对此不做限制。The preset size is the size of the initial sliding window. It can be understood that the smaller the preset size, the higher the precision of corresponding colony image recognition. Therefore, in the embodiment of the present invention, the preset size is set to 5× 5 size, of course, can also be adjusted according to actual detection needs, there is no restriction on this.

本发明实施例中,对菌落区域进行连通域分析,确定待测连通域,其中,连通域分析,为将相邻灰度值相同或相似像素点组合作为一个连通域的方法,连通域分析能够对菌落区域进行有效划分,而连通域分析技术为本领域技术人员所熟知的技术,经由连通域分析处理,可以对分布较为离散的菌落区域进行识别和区分。In the embodiment of the present invention, connected domain analysis is performed on the colony area to determine the connected domain to be measured. The connected domain analysis is a method of combining adjacent pixels with the same or similar gray value as a connected domain. The connected domain analysis can To effectively divide colony areas, the connected domain analysis technology is a technology well known to those skilled in the art. Through connected domain analysis processing, colony areas with relatively discrete distribution can be identified and distinguished.

可以理解的是,在培养皿中由于菌落的不规则分布,且不同菌落的菌落形状、大小、位置均会有所差异,因此,可能会存在菌落间相互粘连的情况,本发明实施例则通过设置预设大小且不重叠的滑窗对连通域进行分割,得到初始滑窗,并基于初始滑窗对连通域进行更为精细化地分析。It can be understood that due to the irregular distribution of bacterial colonies in the petri dish, and the colony shape, size, and position of different bacterial colonies will be different, therefore, there may be cases of bacterial colonies adhering to each other. In the embodiment of the present invention, Set a sliding window with a preset size and non-overlapping to segment the connected domain to obtain an initial sliding window, and conduct a more refined analysis of the connected domain based on the initial sliding window.

进一步地,在本发明的一些实施例中,根据初始滑窗和待测连通域中像素点的灰度值,从初始滑窗中选择目标滑窗包括:将初始滑窗中的所有像素点的灰度值信息熵的归一化值作为滑窗混乱程度;将初始滑窗内所有像素点灰度值的均值作为滑窗均值,初始滑窗内所有像素点灰度值的标准差作为滑窗标准差;计算滑窗均值与滑窗标准差的乘积作为滑窗特征参数;将待测连通域内所有像素点灰度值的均值作为待测均值,待测连通域内所有像素点灰度值的标准差作为待测标准差;计算待测均值与待测标准差的乘积作为待测特征参数;根据滑窗特征参数和待测特征参数确定滑窗突变系数;计算滑窗混乱程度和滑窗突变系数的乘积作为滑窗筛选系数;根据每一初始滑窗的滑窗筛选系数从初始滑窗中选择目标滑窗。Further, in some embodiments of the present invention, selecting the target sliding window from the initial sliding window according to the gray value of the pixels in the connected domain to be measured includes: converting the values of all pixels in the initial sliding window. The normalized value of gray value information entropy is used as the sliding window confusion degree; the mean value of the gray value of all pixels in the initial sliding window is used as the sliding window mean, and the standard deviation of the gray value of all pixels in the initial sliding window is used as the sliding window. Standard deviation; calculate the product of the sliding window mean and the sliding window standard deviation as the sliding window characteristic parameter; use the mean of the gray value of all pixels in the connected domain to be measured as the mean to be measured, and the standard of the gray value of all pixels in the connected domain to be measured The difference is used as the standard deviation to be measured; the product of the mean value to be measured and the standard deviation to be measured is calculated as the characteristic parameter to be measured; the sliding window mutation coefficient is determined based on the sliding window characteristic parameter and the characteristic parameter to be tested; the sliding window chaos degree and the sliding window mutation coefficient are calculated The product of is used as the sliding window screening coefficient; the target sliding window is selected from the initial sliding window according to the sliding window screening coefficient of each initial sliding window.

本发明实施例中,可以将初始滑窗中的所有像素点的灰度值信息熵的归一化值作为滑窗混乱程度,信息熵越大,表示对应初始滑窗内的像素点灰度分布越复杂,也即越有可能为包含边缘信息的像素点。In the embodiment of the present invention, the normalized value of the information entropy of the gray value of all pixels in the initial sliding window can be used as the degree of confusion of the sliding window. The greater the information entropy, the corresponding gray distribution of the pixels in the initial sliding window. The more complex it is, the more likely it is a pixel containing edge information.

本发明实施例中,将初始滑窗内所有像素点灰度值的均值作为滑窗均值,初始滑窗内所有像素点灰度值的标准差作为滑窗标准差;计算滑窗均值与滑窗标准差的乘积作为滑窗特征参数,滑窗特征参数对应的计算公式可以具体例如为: In the embodiment of the present invention, the mean value of the gray value of all pixels in the initial sliding window is used as the sliding window mean, and the standard deviation of the gray value of all pixels in the initial sliding window is used as the sliding window standard deviation; calculate the sliding window mean and sliding window The product of standard deviations is used as the sliding window characteristic parameter. The calculation formula corresponding to the sliding window characteristic parameter can be specifically, for example:

式中,表示第i个初始滑窗的滑窗特征参数,/>表示第i个初始滑窗内所有像素点灰度值的均值,也即滑窗均值,/>表示第i个初始滑窗内所有像素点灰度值的标准差。In the formula, Represents the sliding window characteristic parameters of the i-th initial sliding window, /> Represents the mean value of the gray value of all pixels in the i-th initial sliding window, that is, the sliding window mean value,/> Represents the standard deviation of the gray value of all pixels in the i-th initial sliding window.

本发明实施例中,使用灰度均值和标准差作为滑窗内像素点的灰度特征,从而结合灰度均值和标准差得到滑窗特征参数,以便于根据滑窗特征参数进行后续特征分析。In the embodiment of the present invention, the grayscale mean and standard deviation are used as the grayscale features of the pixels in the sliding window, so that the sliding window feature parameters are obtained by combining the grayscale mean and standard deviation, so as to facilitate subsequent feature analysis based on the sliding window feature parameters.

在确定滑窗特征参数之后,可以基于待测均值与待测标准差的乘积作为待测特征参数,其具体实现过程与滑窗特征参数相似,对此不作进一步赘述。After determining the sliding window characteristic parameters, the product of the mean value to be measured and the standard deviation to be measured can be used as the characteristic parameter to be measured. The specific implementation process is similar to the sliding window characteristic parameters, and will not be described further.

进一步地,在本发明的一些实施例中,根据滑窗特征参数和待测特征参数确定滑窗突变系数,包括:计算滑窗特征参数与待测特征参数的差值绝对值作为特征差异;根据特征差异与待测特征参数确定滑窗突变系数,其中,特征差异与滑窗突变系数呈正相关关系,待测特征参数与滑窗突变系数呈负相关关系,滑窗突变系数的取值为归一化的数值。Further, in some embodiments of the present invention, determining the sliding window mutation coefficient according to the sliding window characteristic parameter and the characteristic parameter to be measured includes: calculating the absolute value of the difference between the sliding window characteristic parameter and the characteristic parameter to be measured as the characteristic difference; according to The feature difference and the feature parameter to be measured determine the sliding window mutation coefficient. Among them, the feature difference is positively correlated with the sliding window mutation coefficient, and the characteristic parameter to be measured is negatively correlated with the sliding window mutation coefficient. The value of the sliding window mutation coefficient is normalized. value.

其中,正相关关系表示因变量会随着自变量的增大而增大,因变量会随着自变量的减小而减小,具体关系可以为相乘关系、相加关系、指数函数的幂等,由实际应用进行确定;负相关关系表示因变量会随着自变量的增大而减小,因变量会随着自变量的减小而增大,可以为相减关系、相除关系等,由实际应用进行确定。Among them, the positive correlation relationship means that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. The specific relationship can be a multiplication relationship, an additive relationship, or the power of an exponential function. etc., determined by practical applications; a negative correlation relationship means that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases, which can be a subtraction relationship, a division relationship, etc. , determined by actual application.

可以理解的是,一般菌落均呈现浅色的颜色特征,如乳白色、浅黄色等,其边缘处通常具有灰度突变的情况,待测连通域整体的颜色为菌落本身的颜色,而在边缘产生突变的区域,其对应颜色则更接近背景颜色,由于背景与菌落出现明显的色彩差异,因此,可以基于该色彩差异对滑窗突变程度进行分析。滑窗突变系数对应的计算公式可以具体例如为: It can be understood that generally bacterial colonies show light color characteristics, such as milky white, light yellow, etc., and there are usually grayscale mutations at the edges. The overall color of the connected domain to be tested is the color of the colony itself, while the edges are The corresponding color of the mutated area is closer to the background color. Since there is an obvious color difference between the background and the colony, the degree of sliding window mutation can be analyzed based on this color difference. The calculation formula corresponding to the sliding window mutation coefficient can be specifically, for example:

式中,表示第i个初始滑窗的滑窗突变系数,/>表示第i个初始滑窗所处待测连通域/>的待测特征参数;/>表示第i个初始滑窗的滑窗特征参数;/>表示常数系数,为防止分母为0所设置的安全值,可选地/>;/>表示取绝对值;/>表示归一化处理。在本发明的一个实施例中,归一化处理可以具体例如为最大最小值归一化处理,并且,后续步骤中的归一化均可以采用最大最小值归一化处理,在本发明的其他实施例中可以根据数值具体范围选择其他归一化方法,对此不再赘述。In the formula, Represents the sliding window mutation coefficient of the i-th initial sliding window, /> Indicates the connected domain to be tested in which the i-th initial sliding window is located/> The characteristic parameters to be measured;/> Represents the sliding window characteristic parameters of the i-th initial sliding window;/> Represents a constant coefficient, a safe value set to prevent the denominator from being 0, optionally/> ;/> Indicates taking the absolute value;/> Represents normalization processing. In one embodiment of the present invention, the normalization process can be specifically, for example, the maximum and minimum value normalization process, and the normalization in subsequent steps can all adopt the maximum and minimum value normalization process. In other aspects of the present invention, In the embodiment, other normalization methods can be selected according to the specific range of numerical values, which will not be described again.

其中,表示第i个初始滑窗与其所属待测连通域/>的特征差异,因待测特征参数与滑窗特征参数均为对应滑窗均值与滑窗标准差的乘积,也即特征差异越大,既可以表示初始滑窗与其所属待测连通域内像素点的灰度值均值差异越大、灰度值标准差越大,也即对应初始滑窗与其所处待测连通域具有较大的像素点灰度差异,因此,初始滑窗的像素点为突变像素点的可能性越大,通过计算特征差异与待测特征参数的比值,并进行归一化处理,以消除不同待测连通域的灰度影响,提升滑窗突变系数的准确性与可靠性。in, Indicates the i-th initial sliding window and its connected domain to be tested/> feature difference, because the feature parameters to be measured and the sliding window feature parameters are both the product of the corresponding sliding window mean and the sliding window standard deviation, that is, the greater the feature difference, it can represent the difference between the initial sliding window and the pixels in the connected domain to be measured to which it belongs. The greater the difference in the mean value of the gray value and the larger the standard deviation of the gray value, that is, there is a larger gray value difference between the initial sliding window and the connected domain to be tested. Therefore, the pixels of the initial sliding window are mutation pixels. The greater the possibility of a point, the ratio of the feature difference to the feature parameter to be measured is calculated and normalized to eliminate the grayscale influence of different connected domains to be measured and improve the accuracy and reliability of the sliding window mutation coefficient.

本发明实施例在确定滑窗突变系数之后,可以计算滑窗混乱程度和滑窗突变系数的乘积作为滑窗筛选系数;其中,滑窗筛选系数,为初始滑窗内包含有不同菌落边缘的可能性的指标数据。因滑窗混乱程度表征滑窗内像素点灰度值分布的复杂程度,滑窗混乱程度越大,表示对应的初始滑窗内像素点灰度值分布越复杂,而正常包含菌落的初始滑窗,其对应灰度值变化较小,趋于稳定,因此,滑窗混乱程度越大,表示对应初始滑窗内包含菌落边缘的信息越多;滑窗突变系数表示初始滑窗内像素点的突变情况,滑窗突变系数越大,也可以表示对应初始滑窗内像素点灰度值变化较大,且与所属待测连通域具有较大的差异,进而可以表示其包含有背景相关的信息,也即该初始滑窗越可能为菌落边缘对应的滑窗。由此,本发明计算滑窗混乱程度和滑窗突变系数的乘积,得到滑窗筛选系数。In the embodiment of the present invention, after determining the sliding window mutation coefficient, the product of the sliding window chaos degree and the sliding window mutation coefficient can be calculated as the sliding window screening coefficient; where the sliding window screening coefficient is the possibility that the initial sliding window contains different colony edges. sexual indicator data. Because the degree of chaos of the sliding window represents the complexity of the gray value distribution of pixels in the sliding window, the greater the degree of chaos of the sliding window, the more complex the gray value distribution of the pixels in the corresponding initial sliding window, and the initial sliding window that normally contains colonies , its corresponding gray value changes less and tends to be stable. Therefore, the greater the degree of chaos of the sliding window, the more information contained in the corresponding initial sliding window contains the edge of the colony; the sliding window mutation coefficient represents the mutation of the pixels in the initial sliding window. In this case, the larger the mutation coefficient of the sliding window, it can also mean that the gray value of the corresponding pixel in the initial sliding window changes greatly, and there is a large difference from the connected domain to be tested, which in turn can mean that it contains background-related information. That is, the initial sliding window is more likely to be the sliding window corresponding to the edge of the colony. Therefore, the present invention calculates the product of the sliding window chaos degree and the sliding window mutation coefficient to obtain the sliding window screening coefficient.

进一步地,在本发明的一些实施例中,根据每一初始滑窗的滑窗筛选系数从初始滑窗中选择目标滑窗,包括:将滑窗筛选系数大于预设筛选系数阈值的初始滑窗作为目标滑窗。Further, in some embodiments of the present invention, selecting the target sliding window from the initial sliding window according to the sliding window screening coefficient of each initial sliding window includes: selecting the initial sliding window whose sliding window screening coefficient is greater than the preset screening coefficient threshold. as target sliding window.

其中,目标滑窗,为包含菌落边缘的滑窗,也即目标滑窗所处位置有很大可能为菌落的边缘位置。Among them, the target sliding window is a sliding window that includes the edge of the colony, that is, the position of the target sliding window is very likely to be the edge of the colony.

其中,预设筛选系数阈值,为滑窗筛选系数的门限值,可选地,在本发明实施例中,预设筛选系数阈值可以具体例如为0.8,也即将滑窗筛选系数大于0.8的初始滑窗作为目标滑窗。当然,也可以根据实际检测需求对预设筛选系数阈值进行调整,对此不做限制。The preset filtering coefficient threshold is the threshold value of the sliding window filtering coefficient. Optionally, in the embodiment of the present invention, the preset filtering coefficient threshold can be, for example, 0.8, that is, the initial sliding window filtering coefficient is greater than 0.8. The sliding window serves as the target sliding window. Of course, the preset screening coefficient threshold can also be adjusted according to actual detection needs, and there is no restriction on this.

在确定目标滑窗之后,可以结合目标滑窗的分布情况进一步对目标滑窗进行分析,其具体过程参见后续实施例。After the target sliding window is determined, the target sliding window can be further analyzed based on the distribution of the target sliding window. Please refer to subsequent embodiments for the specific process.

S103:根据每一待测连通域的面积、待测连通域中所有目标滑窗的面积和目标滑窗的位置分布,确定待测连通域的连通域分析指标;根据连通域分析指标从待测连通域中筛选出目标连通域。S103: Determine the connected domain analysis index of the connected domain to be measured based on the area of each connected domain to be measured, the areas of all target sliding windows in the connected domain to be measured, and the position distribution of the target sliding windows; The target connected domain is filtered out from the connected domain.

进一步地,在本发明的一些实施例中,根据每一待测连通域的面积、待测连通域中所有目标滑窗的面积和目标滑窗的位置分布,确定待测连通域的连通域分析指标,包括:计算待测连通域的面积与待测连通域中所有目标滑窗的面积的比值作为面积影响系数;将待测连通域中任一目标滑窗作为待分析滑窗;确定与待分析滑窗的中心点距离最近的目标滑窗的中心点,并将两个中心点间的距离值的归一化值作为待分析滑窗的距离指标;将所有目标滑窗的距离指标的均值作为距离影响系数;将面积影响系数与距离影响系数的乘积的归一化值作为连通域分析指标。Further, in some embodiments of the present invention, the connected domain analysis of the connected domain to be measured is determined based on the area of each connected domain to be measured, the areas of all target sliding windows in the connected domain to be measured, and the position distribution of the target sliding windows. Indicators include: calculating the ratio of the area of the connected domain to be measured to the area of all target sliding windows in the connected domain to be measured as the area influence coefficient; taking any target sliding window in the connected domain to be measured as the sliding window to be analyzed; determining Analyze the center point of the sliding window that is closest to the center point of the target sliding window, and use the normalized value of the distance value between the two center points as the distance index of the sliding window to be analyzed; use the mean value of the distance index of all target sliding windows As the distance influence coefficient; the normalized value of the product of the area influence coefficient and the distance influence coefficient is used as the connected domain analysis index.

其中,连通域分析指标,为待测连通域中是否存在多个菌落粘连边缘的分析数据,连通域分析指标对应的计算公式可以具体例如为: Among them, the connected domain analysis index is the analysis data of whether there are multiple adhesion edges of colonies in the connected domain to be tested. The calculation formula corresponding to the connected domain analysis index can be as follows:

式中,表示第L个待测连通域的连通域分析指标,/>表示第L个待测连通域的总面积,/>表示第L个待测连通域中N个目标滑窗的面积,N表示对应待测连通域中目标滑窗的总数量;n表示目标滑窗的索引,/>表示第n个目标滑窗的距离指标,/>表示归一化处理。In the formula, Represents the connected domain analysis index of the Lth connected domain to be tested,/> Represents the total area of the Lth connected domain to be tested,/> Represents the area of N target sliding windows in the Lth connected domain to be tested, N represents the total number of target sliding windows in the connected domain to be tested; n represents the index of the target sliding window, /> Represents the distance index of the nth target sliding window, /> Represents normalization processing.

式中,表示待测连通域内目标滑窗的距离影响系数,距离影响系数表征所有目标滑窗的分布情况,其值越小则代表目标滑窗之间分布越集中,是菌落边缘区域的待测连通域的可能性更大,对应连通域分析指标越大。因为在菌落连通域中边缘区域比生长不均匀区域更大且灰度更深,所以菌落边缘区域所对应的目标滑窗相比生长不均匀区域所对应的目标滑窗更多。因此/>的值越小代表待测连通域内存在越多的目标滑窗,表明此待测连通域更有可能存在粘连边缘,也即连通域分析指标值越大。In the formula, Represents the distance influence coefficient of the target sliding window in the connected domain to be tested. The distance influence coefficient represents the distribution of all target sliding windows. The smaller the value, the more concentrated the distribution between the target sliding windows. It is the distance influence coefficient of the connected domain to be tested in the edge area of the colony. The greater the possibility, the greater the corresponding connected domain analysis index. Because the edge area in the colony connected domain is larger and darker than the uneven growth area, the target sliding window corresponding to the colony edge area is more than the target sliding window corresponding to the uneven growth area. Therefore/> The smaller the value of , the more target sliding windows exist in the connected domain to be tested, indicating that the connected domain to be tested is more likely to have cohesive edges, that is, the larger the value of the connected domain analysis index is.

由此,在本发明的一些实施例中,根据连通域分析指标从待测连通域中筛选出目标连通域,包括:将连通域分析指标小于预设指标阈值的待测连通域作为目标连通域。Therefore, in some embodiments of the present invention, filtering out the target connected domain from the connected domains to be tested based on the connected domain analysis index includes: using the connected domain to be tested whose connected domain analysis index is less than the preset indicator threshold as the target connected domain .

其中,预设指标阈值,为连通域分析指标的门限值,本发明实施例中的预设指标阈值可以具体例如为0.5,也即是说,将连通域分析指标小于0.5的待测连通域作为目标连通域。当然,预设指标阈值的数值也可以根据实际检测需求进行调整,对此不做限制。The preset indicator threshold is the threshold value of the connectivity domain analysis indicator. The preset indicator threshold in the embodiment of the present invention can be, for example, 0.5. That is to say, the connected domain to be tested will be tested if the connectivity domain analysis indicator is less than 0.5. as the target connected domain. Of course, the value of the preset indicator threshold can also be adjusted according to actual detection needs, and there is no restriction on this.

可以理解的是,在菌落的实际检测场景中,由于相互粘连的菌落间的边缘信息较少,在进行连通域分析时会将多个菌落所组成的区域共同作为一个连通域,则本发明对该种情况进行分析,通过连通域分析指标筛选出存在多个不同菌落的待测连通域作为目标连通域,而其他待测连通域中仅包含一个菌落,由此,能够对目标连通域进行进一步的分析,保证菌落划分的可靠性。It can be understood that in the actual detection scenario of bacterial colonies, since there is less edge information between mutually adhered bacterial colonies, when performing connected domain analysis, the area composed of multiple bacterial colonies will be collectively regarded as one connected domain. In this case, the present invention will This situation is analyzed, and the connected domain to be tested with multiple different colonies is screened out through the connected domain analysis index as the target connected domain, while other connected domains to be tested only contain one colony. From this, the target connected domain can be further analyzed. analysis to ensure the reliability of colony classification.

S104:将目标连通域中除最外侧的目标滑窗之外的其他所有目标滑窗作为待分割滑窗;根据待分割滑窗与相距最近的预设数量个其他待分割滑窗间的距离,从待分割滑窗中筛选出边缘滑窗。S104: Use all target sliding windows in the target connected domain except the outermost target sliding window as the sliding windows to be divided; according to the distance between the sliding window to be divided and the nearest preset number of other sliding windows to be divided, Filter edge sliding windows from the sliding windows to be divided.

本发明实施例中,可以将目标连通域中除最外侧的目标滑窗之外的其他所有目标滑窗作为待分割滑窗,可以理解的是,本发明可以通过确定目标连通域中心点,而后,由目标连通域的中心点向外侧辐射,由此,确定最外侧的目标滑窗,或者,也可以确定待测连通域的最外侧边缘,将与最外侧边缘重叠的目标滑窗作为最外侧的目标滑窗,在所有目标滑窗去除目标滑窗之后,则可以作为待分割滑窗进行具体分析。In the embodiment of the present invention, all target sliding windows except the outermost target sliding window in the target connected domain can be used as sliding windows to be segmented. It can be understood that the present invention can determine the center point of the target connected domain, and then , radiating outward from the center point of the target connected domain, thereby determining the outermost target sliding window, or alternatively, determining the outermost edge of the connected domain to be measured, and taking the target sliding window that overlaps the outermost edge as the outermost The target sliding window can be used as the sliding window to be segmented for specific analysis after removing the target sliding window from all target sliding windows.

进一步地,在本发明的一些实施例中,根据待分割滑窗与相距最近的预设数量个其他待分割滑窗间的距离,从待分割滑窗中筛选出边缘滑窗,包括:将任一待分割滑窗分别与其相距最近的预设数量个其他待分割滑窗间的距离的和值作为分割距离和值;对分割距离和值进行归一化处理得到边缘选择指标;根据所有待分割滑窗的边缘选择指标从待分割滑窗中筛选出边缘滑窗。Further, in some embodiments of the present invention, filtering out edge sliding windows from the sliding windows to be divided based on the distance between the sliding window to be divided and the nearest preset number of other sliding windows to be divided includes: The sum of the distances between a sliding window to be segmented and the nearest preset number of other sliding windows to be segmented is used as the segmentation distance and value; the segmentation distance and value are normalized to obtain the edge selection index; based on all the segments to be segmented The edge selection index of the sliding window selects edge sliding windows from the sliding windows to be divided.

其中,预设数量,为其他待分割滑窗的选择数量,本发明实施例中,预设数量可以具体例如为10,或者,也可以根据实际检测需求进行调整,对此不做限制。The preset number is the selected number of other sliding windows to be divided. In the embodiment of the present invention, the preset number can be, for example, 10, or it can be adjusted according to actual detection requirements, and there is no limit to this.

本发明实施例中,通过待分割滑窗之间的距离对待分割滑窗进行具体分析,也即计算任一待分割滑窗分别与其相距最近的预设数量个其他待分割滑窗间的距离的和值作为分割距离和值,并对其进行归一化得到边缘选择指标,在边缘选择指标越大时,可以表示对应的待分割滑窗与其他待分割滑窗距离普遍较远,也即该待分割滑窗处于孤立位置,则对应的边缘选择指标越大。In the embodiment of the present invention, the sliding windows to be divided are specifically analyzed based on the distance between the sliding windows to be divided, that is, the distance between any sliding window to be divided and the nearest preset number of other sliding windows to be divided is calculated. The sum value is used as the sum of segmentation distances, and is normalized to obtain the edge selection index. When the edge selection index is larger, it can mean that the corresponding sliding window to be segmented is generally far away from other sliding windows to be segmented, that is, the If the sliding window to be divided is in an isolated position, the corresponding edge selection index will be larger.

举例而言,如图2所示,图2为本发明一个实施例所提供的待分割滑窗分布示意图,在图2中,处于菌落间粘连的待分割滑窗,其对应的分布较为密集,而非边缘的待分割滑窗,其对应较为离散,由此,对边缘滑窗进行具体分析。For example, as shown in Figure 2, Figure 2 is a schematic diagram of the distribution of sliding windows to be divided according to an embodiment of the present invention. In Figure 2, the sliding windows to be divided are in the adhesion between colonies, and their corresponding distribution is relatively dense. However, the correspondence of the non-edge sliding window to be segmented is relatively discrete. Therefore, a detailed analysis of the edge sliding window is carried out.

进一步地,在本发明的一些实施例中,根据所有待分割滑窗的边缘选择指标从待分割滑窗中筛选出边缘滑窗,包括:将边缘选择指标小于预设边缘阈值的待分割滑窗作为边缘滑窗。Further, in some embodiments of the present invention, filtering out edge sliding windows from sliding windows to be segmented based on edge selection indicators of all sliding windows to be segmented includes: selecting sliding windows to be segmented whose edge selection indicators are less than a preset edge threshold. As an edge sliding window.

其中,预设边缘阈值,为边缘选择指标的门限值,本发明实施例中预设边缘阈值可以具体例如为0.25,也即是说,在边缘选择指标小于0.25的待分割滑窗作为边缘滑窗,当然,也可以根据实际检测需求对预设边缘阈值进行调整,对此不做限制。The preset edge threshold is the threshold value of the edge selection index. In the embodiment of the present invention, the preset edge threshold can be, for example, 0.25. That is to say, when the edge selection index is less than 0.25, the sliding window to be divided is used as the edge sliding window. Window, of course, the preset edge threshold can also be adjusted according to actual detection requirements, and there is no restriction on this.

本发明实施例中,在菌落间边缘的待分割滑窗,其对应的与其他待分割滑窗均具有较小的距离,因此,本发明使用待分割滑窗间的距离进行有效判断,保证最终边缘滑窗选择的准确性与可靠性。In the embodiment of the present invention, the sliding window to be divided at the edge of the colony has a relatively small distance from other sliding windows to be divided. Therefore, the present invention uses the distance between the sliding windows to be divided for effective judgment to ensure the final result. Accuracy and reliability of edge sliding window selection.

S105:根据边缘滑窗中的中心点对目标连通域进行分割,得到细菌菌落,将除目标连通域之外的每一待测连通域作为一个细菌菌落。S105: Segment the target connected domain according to the center point in the edge sliding window to obtain bacterial colonies, and treat each connected domain to be tested except the target connected domain as a bacterial colony.

本发明在确认边缘滑窗之后,可以根据边缘滑窗的位置进行具体细菌菌落的分析。After confirming the edge sliding window, the present invention can analyze specific bacterial colonies according to the position of the edge sliding window.

进一步地,在本发明的一些实施例中,根据边缘滑窗中的边缘线对目标连通域进行分割,得到细菌菌落,包括:连接相距最近的两个边缘滑窗的中心点,将目标连通域分割为至少两个子区域,将每个子区域作为一个细菌菌落。Further, in some embodiments of the present invention, segmenting the target connected domain according to the edge lines in the edge sliding window to obtain bacterial colonies includes: connecting the center points of the two nearest edge sliding windows, dividing the target connected domain Divide it into at least two sub-regions and treat each sub-region as a bacterial colony.

本发明实施例中,可以将边缘滑窗的中心点作为对应菌落分割的边缘点,而后,连接相距最近的两个边缘滑窗的中心点,将目标连通域分割为至少两个子区域,将每个子区域作为一个细菌菌落。In the embodiment of the present invention, the center point of the edge sliding window can be used as the edge point for corresponding colony segmentation, and then, the center points of the two closest edge sliding windows are connected to divide the target connected domain into at least two sub-regions, and each subregion as a bacterial colony.

由此,将除目标连通域的待测连通域作为单一的细菌菌落,目标连通域则为多个细菌菌落相粘连的连通域,而后对目标连通域进行划分,将相互粘连的连通域进行分割,得到对应的细菌菌落,由此,能够对细菌菌落进行更为精确有效地划分。Therefore, the connected domain to be tested except the target connected domain is regarded as a single bacterial colony, and the target connected domain is a connected domain in which multiple bacterial colonies are adhered to each other. Then the target connected domain is divided, and the connected domains that are adhered to each other are divided. , the corresponding bacterial colonies are obtained, thus the bacterial colonies can be divided more accurately and effectively.

本发明通过获取培养基表面灰度图像,确定菌落区域,而后,进行连通域分析并基于预设大小且不重叠的滑窗对连通域进行分割,得到初始滑窗,通过初始滑窗与待测连通域中像素点的灰度值从初始滑窗中选择目标滑窗,可以理解的是,细菌菌落有离散在外侧的菌落,也有多个菌落相互粘连,在多个菌落相互粘连时,由于菌丝的分布,使得中间的边缘区域较为模糊,对应边缘信息较少,直接使用色块分析处理所得到的效果较差,因此本发明实施例通过设置不重叠的滑窗进行具体分析,使得分析过程精细化程度更高,且效果更优;由于单一待测连通域可以为一个菌落或多个菌落的组合,因此本发明结合待测连通域本身的面积信息和待测连通域中目标滑窗的数量和位置分布确定连通域分析指标,从待测连通域中筛选出目标连通域,从而能够准确筛选出包含有多个菌落的目标连通域,进而根据目标连通域中待分割滑窗间的距离确定边缘滑窗,基于边缘滑窗对目标连通域进行划分,使得相互粘连的菌落能够被有效划分,结合原本单独分布的待测连通域,划分得到细菌菌落,综上,本发明通过筛选出存在粘连的连通域,并对存在粘连的连通域进行有效划分,能够根据灰度差异以及边缘特征对细菌菌落进行更精确的菌落划分,提升细菌菌落划分的精细程度,保证细菌菌落划分的准确性与可靠性。This invention determines the colony area by acquiring the grayscale image of the surface of the culture medium, and then performs connected domain analysis and segments the connected domains based on sliding windows of preset size and non-overlapping to obtain an initial sliding window. Through the initial sliding window and the test The gray value of the pixels in the connected domain is selected from the initial sliding window. It can be understood that the bacterial colonies have discrete colonies on the outside, and there are also multiple bacterial colonies that adhere to each other. When multiple bacterial colonies adhere to each other, due to the The distribution of filaments makes the middle edge area blurred and the corresponding edge information is less. The effect obtained by directly using color block analysis and processing is poor. Therefore, the embodiment of the present invention performs specific analysis by setting non-overlapping sliding windows, making the analysis process The degree of refinement is higher and the effect is better; since a single connected domain to be tested can be a colony or a combination of multiple colonies, the present invention combines the area information of the connected domain to be tested itself and the information of the target sliding window in the connected domain to be tested. The quantity and position distribution determine the connected domain analysis index, and the target connected domain is screened out from the connected domain to be tested, so that the target connected domain containing multiple colonies can be accurately screened, and then the distance between the sliding windows to be segmented in the target connected domain can be accurately selected. Determine the edge sliding window, divide the target connected domain based on the edge sliding window, so that the mutually adherent colonies can be effectively divided, and combine the originally individually distributed connected domains to be tested to divide the bacterial colonies. In summary, the present invention filters out the existing bacterial colonies Connected domains with adhesion can be effectively divided into connected domains with adhesions, which can more accurately classify bacterial colonies based on grayscale differences and edge features, improve the precision of bacterial colony classification, and ensure the accuracy and accuracy of bacterial colony classification. reliability.

需要说明的是:上述本发明实施例先后顺序仅仅为了描述,不代表实施例的优劣。在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。It should be noted that the above-mentioned order of the embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the figures do not necessarily require the specific order shown, or sequential order, to achieve desirable results. Multitasking and parallel processing are also possible or may be advantageous in certain implementations.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。Each embodiment in this specification is described in a progressive manner. The same and similar parts between the various embodiments can be referred to each other. Each embodiment focuses on its differences from other embodiments.

Claims (10)

1.一种基于图像特征的细菌菌落精确划分方法,其特征在于,所述方法包括:1. A method for accurately dividing bacterial colonies based on image features, characterized in that the method includes: 获取培养基表面灰度图像,基于阈值分割的方式确定所述培养基表面灰度图像的菌落区域;Obtain a grayscale image of the surface of the culture medium, and determine the colony area of the grayscale image of the surface of the culture medium based on threshold segmentation; 对所述菌落区域进行连通域分析,确定待测连通域,基于预设大小且不重叠的滑窗对所述连通域进行分割,得到初始滑窗,根据所述初始滑窗和待测连通域中像素点的灰度值,从所述初始滑窗中选择目标滑窗;Perform connected domain analysis on the colony area to determine the connected domain to be tested, segment the connected domain based on a preset size and non-overlapping sliding window, and obtain an initial sliding window. According to the initial sliding window and the connected domain to be tested The gray value of the pixel in the middle, selects the target sliding window from the initial sliding window; 根据每一待测连通域的面积、待测连通域中所有所述目标滑窗的面积和目标滑窗的位置分布,确定所述待测连通域的连通域分析指标;根据所述连通域分析指标从所述待测连通域中筛选出目标连通域;According to the area of each connected domain to be measured, the areas of all target sliding windows in the connected domain to be measured, and the position distribution of the target sliding windows, determine the connected domain analysis index of the connected domain to be measured; according to the connected domain analysis The indicator selects the target connected domain from the connected domain to be measured; 将所述目标连通域中除最外侧的目标滑窗之外的其他所有目标滑窗作为待分割滑窗;根据所述待分割滑窗与相距最近的预设数量个其他待分割滑窗间的距离,从所述待分割滑窗中筛选出边缘滑窗;All other target sliding windows in the target connected domain except the outermost target sliding window are used as the sliding windows to be divided; according to the distance between the sliding window to be divided and the nearest preset number of other sliding windows to be divided. The distance is used to select edge sliding windows from the sliding windows to be segmented; 根据所述边缘滑窗中的中心点对所述目标连通域进行分割,得到细菌菌落,将除所述目标连通域之外的每一待测连通域作为一个细菌菌落。The target connected domain is segmented according to the center point in the edge sliding window to obtain bacterial colonies, and each connected domain to be tested except the target connected domain is regarded as a bacterial colony. 2.如权利要求1所述的一种基于图像特征的细菌菌落精确划分方法,其特征在于,所述根据所述初始滑窗和待测连通域中像素点的灰度值,从所述初始滑窗中选择目标滑窗,包括:2. A method for accurately dividing bacterial colonies based on image features as claimed in claim 1, characterized in that, according to the initial sliding window and the gray value of the pixels in the connected domain to be measured, from the initial Select the target sliding window in the sliding window, including: 将所述初始滑窗中的所有像素点的灰度值信息熵的归一化值作为滑窗混乱程度;The normalized value of the gray value information entropy of all pixels in the initial sliding window is used as the sliding window confusion degree; 将所述初始滑窗内所有像素点灰度值的均值作为滑窗均值,所述初始滑窗内所有像素点灰度值的标准差作为滑窗标准差;计算所述滑窗均值与所述滑窗标准差的乘积作为滑窗特征参数;The mean value of the gray value of all pixels in the initial sliding window is used as the sliding window mean, and the standard deviation of the gray value of all pixels in the initial sliding window is used as the sliding window standard deviation; calculate the sliding window mean and the The product of the sliding window standard deviation is used as the sliding window characteristic parameter; 将所述待测连通域内所有像素点灰度值的均值作为待测均值,所述待测连通域内所有像素点灰度值的标准差作为待测标准差;计算所述待测均值与所述待测标准差的乘积作为待测特征参数;The mean value of the gray value of all pixels in the connected domain to be measured is used as the mean value to be measured, and the standard deviation of the gray value of all pixels in the connected domain to be measured is used as the standard deviation to be measured; calculate the mean value to be measured and the mean value to be measured The product of the standard deviation to be measured is used as the characteristic parameter to be measured; 根据所述滑窗特征参数和所述待测特征参数确定滑窗突变系数;Determine the sliding window mutation coefficient according to the sliding window characteristic parameter and the characteristic parameter to be measured; 计算所述滑窗混乱程度和所述滑窗突变系数的乘积作为滑窗筛选系数;Calculate the product of the sliding window chaos degree and the sliding window mutation coefficient as the sliding window screening coefficient; 根据每一初始滑窗的所述滑窗筛选系数从所述初始滑窗中选择目标滑窗。A target sliding window is selected from the initial sliding windows according to the sliding window screening coefficient of each initial sliding window. 3.如权利要求2所述的一种基于图像特征的细菌菌落精确划分方法,其特征在于,所述根据所述滑窗特征参数和所述待测特征参数确定滑窗突变系数,包括:3. A method for accurately dividing bacterial colonies based on image features as claimed in claim 2, characterized in that determining the sliding window mutation coefficient according to the sliding window characteristic parameters and the characteristic parameters to be measured includes: 计算所述滑窗特征参数与所述待测特征参数的差值绝对值作为特征差异;Calculate the absolute value of the difference between the sliding window characteristic parameter and the characteristic parameter to be measured as the characteristic difference; 根据所述特征差异与所述待测特征参数确定滑窗突变系数,其中,所述特征差异与滑窗突变系数呈正相关关系,所述待测特征参数与滑窗突变系数呈负相关关系,所述滑窗突变系数的取值为归一化的数值。The sliding window mutation coefficient is determined according to the characteristic difference and the characteristic parameter to be measured, wherein the characteristic difference is positively correlated with the sliding window mutation coefficient, and the characteristic parameter to be measured is negatively correlated with the sliding window mutation coefficient, so The value of the sliding window mutation coefficient is a normalized value. 4.如权利要求2所述的一种基于图像特征的细菌菌落精确划分方法,其特征在于,所述根据每一初始滑窗的所述滑窗筛选系数从所述初始滑窗中选择目标滑窗,包括:4. A method for accurately classifying bacterial colonies based on image features according to claim 2, wherein the target sliding window is selected from the initial sliding window according to the sliding window screening coefficient of each initial sliding window. Windows, including: 将所述滑窗筛选系数大于预设筛选系数阈值的所述初始滑窗作为目标滑窗。The initial sliding window with the sliding window screening coefficient greater than the preset screening coefficient threshold is used as the target sliding window. 5.如权利要求1所述的一种基于图像特征的细菌菌落精确划分方法,其特征在于,所述根据每一待测连通域的面积、待测连通域中所有所述目标滑窗的面积和目标滑窗的位置分布,确定所述待测连通域的连通域分析指标,包括:5. A method for accurately dividing bacterial colonies based on image features as claimed in claim 1, wherein the method is based on the area of each connected domain to be measured and the area of all target sliding windows in the connected domain to be measured. and the position distribution of the target sliding window to determine the connected domain analysis indicators of the connected domain to be measured, including: 计算所述待测连通域的面积与所述待测连通域中所有所述目标滑窗的面积的比值作为面积影响系数;Calculate the ratio of the area of the connected domain to be measured to the areas of all target sliding windows in the connected domain to be measured as the area influence coefficient; 将所述待测连通域中任一目标滑窗作为待分析滑窗;确定与所述待分析滑窗的中心点距离最近的目标滑窗的中心点,并将两个中心点间的距离值的归一化值作为所述待分析滑窗的距离指标;将所有目标滑窗的距离指标的均值作为距离影响系数;Use any target sliding window in the connected domain to be tested as the sliding window to be analyzed; determine the center point of the target sliding window that is closest to the center point of the sliding window to be analyzed, and calculate the distance value between the two center points The normalized value of is used as the distance index of the sliding window to be analyzed; the mean value of the distance index of all target sliding windows is used as the distance influence coefficient; 将所述面积影响系数与所述距离影响系数的乘积的归一化值作为所述连通域分析指标。The normalized value of the product of the area influence coefficient and the distance influence coefficient is used as the connected domain analysis index. 6.如权利要求1所述的一种基于图像特征的细菌菌落精确划分方法,其特征在于,所述根据所述连通域分析指标从所述待测连通域中筛选出目标连通域,包括:6. A method for accurately classifying bacterial colonies based on image features as claimed in claim 1, wherein the step of screening out the target connected domain from the connected domain to be tested according to the connected domain analysis index includes: 将所述连通域分析指标小于预设指标阈值的待测连通域作为目标连通域。The connected domain to be tested whose connected domain analysis index is smaller than the preset indicator threshold is used as the target connected domain. 7.如权利要求1所述的一种基于图像特征的细菌菌落精确划分方法,其特征在于,所述根据所述待分割滑窗与相距最近的预设数量个其他待分割滑窗间的距离,从所述待分割滑窗中筛选出边缘滑窗,包括:7. A method for accurately dividing bacterial colonies based on image features as claimed in claim 1, wherein the method is based on the distance between the sliding window to be divided and the nearest preset number of other sliding windows to be divided. , filter out edge sliding windows from the sliding windows to be divided, including: 将任一待分割滑窗分别与其相距最近的预设数量个其他待分割滑窗间的距离的和值作为分割距离和值;The sum of the distances between any sliding window to be divided and the nearest preset number of other sliding windows to be divided is used as the sum of the dividing distances; 对所述分割距离和值进行归一化处理得到边缘选择指标;Perform normalization processing on the segmentation distance and value to obtain an edge selection index; 根据所有所述待分割滑窗的边缘选择指标从所述待分割滑窗中筛选出边缘滑窗。Edge sliding windows are filtered out from the sliding windows to be divided according to the edge selection indicators of all the sliding windows to be divided. 8.如权利要求7所述的一种基于图像特征的细菌菌落精确划分方法,其特征在于,所述根据所有所述待分割滑窗的边缘选择指标从所述待分割滑窗中筛选出边缘滑窗,包括:8. A method for accurately dividing bacterial colonies based on image features as claimed in claim 7, wherein the edge selection index of all the sliding windows to be segmented is selected from the sliding windows to be segmented. Sliding windows including: 将所述边缘选择指标小于预设边缘阈值的待分割滑窗作为边缘滑窗。The sliding window to be segmented whose edge selection index is smaller than the preset edge threshold is used as an edge sliding window. 9.如权利要求1所述的一种基于图像特征的细菌菌落精确划分方法,其特征在于,所述根据所述边缘滑窗中的边缘线对所述目标连通域进行分割,得到细菌菌落,包括:9. A method for accurately dividing bacterial colonies based on image features as claimed in claim 1, wherein the target connected domain is segmented according to the edge line in the edge sliding window to obtain bacterial colonies, include: 连接相距最近的两个边缘滑窗的中心点,将所述目标连通域分割为至少两个子区域,将每个子区域作为一个细菌菌落。Connect the center points of the two closest edge sliding windows, divide the target connected domain into at least two sub-regions, and treat each sub-region as a bacterial colony. 10.如权利要求7所述的一种基于图像特征的细菌菌落精确划分方法,其特征在于,所述预设数量为10。10. A method for accurately classifying bacterial colonies based on image features according to claim 7, wherein the preset number is 10.
CN202311534168.6A 2023-11-17 2023-11-17 Accurate bacterial colony dividing method based on image features Active CN117274293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311534168.6A CN117274293B (en) 2023-11-17 2023-11-17 Accurate bacterial colony dividing method based on image features

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311534168.6A CN117274293B (en) 2023-11-17 2023-11-17 Accurate bacterial colony dividing method based on image features

Publications (2)

Publication Number Publication Date
CN117274293A true CN117274293A (en) 2023-12-22
CN117274293B CN117274293B (en) 2024-03-15

Family

ID=89219943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311534168.6A Active CN117274293B (en) 2023-11-17 2023-11-17 Accurate bacterial colony dividing method based on image features

Country Status (1)

Country Link
CN (1) CN117274293B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117649407A (en) * 2024-01-29 2024-03-05 深圳三方圆检测监管服务有限公司 Food quality detection method, equipment, system and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024259A (en) * 2010-12-24 2011-04-20 刘安安 Bacterial colony automatic detection method
CN102676633A (en) * 2012-03-08 2012-09-19 天津大学 Method for automatically counting bacterial colonies
CN109102514A (en) * 2018-08-16 2018-12-28 广东工业大学 A kind of image partition method, device, equipment and computer readable storage medium
CN111178173A (en) * 2019-12-14 2020-05-19 杭州电子科技大学 Target colony growth characteristic identification method
WO2020107716A1 (en) * 2018-11-30 2020-06-04 长沙理工大学 Target image segmentation method and apparatus, and device
CN112614062A (en) * 2020-12-17 2021-04-06 北京陆桥技术股份有限公司 Bacterial colony counting method and device and computer storage medium
CN113256580A (en) * 2021-05-20 2021-08-13 北京朴清科技有限公司 Automatic identification method for target colony characteristics
CN115131358A (en) * 2022-09-01 2022-09-30 南通永安纺织有限公司 Quilt cover suture defect identification method
CN115266736A (en) * 2022-09-29 2022-11-01 江苏宸洋食品有限公司 Quick identification method for mildew of murcott
CN115294044A (en) * 2022-07-28 2022-11-04 上海市农业科学院 A kind of edible fungus mycelial phenotype acquisition method
CN115345893A (en) * 2022-09-15 2022-11-15 吉林大学中日联谊医院 Ovarian tissue canceration region segmentation method based on image processing
CN115578732A (en) * 2022-11-21 2023-01-06 山东爱福地生物股份有限公司 Label identification method for fertilizer production line
WO2023134792A2 (en) * 2022-12-15 2023-07-20 苏州迈创信息技术有限公司 Led lamp wick defect detection method
US20230252630A1 (en) * 2022-02-10 2023-08-10 Canon Kabushiki Kaisha Cell image analysis method and non-transitory storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024259A (en) * 2010-12-24 2011-04-20 刘安安 Bacterial colony automatic detection method
CN102676633A (en) * 2012-03-08 2012-09-19 天津大学 Method for automatically counting bacterial colonies
CN109102514A (en) * 2018-08-16 2018-12-28 广东工业大学 A kind of image partition method, device, equipment and computer readable storage medium
WO2020107716A1 (en) * 2018-11-30 2020-06-04 长沙理工大学 Target image segmentation method and apparatus, and device
CN111178173A (en) * 2019-12-14 2020-05-19 杭州电子科技大学 Target colony growth characteristic identification method
CN112614062A (en) * 2020-12-17 2021-04-06 北京陆桥技术股份有限公司 Bacterial colony counting method and device and computer storage medium
CN113256580A (en) * 2021-05-20 2021-08-13 北京朴清科技有限公司 Automatic identification method for target colony characteristics
US20230252630A1 (en) * 2022-02-10 2023-08-10 Canon Kabushiki Kaisha Cell image analysis method and non-transitory storage medium
CN115294044A (en) * 2022-07-28 2022-11-04 上海市农业科学院 A kind of edible fungus mycelial phenotype acquisition method
CN115131358A (en) * 2022-09-01 2022-09-30 南通永安纺织有限公司 Quilt cover suture defect identification method
CN115345893A (en) * 2022-09-15 2022-11-15 吉林大学中日联谊医院 Ovarian tissue canceration region segmentation method based on image processing
CN115266736A (en) * 2022-09-29 2022-11-01 江苏宸洋食品有限公司 Quick identification method for mildew of murcott
CN115578732A (en) * 2022-11-21 2023-01-06 山东爱福地生物股份有限公司 Label identification method for fertilizer production line
WO2023134792A2 (en) * 2022-12-15 2023-07-20 苏州迈创信息技术有限公司 Led lamp wick defect detection method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘定操: "基于高光谱图像分割的固态发酵中不同杆菌的识别方法", 《现代食品科技》, vol. 35, no. 9, pages 317 - 321 *
李金燕 等: "罗伊氏菌素对产气荚膜梭菌的体外抑制作用", 《广东畜牧兽医科技》, vol. 48, no. 1, pages 29 - 34 *
蔡曼珊 等: "消毒剂种类和添加时间对鸡场水线消毒效果的比较 消毒效果的比较", 《中国家禽》, vol. 39, no. 23, pages 67 - 69 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117649407A (en) * 2024-01-29 2024-03-05 深圳三方圆检测监管服务有限公司 Food quality detection method, equipment, system and storage medium
CN117649407B (en) * 2024-01-29 2024-05-14 深圳三方圆检测监管服务有限公司 Food quality detection method, equipment, system and storage medium

Also Published As

Publication number Publication date
CN117274293B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
CN114862862B (en) Pump body cold shut defect identification method and system based on image processing
CN115829883B (en) Surface image denoising method for special-shaped metal structural member
CN109636824B (en) Multi-target counting method based on image recognition technology
CN113667584B (en) Colony contrast collection
CN107507173B (en) A no-reference sharpness assessment method and system for whole slice images
US7979212B2 (en) Method and system for morphology based mitosis identification and classification of digital images
CN115601367A (en) LED lamp wick defect detection method
CN117351008A (en) Smart phone panel surface defect detection method
CN115797342B (en) Industrial control capacitive touch LCD display assembly defect detection method
CN110286124A (en) Measuring system for refractory bricks based on machine vision
CN109064470B (en) An image segmentation method and device based on adaptive fuzzy clustering
CN115359053B (en) Intelligent detection method and system for defects of metal plate
CN112215790A (en) KI67 index analysis method based on deep learning
CN117274293B (en) Accurate bacterial colony dividing method based on image features
CN113902713A (en) Image segmentation algorithm-based multi-colony counting method
CN116152242B (en) Visual detection system of natural leather defect for basketball
CN113935666B (en) Building decoration wall tile abnormity evaluation method based on image processing
CN118014989B (en) Intelligent detection method for surface defects of power adapter
CN115861320A (en) An intelligent detection method for processing information of automobile parts
CN103489187A (en) Quality test based segmenting method of cell nucleuses in cervical LCT image
CN116503393B (en) Circuit board plasma nano coating quality detection method based on image processing
CN117934452B (en) Rapid autoclaved concrete slab material quality detection method based on artificial intelligence
CN110648330A (en) Defect detection method for camera glass
WO2005076197A2 (en) Method and system for morphology based mitosis identification and classification of digital images
CN118501177B (en) Appearance defect detection method and system for formed foil

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