CN111105407B - A method, device, equipment and storage medium for evaluating the staining quality of pathological sections - Google Patents

A method, device, equipment and storage medium for evaluating the staining quality of pathological sections Download PDF

Info

Publication number
CN111105407B
CN111105407B CN201911354095.6A CN201911354095A CN111105407B CN 111105407 B CN111105407 B CN 111105407B CN 201911354095 A CN201911354095 A CN 201911354095A CN 111105407 B CN111105407 B CN 111105407B
Authority
CN
China
Prior art keywords
dyeing
value
staining
color
color value
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.)
Active
Application number
CN201911354095.6A
Other languages
Chinese (zh)
Other versions
CN111105407A (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.)
Guangzhou Kingmed Diagnostics Central Co Ltd
Original Assignee
Guangzhou Kingmed Diagnostics Central Co Ltd
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 Guangzhou Kingmed Diagnostics Central Co Ltd filed Critical Guangzhou Kingmed Diagnostics Central Co Ltd
Priority to CN201911354095.6A priority Critical patent/CN111105407B/en
Publication of CN111105407A publication Critical patent/CN111105407A/en
Application granted granted Critical
Publication of CN111105407B publication Critical patent/CN111105407B/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/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • 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
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30024Cell structures in vitro; Tissue sections in vitro
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30168Image quality inspection
    • 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
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Quality & Reliability (AREA)
  • Investigating Or Analysing Biological Materials (AREA)

Abstract

The embodiment of the invention discloses a pathological section dyeing quality evaluation method, a pathological section dyeing quality evaluation device, pathological section dyeing quality evaluation equipment and a storage medium. The method comprises the following steps: digitally scanning the dyed pathological section to obtain a medical image to be analyzed; performing feature recognition on the medical image to be analyzed to obtain a plurality of dyeing color values; and obtaining a dyeing standard value, and determining the dyeing quality of the pathological section corresponding to the medical image to be analyzed according to the plurality of dyeing color values and the dyeing standard value. The invention has unified evaluation standard, adopts artificial intelligence to avoid subjective evaluation of pathologists or pathologists, ensures consistency of quality evaluation, is suitable for pathological section dyeing quality evaluation in the same laboratory, and is also suitable for pathological section dyeing quality evaluation among different laboratories.

Description

一种病理切片染色质量评价方法、装置、设备及存储介质A method, device, equipment and storage medium for evaluating the staining quality of pathological sections

技术领域technical field

本发明涉及质量评价技术领域,尤其涉及一种病理切片染色质量评价方法、装置、设备及存储介质。The invention relates to the technical field of quality evaluation, in particular to a method, device, equipment and storage medium for evaluating the quality of staining of pathological sections.

背景技术Background technique

病理技术是病理学的一个重要分支,是病理学研究中的方法学,是病理诊断的基础。常规病理是病理技术最重要的部分,任何病理诊断离不开它。其中免疫组化染色是现代病理学诊断技术不可或缺的重要技术。免疫组化染色的步骤较为繁琐,而且因不同实验室和技术员的操作技术,可能导致最终免疫组化染色的效果完全不全。同一实验室,由3名实验室操作人员在不同时间进行操作后出现三种不同效果的染色,对于后期的病理诊断报告结果也可能造成较为严重的影响。Pathological technology is an important branch of pathology, the methodology in pathological research, and the basis of pathological diagnosis. Conventional pathology is the most important part of pathological technology, and any pathological diagnosis cannot be separated from it. Among them, immunohistochemical staining is an indispensable and important technique for modern pathological diagnosis techniques. The steps of immunohistochemical staining are cumbersome, and due to the operating techniques of different laboratories and technicians, the final effect of immunohistochemical staining may be completely incomplete. In the same laboratory, three different staining effects appear after three laboratory operators operate at different times, which may also have a serious impact on the results of the pathological diagnosis report in the later period.

目前对于无论是同一实验室内还是不同实验室之间的质量控制,往往都是由病理医生或者病理技术人员进行主观性评价。一方面,对于诊断质量的标准,每个人都不完全一致,大多数都是主观性的难以重复的评价;另一方面,对于细微的质量差异,人的评价结果往往差异性更大,无法完成可靠和准确的评价。所以每一次的质量控制评价标准和结果都是非常不稳定的,从而造成免疫组化染色的质量在不同实验室很难达到一致性的染色质量。因此,开发一种检测标准统一且同时适合同一实验室内和不同实验室间的病理切片染色质量评价方法显得尤为重要。At present, the quality control, whether within the same laboratory or between different laboratories, is often evaluated subjectively by pathologists or pathological technicians. On the one hand, everyone is not completely consistent with the standard of diagnostic quality, and most of them are subjective evaluations that are difficult to repeat; Reliable and accurate reviews. Therefore, the evaluation standards and results of each quality control are very unstable, which makes it difficult for the quality of immunohistochemical staining to achieve consistent staining quality in different laboratories. Therefore, it is particularly important to develop a method for evaluating the staining quality of pathological sections with uniform detection standards and suitable for both within the same laboratory and among different laboratories.

发明内容Contents of the invention

基于此,有必要针对上述问题,提出了一种病理切片染色质量评价方法、装置、设备及存储介质。Based on this, it is necessary to address the above problems and propose a method, device, equipment and storage medium for evaluating the staining quality of pathological sections.

第一方面,本发明一种病理切片染色质量评价方法,所述方法包括:In the first aspect, the present invention provides a method for evaluating the staining quality of pathological sections, the method comprising:

将染色的病理切片进行数字化扫描,得到待分析医学图像;Digitally scan the stained pathological sections to obtain medical images to be analyzed;

对所述待分析医学图像进行特征识别,得到多个染色颜色值;performing feature recognition on the medical image to be analyzed to obtain a plurality of staining color values;

获取染色标准值,根据多个所述染色颜色值和所述染色标准值确定与所述待分析医学图像对应的病理切片的染色质量。A staining standard value is acquired, and the staining quality of the pathological section corresponding to the medical image to be analyzed is determined according to the multiple staining color values and the staining standard value.

第二方面,本发明还提出了一种病理切片染色质量评价装置,所述装置包括:In the second aspect, the present invention also proposes a device for evaluating the quality of staining of pathological sections, said device comprising:

扫描模块,用于将染色的病理切片进行数字化扫描,得到待分析医学图像;The scanning module is used to digitally scan the stained pathological sections to obtain medical images to be analyzed;

染色颜色值提取模块,用于对所述待分析医学图像进行特征识别,得到多个染色颜色值;A staining color value extraction module, configured to perform feature recognition on the medical image to be analyzed to obtain a plurality of staining color values;

染色质量确定模块,用于获取染色标准值,根据多个所述染色颜色值和所述染色标准值确定与所述待分析医学图像对应的病理切片的染色质量。The staining quality determination module is configured to acquire a staining standard value, and determine the staining quality of the pathological section corresponding to the medical image to be analyzed according to a plurality of the staining color values and the staining standard value.

第三方面,本发明还提出了一种存储介质,存储有计算机指令程序,所述计算机指令程序被处理器执行时,使得所述处理器执行第一方面任一项所述方法的步骤。In the third aspect, the present invention also provides a storage medium storing a computer instruction program, and when the computer instruction program is executed by a processor, the processor executes the steps of any one of the methods described in the first aspect.

第四方面,本发明还提出了一种计算机设备,包括至少一个存储器、至少一个处理器,所述存储器存储有计算机指令程序,所述计算机指令程序被所述处理器执行时,使得所述处理器执行第一方面任一项所述方法的步骤。In a fourth aspect, the present invention also proposes a computer device, including at least one memory and at least one processor, the memory stores a computer instruction program, and when the computer instruction program is executed by the processor, the processing The device performs the steps of any one of the methods described in the first aspect.

综上所述,本发明的病理切片染色质量评价方法将染色的病理切片进行数字化扫描,得到待分析医学图像,通过人工智能对数字化的待分析医学图像进行分析,避免了病理医生或者病理技术人员的主观性评价,确保了质量评价的一致性;对待分析医学图像进行特征识别,得到多个染色颜色值,获取染色标准值,根据多个染色颜色值和染色标准值确定与待分析医学图像对应的病理切片的染色质量,识别出染色颜色值的方法相同,采用多个染色颜色值与染色标准值来进行评价,评价参数统一,评价标准统一,采用人工智能,从而适合同一实验室内的病理切片染色质量评价,也适合不同实验室间的病理切片染色质量评价。因此,本发明评价标准统一,采用人工智能避免了病理医生或者病理技术人员的主观性评价,确保了质量评价的一致性,适合同一实验室内的病理切片染色质量评价,也适合不同实验室间的病理切片染色质量评价。In summary, the method for evaluating the staining quality of pathological sections of the present invention digitally scans the stained pathological sections to obtain medical images to be analyzed, and uses artificial intelligence to analyze the digitalized medical images to be analyzed, avoiding the need for pathologists or pathological technicians. The subjective evaluation ensures the consistency of quality evaluation; the feature recognition of the medical image to be analyzed is carried out to obtain multiple staining color values, obtain the staining standard value, and determine the corresponding medical image to be analyzed according to the multiple staining color values and staining standard values. The staining quality of the pathological sections, the method of identifying the staining color value is the same, and multiple staining color values and staining standard values are used for evaluation, the evaluation parameters are unified, the evaluation standard is unified, and artificial intelligence is used, so it is suitable for pathology in the same laboratory The evaluation of staining quality of slides is also suitable for the evaluation of staining quality of pathological slides between different laboratories. Therefore, the evaluation standard of the present invention is unified, the use of artificial intelligence avoids the subjective evaluation of pathologists or pathological technicians, ensures the consistency of quality evaluation, and is suitable for the evaluation of the staining quality of pathological sections in the same laboratory, and is also suitable for different laboratories. Evaluation of the staining quality of pathological sections.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions 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 accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

其中:in:

图1为一个实施例中病理切片染色质量评价方法的流程图;Fig. 1 is a flow chart of the method for evaluating the quality of staining of pathological sections in an embodiment;

图2为图1的病理切片染色质量评价方法的识别染色颜色值的流程图;Fig. 2 is the flowchart of the identification staining color value of the pathological section staining quality evaluation method of Fig. 1;

图3为图1的病理切片染色质量评价方法的细胞结构特征识别的流程图;Fig. 3 is a flow chart of identifying cell structure features of the pathological section staining quality evaluation method of Fig. 1;

图4为图1的病理切片染色质量评价方法的计算颜色值的流程图;Fig. 4 is the flow chart of calculating the color value of the pathological section staining quality evaluation method of Fig. 1;

图5为图1的病理切片染色质量评价方法的确定染色质量的流程图;Fig. 5 is a flow chart of determining the staining quality of the method for evaluating the staining quality of the pathological section in Fig. 1;

图6为图1的病理切片染色质量评价方法的计算染色颜色差值的流程图;Fig. 6 is the flow chart of calculating the staining color difference of the pathological section staining quality evaluation method of Fig. 1;

图7为另一个实施例中病理切片染色质量评价方法的流程图;Figure 7 is a flow chart of a method for evaluating the quality of staining of pathological sections in another embodiment;

图8为图1的病理切片染色质量评价方法的分析不合格原因的流程图;Fig. 8 is the flow chart of analyzing unqualified reasons of the pathological section staining quality evaluation method of Fig. 1;

图9为一个实施例中病理切片染色质量评价装置的结构框图;Fig. 9 is a structural block diagram of a pathological section staining quality evaluation device in an embodiment;

图10为一个实施例中计算机设备的结构框图。Figure 10 is a block diagram of a computer device in one embodiment.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

如图1所示,在一个实施例中,提出了一种病理切片染色质量评价方法,所述方法包括:As shown in Figure 1, in one embodiment, a method for evaluating the quality of staining of pathological sections is proposed, the method comprising:

S102、将染色的病理切片进行数字化扫描,得到待分析医学图像;S102. Digitally scan the stained pathological section to obtain a medical image to be analyzed;

所述病理切片是指取一定大小的病变组织,用病理组织学方法制成病理切片,用显微镜进一步检查病变。The pathological section refers to taking a lesion tissue of a certain size, making a pathological section with a histopathological method, and further examining the lesion with a microscope.

病理切片的传统染色包括:HE染色、巴士染色、瑞氏吉姆萨染色、胶原纤维染色(Masson等)、网状纤维染色、弹力纤维染色、肌肉组织染色(磷钨酸苏木素)、脂肪染色(苏丹III)、糖原染色(PAS)、粘液染色(PAS)等,病理切片的免疫化学染色包括:免疫组织化学染色(免疫组化)、免疫荧光染色等,在此举例不做具体限定。本申请以应用于免疫组化举例说明,可以理解的是,本申请的方法同样适用病理切片的传统染色和其他免疫化学染色。Traditional staining of pathological sections includes: HE staining, Bus staining, Wright Giemsa staining, collagen fiber staining (Masson, etc.), reticular fiber staining, elastic fiber staining, muscle tissue staining (hematoxylin phosphotungstic acid), fat staining (Sudan III), glycogen staining (PAS), mucus staining (PAS), etc. Immunochemical staining of pathological sections includes: immunohistochemical staining (immunohistochemical staining), immunofluorescent staining, etc., which are not specifically limited here. This application is exemplified by application to immunohistochemistry. It can be understood that the method of this application is also applicable to traditional staining and other immunochemical staining of pathological sections.

所述数字化扫描是指对染色的病理切片进行数字化扫描,得到数字化的初始医学图像。数字化扫描可以采用数码相机或扫描仪等设备实现,在此举例不做具体限定。The digital scanning refers to digital scanning of stained pathological sections to obtain digital initial medical images. Digital scanning can be realized by using equipment such as a digital camera or a scanner, which is not specifically limited here as an example.

其中,可以将所述初始医学图像直接作为待分析医学图像,也可以将所述初始医学图像进行修正处理后得到的图像作为待分析医学图像。Wherein, the initial medical image may be directly used as the medical image to be analyzed, or an image obtained after correcting the initial medical image may be used as the medical image to be analyzed.

S104、对所述待分析医学图像进行特征识别,得到多个染色颜色值;S104. Perform feature recognition on the medical image to be analyzed to obtain a plurality of staining color values;

其中,根据所述待分析医学图像进行细胞结构特征识别,得到细胞核图像、细胞浆图像;根据所述细胞核图像、所述细胞浆图像分别进行颜色值计算,得到多个染色颜色值。Wherein, cell structure feature identification is performed according to the medical image to be analyzed to obtain a cell nucleus image and a cytoplasm image; color value calculation is performed respectively according to the cell nucleus image and the cytoplasm image to obtain a plurality of staining color values.

可以理解的是,多个所述染色颜色值可以同时包括细胞核阴性染色颜色值、细胞浆阴性染色颜色值、细胞核阳性染色颜色值,也可以同时包括细胞核阴性染色颜色值、细胞浆阴性染色颜色值、细胞浆阳性染色颜色值,还可以同时包括细胞核阴性染色颜色值、细胞浆阴性染色颜色值、细胞核阳性染色颜色值、细胞浆阳性染色颜色值。It can be understood that the plurality of staining color values may simultaneously include the negative staining color value of the nucleus, the negative staining color value of the cytoplasm, and the positive staining color value of the nucleus, and may also include the negative staining color value of the nucleus and the negative staining color value of the cytoplasm. . The color value of the positive staining of the cytoplasm may also include the color value of the negative staining of the nucleus, the color value of the negative staining of the cytoplasm, the color value of the positive staining of the nucleus, and the color value of the positive staining of the cytoplasm.

可选的,所述颜色值是指三个红(R)、绿(G)、蓝(B)颜色通道的数值,也叫RGB值,表示为(Rx,Gx,Bx),Rx是红色通道的数值,Gx是绿色通道的数值,Bx是蓝色通道的数值,在此举例不做具体限定。Optionally, the color value refers to the numerical values of three red (R), green (G), and blue (B) color channels, also called RGB values, expressed as (Rx, Gx, Bx), and Rx is the red channel The value of , Gx is the value of the green channel, and Bx is the value of the blue channel, which is not specifically limited in this example.

所述细胞核阴性染色颜色值是指对细胞核阴性着色得到的颜色值。The negative staining color value of the cell nucleus refers to the color value obtained by negatively staining the nucleus.

所述细胞浆阴性染色颜色值是指对细胞浆阴性着色得到的颜色值。The negative staining color value of cytoplasm refers to the color value obtained by negative staining of cytoplasm.

所述细胞核阳性染色颜色值是指对细胞核阳性着色得到的颜色值。The positive staining color value of the cell nucleus refers to the color value obtained by staining the cell nucleus positively.

所述细胞浆阳性染色颜色值是指对细胞浆阳性着色得到的颜色值。The color value of positive staining of cytoplasm refers to the color value obtained by positive staining of cytoplasm.

所述细胞核是指真核细胞内最大、最重要的细胞结构,是细胞遗传与代谢的调控中心,是真核细胞区别于原核细胞最显著的标志之一。The nucleus refers to the largest and most important cell structure in a eukaryotic cell, which is the regulatory center of cytogenetics and metabolism, and is one of the most significant signs that distinguish eukaryotic cells from prokaryotic cells.

所述细胞浆是指细胞质,是细胞质膜包围的除核区外的一切半透明、胶状、颗粒状物质的总称。Said cytoplasm refers to cytoplasm, which is a general term for all translucent, colloidal and granular substances surrounded by the cytoplasmic membrane except the nuclear region.

S106、获取染色标准值,根据多个所述染色颜色值和所述染色标准值确定与所述待分析医学图像对应的病理切片的染色质量。S106. Acquire a staining standard value, and determine the staining quality of the pathological section corresponding to the medical image to be analyzed according to the multiple staining color values and the staining standard value.

可选的,所述染色标准值可以是一个具体的RGB数值,也可以是范围值。Optionally, the dyeing standard value may be a specific RGB value, or a range value.

可选的,将所述染色颜色值、与所述染色颜色值对应的染色标准值进行评分,得到染色颜色值评分,根据所有所述染色颜色值评分进行综合评分,得到病理切片染色综合评分,获取染色综合评分标准值,根据所述染色综合评分标准值、所述病理切片染色综合评分进行比较确定与所述待分析医学图像对应的病理切片的染色质量。Optionally, scoring the staining color value and the staining standard value corresponding to the staining color value to obtain a staining color value score, and performing a comprehensive score according to all the staining color value scores to obtain a pathological section staining comprehensive score, Acquiring a standard value of the comprehensive staining score, and comparing the standard value of the comprehensive staining score with the comprehensive staining score of the pathological section to determine the staining quality of the pathological section corresponding to the medical image to be analyzed.

可选的,当所述染色颜色值在与所述染色颜色值对应的染色标准值的范围内时则染色颜色值评价结果为合格,当所述染色颜色值在与所述染色颜色值对应的染色标准值的范围外时则染色颜色值评价结果为不合格;根据所有所述染色颜色值评价结果进行综合评价,得到与所述待分析医学图像对应的病理切片的染色质量。Optionally, when the dyeing color value is within the range of the dyeing standard value corresponding to the dyeing color value, the evaluation result of the dyeing color value is qualified; when the dyeing color value is within the range corresponding to the dyeing color value If the staining standard value is out of the range, the staining color value evaluation result is unqualified; according to all the staining color value evaluation results, a comprehensive evaluation is performed to obtain the staining quality of the pathological section corresponding to the medical image to be analyzed.

所述根据所有所述染色颜色值评价结果进行综合评价,得到与所述待分析医学图像对应的病理切片的染色质量,包括:当所有所述染色颜色值评价结果全部为合格时则与所述待分析医学图像对应的病理切片的染色质量为合格,当所有所述染色颜色值评价结果部分为不合格时则与所述待分析医学图像对应的病理切片的染色质量为不合格;可以理解的是,还可以由其他综合评价方法,在此举例不做具体限定。The comprehensive evaluation is carried out according to the evaluation results of all the dyeing color values to obtain the dyeing quality of the pathological slices corresponding to the medical image to be analyzed, including: when all the evaluation results of the dyeing color values are all qualified, then compare with the The staining quality of the pathological section corresponding to the medical image to be analyzed is qualified, and when all the dyed color value evaluation results are partially unqualified, the staining quality of the pathological section corresponding to the medical image to be analyzed is unqualified; understandable Yes, other comprehensive evaluation methods can also be used, and this example is not specifically limited.

所述染色标准值是由专家级病理医生评估出的染色质量最佳的病理切片,再根据该病理切片进行数字化扫描后得到的颜色值,是通过多次重复试验得到的一种可以用于评价染色质量的参考标准。The staining standard value is the pathological slice with the best staining quality evaluated by an expert pathologist, and the color value obtained after digital scanning according to the pathological slice is obtained through repeated tests and can be used for evaluation. The reference standard for stain quality.

可以理解的是,所述染色标准值的数量为多个,所述染色标准值与所述染色颜色值一一对应。比如,细胞核阴性染色颜色值对应一个染色标准值,细胞浆阴性染色颜色值对应一个染色标准值,细胞核阳性染色颜色值对应一个染色标准值,细胞浆阳性染色颜色值对应一个染色标准值,在此举例不做具体限定。It can be understood that there are multiple dyeing standard values, and the dyeing standard values are in one-to-one correspondence with the dyeing color values. For example, the negative staining color value of the cell nucleus corresponds to a staining standard value, the negative staining color value of the cytoplasm corresponds to a staining standard value, the positive staining color value of the cell nucleus corresponds to a staining standard value, and the positive staining color value of the cytoplasm corresponds to a staining standard value, here Examples are not specifically limited.

可选的,所述染色标准值包括:与细胞核阴性染色颜色值对应的细胞核阴性染色标准值、与细胞浆阴性染色颜色值对应的细胞浆阴性染色标准值、与细胞核阳性染色颜色值对应的细胞核阳性染色标准值、与细胞浆阳性染色颜色值对应的细胞浆阳性染色标准值。Optionally, the staining standard value includes: a cell nucleus negative staining standard value corresponding to the cell nucleus negative staining color value, a cytoplasm negative staining standard value corresponding to the cytoplasm negative staining color value, a cell nucleus staining value corresponding to the cell nucleus positive staining color value Standard value of positive staining, standard value of positive staining of cytoplasm corresponding to the color value of positive staining of cytoplasm.

可选的,所述一一对应可以指所述染色标准值和与所述染色标准值对应的染色颜色值采用相同的染色方法,也可以指所述染色标准值和与所述染色标准值对应的染色颜色值采用相同器官的组织及相同的染色方法,还可以指所述染色标准值和与所述染色标准值对应的染色颜色值采用相同器官的组织、相同的染色方法及相同病理,在此举例不做具体限定。Optionally, the one-to-one correspondence may mean that the dyeing standard value and the dyeing color value corresponding to the dyeing standard value adopt the same dyeing method, or it may refer to the dyeing standard value and the color value corresponding to the dyeing standard value The staining color value of the same organ tissue and the same staining method can also refer to the staining standard value and the staining color value corresponding to the staining standard value using the same organ tissue, the same staining method and the same pathology, in This example is not specifically limited.

可选的,所述染色的病理切片是指完成所有染色阶段的病理切片,所述染色标准值也是完成所有染色阶段的病理切片对应的染色标准值。Optionally, the stained pathological slices refer to pathological slices that have completed all staining stages, and the staining standard value is also the staining standard value corresponding to the pathological slices that have completed all staining stages.

可选的,染色包括多个染色阶段,所述染色的病理切片其中一个染色阶段染色后的病理切片,则所述染色标准值也是也是该染色阶段染色后的病理切片对应的染色标准值。采用分阶段的染色的病理切片的染色质量评价,能快速定位不合格的染色的病理切片的染色阶段,便于后续及时解决相应的问题。Optionally, the staining includes multiple staining stages, and the stained pathological slices are stained in one of the staining stages, and the staining standard value is also the staining standard value corresponding to the pathological slices stained in the staining stage. The staining quality evaluation of the stained pathological sections by stages can quickly locate the staining stage of the unqualified stained pathological sections, which is convenient for follow-up and timely resolution of corresponding problems.

本实施例的病理切片染色质量评价方法将染色的病理切片进行数字化扫描,得到待分析医学图像,通过人工智能对数字化的待分析医学图像进行分析,避免了病理医生或者病理技术人员的主观性评价,确保了质量评价的一致性;对待分析医学图像进行特征识别,得到多个染色颜色值,获取染色标准值,根据多个染色颜色值和染色标准值确定与待分析医学图像对应的病理切片的染色质量,识别出染色颜色值的方法相同,采用多个染色颜色值与染色标准值来进行评价,评价参数统一,评价标准统一,采用人工智能,从而适合同一实验室内的病理切片染色质量评价,也适合不同实验室间的病理切片染色质量评价。The method for evaluating the staining quality of pathological sections in this embodiment digitally scans the stained pathological sections to obtain medical images to be analyzed, and analyzes the digitalized medical images to be analyzed by artificial intelligence, avoiding the subjective evaluation of pathologists or pathological technicians , to ensure the consistency of quality evaluation; perform feature recognition on the medical image to be analyzed, obtain multiple staining color values, obtain the staining standard value, and determine the pathological section corresponding to the medical image to be analyzed according to the multiple staining color values and staining standard values Staining quality, the method of identifying the staining color value is the same, multiple staining color values and staining standard values are used for evaluation, the evaluation parameters are unified, the evaluation standard is unified, and artificial intelligence is used, so it is suitable for the evaluation of the staining quality of pathological sections in the same laboratory , It is also suitable for the evaluation of the staining quality of pathological sections between different laboratories.

如图2所示,在一个实施例中,所述待分析医学图像进行特征识别,得到多个染色颜色值,包括:As shown in Figure 2, in one embodiment, the medical image to be analyzed is subjected to feature recognition to obtain a plurality of staining color values, including:

S202、根据所述待分析医学图像进行细胞结构特征识别,得到细胞核图像、细胞浆图像;S202. Perform cell structural feature recognition according to the medical image to be analyzed to obtain a cell nucleus image and a cytoplasm image;

其中,可以从现有技术中选择细胞核分割算法、细胞浆分割算法分别对所述待分析医学图像中的细胞结构进行特征识别,得到细胞核图像、细胞浆图像。可以理解的是,还可以采用其他算法对所述待分析医学图像中的细胞结构进行特征识别,在此举例不做具体限定。Wherein, the cell nucleus segmentation algorithm and the cytoplasm segmentation algorithm can be selected from the prior art to perform feature recognition on the cell structure in the medical image to be analyzed respectively, so as to obtain the cell nucleus image and the cytoplasm image. It can be understood that other algorithms can also be used to identify the features of the cell structure in the medical image to be analyzed, which is not specifically limited by taking an example here.

S204、根据所述细胞核图像、所述细胞浆图像分别进行颜色值计算,得到多个染色颜色值,多个所述染色颜色值包括细胞核阴性染色颜色值、细胞浆阴性染色颜色值、细胞核阳性染色颜色值和/或细胞浆阳性染色颜色值。S204. Perform color value calculation according to the nucleus image and the cytoplasm image respectively to obtain a plurality of staining color values, and the plurality of staining color values include the negative staining color value of the nucleus, the negative staining color value of the cytoplasm, and the positive staining value of the nucleus Color value and/or cytoplasmic positive staining color value.

如图3所示,在一个实施例中,所述根据所述待分析医学图像进行细胞结构特征识别,得到细胞核图像、细胞浆图像,包括:As shown in Figure 3, in one embodiment, the cell structure feature recognition is performed according to the medical image to be analyzed to obtain a cell nucleus image and a cytoplasmic image, including:

S302、根据所述待分析医学图像采用细胞核分割算法分割出细胞核,得到细胞核图像;S302. Using a cell nucleus segmentation algorithm to segment cell nuclei according to the medical image to be analyzed to obtain a cell nucleus image;

具体而言,根据所述待分析医学图像采用细胞核分割算法分割出细胞核,得到细胞核图像,所述细胞核图像的数量为多个。所述细胞核分割算法可以从现有技术中选择,在此不做赘述。Specifically, according to the medical image to be analyzed, a cell nucleus is segmented using a cell nucleus segmentation algorithm to obtain a cell nucleus image, and the number of the cell nucleus images is multiple. The cell nucleus segmentation algorithm can be selected from the prior art, which will not be repeated here.

S304、根据所述待分析医学图像采用细胞浆分割算法分割出细胞浆,得到细胞浆图像。S304. Segment cytoplasm according to the medical image to be analyzed using a cytoplasm segmentation algorithm to obtain a cytoplasm image.

具体而言,根据所述待分析医学图像采用细胞浆分割算法分割出细胞浆,得到细胞浆图像,所述细胞浆图像的数量为多个。所述细胞浆分割算法可以从现有技术中选择,在此不做赘述。Specifically, according to the medical image to be analyzed, the cytoplasm is segmented using a cytoplasm segmentation algorithm to obtain a cytoplasm image, and the number of the cytoplasm images is multiple. The cytoplasm segmentation algorithm can be selected from the prior art, which will not be repeated here.

如图4所示,在一个实施例中,在一个实施例中,所述根据所述细胞核图像、所述细胞浆图像分别进行颜色值计算,得到多个染色颜色值,多个所述染色颜色值包括细胞核阴性染色颜色值、细胞浆阴性染色颜色值、细胞核阳性染色颜色值和/或细胞浆阳性染色颜色值,包括:As shown in Figure 4, in one embodiment, in one embodiment, the color value calculation is performed respectively according to the cell nucleus image and the cytoplasm image to obtain a plurality of staining color values, and a plurality of the staining colors Values include nuclear negative staining color values, cytoplasmic negative staining color values, nuclear positive staining color values, and/or cytoplasmic positive staining color values, including:

S402、根据所述细胞核图像的颜色值进行分类,得到细胞核阴性染色图像、细胞核阳性染色图像;S402. Classify according to the color value of the nucleus image to obtain a negative staining image of the nucleus and a positive staining image of the nucleus;

具体而言,将所述细胞核图像的颜色值是阳性着色的分类为细胞核阳性染色图像,将所述细胞核图像的颜色值是阴性着色的分类为细胞核阴性染色图像。比如,在免疫组化中,细胞核阳性着色为黑褐色,细胞核阴性着色为蓝色,在此举例不做具体限定。Specifically, the color value of the cell nucleus image is positively stained and classified as a nucleus positively stained image, and the color value of the cell nucleus image is negatively colored is classified as a cell nucleus negatively stained image. For example, in immunohistochemistry, the positive staining of cell nuclei is dark brown, and the negative staining of cell nuclei is blue, which is not specifically limited in this example.

S404、根据所述细胞浆图像的颜色值进行分类,得到细胞浆阴性染色图像、细胞浆阳性染色图像;S404. Classify according to the color value of the cytoplasmic image, and obtain a cytoplasmic negative staining image and a cytoplasmic positive staining image;

具体而言,将所述细胞浆图像的颜色值是阳性着色的分类为细胞浆阳性染色图像,将所述细胞浆图像的颜色值是阴性着色的分类为细胞浆阴性染色图像。Specifically, the color value of the cytoplasmic image is positively stained and classified as a cytoplasmic positive staining image, and the color value of the cytoplasmic image is negatively colored is classified as a cytoplasmic negative staining image.

S406、根据所述细胞核阴性染色图像、所述细胞核阳性染色图像、所述细胞浆阴性染色图像、所述细胞浆阳性染色图像分别进行颜色值计算,得到细胞核阴性染色颜色值、细胞浆阴性染色颜色值、细胞核阳性染色颜色值、细胞浆阳性染色颜色值。S406. Perform color value calculation according to the negative staining image of the nucleus, the positive staining image of the nucleus, the negative staining image of the cytoplasm, and the positive staining image of the cytoplasm to obtain the negative staining color value of the nucleus and the negative staining color of the cytoplasm value, positive staining color value of nucleus, and positive staining color value of cytoplasm.

具体而言,根据所述细胞核阴性染色图像进行颜色值计算得到细胞核阴性染色颜色值;根据所述细胞核阳性染色图像进行颜色值计算得到细胞核阳性染色颜色值;根据所述细胞浆阴性染色图像进行颜色值计算得到细胞浆阴性染色颜色值;根据所述细胞浆阳性染色图像分别进行颜色值计算得到细胞浆阳性染色颜色值。Specifically, the color value is calculated according to the negative staining image of the cell nucleus to obtain the color value of the negative staining of the nucleus; the color value is calculated according to the positive staining image of the cell nucleus to obtain the color value of the positive staining of the nucleus; the color is calculated according to the negative staining image of the cytoplasm. Calculate the color value of negative cytoplasmic staining; calculate the color value according to the image of positive cytoplasmic staining to obtain the color value of positive cytoplasmic staining.

其中,所述颜色值计算可以计算染色图像中所有像素点的RGB的平均值,也可以提取染色图像中所有像素点的RGB的最大值,还可以提取染色图像中所有像素点的RGB的最小值;可以理解的是,所述颜色值计算还可以采用其他算法,在此举例不做具体限定。Wherein, the color value calculation can calculate the average value of RGB of all pixels in the dyed image, can also extract the maximum value of RGB of all pixels in the dyed image, and can also extract the minimum value of RGB of all pixels in the dyed image ; It can be understood that the calculation of the color value can also use other algorithms, which are not specifically limited here.

可选的,染色颜色值与与所述染色颜色值对应的染色标准值采用相同的颜色值计算方法,从而提高染色质量评价的准确性和一致性。Optionally, the dyeing color value and the dyeing standard value corresponding to the dyeing color value adopt the same color value calculation method, thereby improving the accuracy and consistency of dyeing quality evaluation.

如图5所示,在一个实施例中,所述根据多个所述染色颜色值和所述染色标准值确定与所述待分析医学图像对应的病理切片的染色质量,包括:As shown in Figure 5, in one embodiment, the determination of the staining quality of the pathological section corresponding to the medical image to be analyzed according to the multiple staining color values and the staining standard value includes:

S502、将所述染色颜色值、与所述染色颜色值对应的染色标准值进行评分,得到染色颜色值评分;S502. Scoring the dyeing color value and the dyeing standard value corresponding to the dyeing color value to obtain a dyeing color value score;

其中,当所述染色标准值是一个具体的RGB数值时,则计算所述染色颜色值、与所述染色颜色值对应的染色标准值之前的差值,得到染色颜色差值,根据所述染色颜色差值进行评分,得到染色颜色值评分;当所述染色标准值是范围值时,则当所述染色颜色值在与所述染色颜色值对应的染色标准值的范围值内时则染色颜色值评分为满分,当所述染色颜色值不在与所述染色颜色值对应的染色标准值的范围值内时则按预设评分规则进行计算得到染色颜色值评分。Wherein, when the dyeing standard value is a specific RGB value, the difference between the dyeing color value and the dyeing standard value corresponding to the dyeing color value is calculated to obtain the dyeing color difference, and according to the dyeing Score the color difference to obtain the dyeing color value score; when the dyeing standard value is a range value, then when the dyeing color value is within the range value of the dyeing standard value corresponding to the dyeing color value, the dyeing color Value scoring is a full score, and when the dyeing color value is not within the range of the dyeing standard value corresponding to the dyeing color value, the dyeing color value score is obtained by calculating according to the preset scoring rules.

所述当所述染色颜色值不在与所述染色颜色值对应的染色标准值的范围值内时则根据按预设评分规则计算得到染色颜色值评分,包括:计算所述染色颜色值对应的染色标准值的范围值的范围值起点和终点的平均值,得到染色标准值中心;当所述染色颜色值小于所述染色标准值中心时,则将与所述染色颜色值对应的染色标准值的范围值的范围值起点减去所述染色颜色值,得到偏离差值;当所述染色颜色值大于所述染色标准值中心时,则将所述染色颜色值减去与所述染色颜色值对应的染色标准值的范围值的范围值终点得到偏离差值,根据所述偏离差值计算得到染色颜色值评分。When the dyeing color value is not within the range value of the dyeing standard value corresponding to the dyeing color value, the dyeing color value score is calculated according to the preset scoring rules, including: calculating the dyeing color value corresponding to the dyeing color value The average value of the range value starting point and the end point of the range value of the standard value obtains the dyeing standard value center; when the dyeing color value is less than the dyeing standard value center, then the dyeing standard value corresponding to the dyeing color value Subtract the dyeing color value from the starting point of the range value of the range value to obtain a deviation value; when the dyeing color value is greater than the center of the dyeing standard value, subtract the dyeing color value corresponding to the dyeing color value The end point of the range value of the range value of the dyeing standard value is a deviation difference, and the dyeing color value score is calculated according to the deviation difference.

所述根据所述偏离差值计算得到染色颜色值评分,包括:所述偏离差值乘以预设系数得到偏离分值,将满分减去所述偏离分值得到染色颜色值评分。可以理解的是,还可以采用其他算法计算染色颜色值评分,在此举例不做具体限定。The calculating and obtaining the dyeing color value score according to the deviation difference includes: multiplying the deviation difference by a preset coefficient to obtain a deviation score, and subtracting the deviation score from the full score to obtain a dyeing color value score. It can be understood that other algorithms may also be used to calculate the dyeing color value score, which is not specifically limited by taking an example here.

S504、根据所有所述染色颜色值评分进行综合评分,得到病理切片染色综合评分;S504. Carry out a comprehensive score according to all the staining color value scores, and obtain a comprehensive score for pathological section staining;

其中,可以将所有所述染色颜色值评分进行加权求和,得到病理切片染色综合评分。可以理解的是,所述综合评分还可以采用其他算法,在此举例不做具体限定。Wherein, all the staining color value scores may be weighted and summed to obtain a comprehensive score for staining of the pathological section. It can be understood that other algorithms may also be used for the comprehensive score, which is not specifically limited here as an example.

可选的,所述将所有所述染色颜色值评分进行加权求和时,可以根据病理的对所述染色颜色值设置权重,也可以根据染色方法对所述染色颜色值设置权重,还可以根据病理及染色方法对所述染色颜色值设置权重,在此举例不做具体限定。Optionally, when performing weighted summation of all the scores of the staining color values, weights may be set for the staining color values according to the pathology, weights may be set for the staining color values according to the staining method, or weights may be set for the staining color values according to the pathology. The pathological and staining methods set weights for the staining color values, which are not specifically limited in this example.

S506、获取染色综合评分标准值,根据所述染色综合评分标准值、所述病理切片染色综合评分进行比较确定与所述待分析医学图像对应的病理切片的染色质量。S506. Acquire a standard dyeing comprehensive score, and compare the staining comprehensive score with the pathological slide comprehensive score to determine the staining quality of the pathological slice corresponding to the medical image to be analyzed.

可选的,所述染色综合评分标准值可以是一个具体的RGB数值,也可以是范围值。Optionally, the dyeing comprehensive scoring standard value may be a specific RGB value, or a range value.

其中,当所述染色综合评分标准值是一个具体的RGB数值时,则所述病理切片染色综合评分大于或等于所述染色综合评分标准值时则与所述待分析医学图像对应的病理切片的染色质量为合格,则所述病理切片染色综合评分小于所述染色综合评分标准值时则与所述待分析医学图像对应的病理切片的染色质量为不合格;当所述染色综合评分标准值是范围值时,则所述病理切片染色综合评分在所述染色综合评分标准值的范围值内时则与所述待分析医学图像对应的病理切片的染色质量为合格,所述病理切片染色综合评分在所述染色综合评分标准值的范围值外时则与所述待分析医学图像对应的病理切片的染色质量为不合格。Wherein, when the dyeing comprehensive score standard value is a specific RGB value, then the pathological slice corresponding to the medical image to be analyzed when the dyeing comprehensive score of the pathological section is greater than or equal to the staining comprehensive score standard value is If the staining quality is qualified, then the staining quality of the pathological section corresponding to the medical image to be analyzed is unqualified when the comprehensive staining score of the pathological section is less than the standard value of the comprehensive staining score; when the standard value of the comprehensive staining score is When the comprehensive staining score of the pathological section is within the range value of the standard value of the comprehensive staining score, the staining quality of the pathological section corresponding to the medical image to be analyzed is qualified, and the comprehensive staining score of the pathological section is If the staining comprehensive scoring standard value is out of the range, the staining quality of the pathological section corresponding to the medical image to be analyzed is unqualified.

可选的,每个所述染色综合评分标准值的权重可以根据病理进行设置,也可以根据染色方法进行设置,还可以根据病理及染色方法进行设置,在此举例不做具体限定。Optionally, the weight of each staining comprehensive scoring standard value can be set according to the pathology, the staining method, or the pathology and the staining method, which is not specifically limited in this example.

本实施例通过建立客观性评价体系及指标,提高了病理切片染色质量评价的准确性和客观性,不再需要每次评价都依赖专业的病理医生,减少了评价染色质量的人力成本,而且也可以避免不同病理医生的主观性影响评价的准确性,也便于同一实验室内以及不同实验室之间采用统一的评价体系,确保了质量评价的一致性。In this embodiment, by establishing an objective evaluation system and indicators, the accuracy and objectivity of the evaluation of the staining quality of pathological sections are improved, and it is no longer necessary to rely on professional pathologists for each evaluation, reducing the labor cost of evaluating the staining quality, and also It can avoid the subjectivity of different pathologists from affecting the accuracy of the evaluation, and it is also convenient to adopt a unified evaluation system in the same laboratory and between different laboratories, ensuring the consistency of quality evaluation.

在一个实施例中,所述将所述染色颜色值、与所述染色颜色值对应的染色标准值进行评分,得到染色颜色值评分,包括:计算所述染色颜色值、与所述染色颜色值对应的染色标准值之前的差值,得到染色颜色差值;根据所述染色颜色差值进行评分,得到染色颜色值评分。In one embodiment, the scoring of the dyeing color value and the dyeing standard value corresponding to the dyeing color value to obtain the dyeing color value score includes: calculating the dyeing color value, and the dyeing color value The difference before the corresponding dyeing standard value is obtained to obtain the dyeing color difference; scoring is performed according to the dyeing color difference to obtain the dyeing color value score.

如图6所示,在一个实施例中,所述染色颜色值包括三个通道的通道数值,所述染色标准值包括三个通道的通道标准值;As shown in Figure 6, in one embodiment, the dyed color value includes channel values of three channels, and the dyed standard value includes channel standard values of three channels;

所述计算所述染色颜色值、与所述染色颜色值对应的染色标准值之前的差值,得到染色颜色差值,包括:The calculation of the difference between the dyeing color value and the dyeing standard value corresponding to the dyeing color value to obtain the dyeing color difference includes:

S602、分别计算每个通道的通道数值与通道数值对应的通道标准值之间的通道差值;S602. Calculate the channel difference between the channel value of each channel and the channel standard value corresponding to the channel value;

比如,所述颜色值采用RGB时,将所述染色颜色值的R通道的通道数值减去与所述染色颜色值对应的染色标准值的R通道的通道数值得到R通道差值,将所述染色颜色值的G通道的通道数值减去与所述染色颜色值对应的染色标准值的G通道的通道数值得到G通道差值,将所述染色颜色值的B通道的通道数值减去与所述染色颜色值对应的染色标准值的B通道的通道数值得到B通道差值,在此举例不做具体限定。For example, when the color value adopts RGB, the channel value of the R channel of the dyed color value is subtracted from the channel value of the R channel of the dyed standard value corresponding to the dyed color value to obtain the R channel difference, and the The channel value of the G channel of the dyeing color value is subtracted from the channel value of the G channel of the dyeing standard value corresponding to the dyeing color value to obtain the G channel difference, and the channel value of the B channel of the dyeing color value is subtracted from the value The difference value of the B channel is obtained from the channel value of the B channel of the dyeing standard value corresponding to the dyeing color value, which is not specifically limited in this example.

S604、根据通道差值进行绝对值计算,得到通道颜色差值;S604. Perform absolute value calculation according to the channel difference to obtain the channel color difference;

比如,所述颜色值采用RGB时,计算R通道差值的绝对值得到R通道颜色差值,计算G通道差值的绝对值得到G通道颜色差值,计算B通道差值的绝对值得到B通道颜色差值,将R通道颜色差值、G通道颜色差值、B通道颜色差值作为通道颜色差值。For example, when RGB is used as the color value, the absolute value of the R channel difference is calculated to obtain the R channel color difference, the absolute value of the G channel difference is calculated to obtain the G channel color difference, and the absolute value of the B channel difference is calculated to obtain the B color difference. Channel color difference value, the R channel color difference value, G channel color difference value, and B channel color difference value are used as the channel color difference value.

S606、根据三个所述通道颜色差值进行加权求和计算,得到染色颜色差值。S606. Perform weighted summation calculation according to the color difference values of the three channels to obtain the dyed color difference value.

比如,所述颜色值采用RGB时,将R通道颜色差值、G通道颜色差值、B通道颜色差值进行加权求和计算,得到染色颜色差值。For example, when RGB is used as the color value, the color difference value of the R channel, the color difference value of the G channel, and the color difference value of the B channel are weighted and summed to obtain the dyeing color difference value.

可选的,每个所述通道颜色差值的权重可以根据病理进行设置,也可以根据染色方法进行设置,还可以根据病理及染色方法进行设置,在此举例不做具体限定。Optionally, the weight of the color difference value of each channel can be set according to pathology, or according to the coloring method, and can also be set according to pathology and coloring method, which is not specifically limited in this example.

在一个实施例中,所述根据所述染色颜色差值进行评分,得到染色颜色值评分,包括:将所述染色颜色差值除以预设数值得到染色颜色值评分。可以理解的是,还可以选择其他算法,比如,将所述染色颜色差值直接作为染色颜色值评分,或将所述染色颜色差值除以255得到差值指数且将1减去所述差值指数得到染色颜色值评分,在此举例不做具体限定。In one embodiment, the scoring according to the dyeing color difference to obtain the dyeing color value score includes: dividing the dyeing color difference by a preset value to obtain the dyeing color value score. It can be understood that other algorithms can also be selected, for example, the dyeing color difference is directly used as the dyeing color value score, or the dyeing color difference is divided by 255 to obtain a difference index and 1 is subtracted from the difference The value index is used to obtain the dyeing color value score, which is not specifically limited in this example.

如图7所示,在一个实施例中,还提出了一种病理切片染色质量评价方法,所述方法包括:As shown in Figure 7, in one embodiment, a method for evaluating the quality of staining of pathological sections is also proposed, the method comprising:

S702、将染色的病理切片进行数字化扫描,得到初始医学图像;S702. Digitally scan the stained pathological section to obtain an initial medical image;

具体而言,对染色的病理切片进行数字化扫描,得到数字化的初始医学图像。Specifically, digital scanning is performed on the stained pathological sections to obtain digital initial medical images.

S704、将所述初始医学图像进行二值化处理,得到二值化医学图像;S704. Perform binarization processing on the initial medical image to obtain a binarized medical image;

具体而言,将所述初始医学图像采用图像二值化算法,得到二值化医学图像。Specifically, an image binarization algorithm is used on the initial medical image to obtain a binarized medical image.

图像二值化(Image Binarization)就是将图像上的像素点的灰度值设置为0或255,也就是将整个图像呈现出明显的黑白效果的过程。Image binarization is the process of setting the grayscale value of pixels on the image to 0 or 255, that is, the process of presenting an obvious black and white effect to the entire image.

S706、从所述二值化医学图像获取数值最低的颜色值,得到二值化最低颜色值;S706. Obtain the lowest color value from the binarized medical image to obtain the lowest binarized color value;

S708、根据所述二值化最低颜色值确定与所述二值化最低颜色值对应的初始医学图像的最低颜色值;S708. Determine the lowest color value of the initial medical image corresponding to the binarized lowest color value according to the binarized lowest color value;

具体而言,根据所述二值化最低颜色值确定对应的像素点的位置,将位置的像素点未二值化以前的颜色值作为与所述二值化最低颜色值对应的初始医学图像的最低颜色值。Specifically, the position of the corresponding pixel point is determined according to the binarized lowest color value, and the color value of the pixel point at the position before binarization is used as the initial medical image corresponding to the binarized lowest color value Minimum color value.

S710、根据与所述二值化最低颜色值对应的初始医学图像的最低颜色值对所述初始医学图像进行修正处理,得到所述待分析医学图像;S710. Perform correction processing on the initial medical image according to the lowest color value of the initial medical image corresponding to the binarized lowest color value, to obtain the medical image to be analyzed;

可选的,根据白色的颜色值、与所述二值化最低颜色值对应的初始医学图像的最低颜色值进行计算修正颜色值;根据所述初始医学图像、所述修正颜色值得到所述待分析医学图像。Optionally, calculate the corrected color value according to the color value of white and the minimum color value of the initial medical image corresponding to the binarized minimum color value; Analyze medical images.

比如,所述颜色值采用RGB时,用255减去与所述二值化最低颜色值对应的初始医学图像的最低颜色值的R通道的通道数值得到R通道的修正颜色值,用255减去与所述二值化最低颜色值对应的初始医学图像的最低颜色值的G通道的通道数值得到G通道的修正颜色值,用255减去与所述二值化最低颜色值对应的初始医学图像的最低颜色值的B通道的通道数值得到B通道的修正颜色值;将所述初始医学图像的所有像素点的R通道的通道数值减去R通道的修正颜色值,将所述初始医学图像的所有像素点的G通道的通道数值减去G通道的修正颜色值,将所述初始医学图像的所有像素点的B通道的通道数值减去B通道的修正颜色值,完成相减后的初始医学图像作为所述待分析医学图像,在此举例不做具体限定。For example, when RGB is used as the color value, the channel value of the R channel of the lowest color value of the initial medical image corresponding to the binarized lowest color value is subtracted by 255 to obtain the corrected color value of the R channel, and subtracted by 255 The channel value of the G channel of the lowest color value of the initial medical image corresponding to the binarized lowest color value is obtained to obtain the corrected color value of the G channel, and the initial medical image corresponding to the binarized lowest color value is subtracted from 255 The channel value of the B channel of the lowest color value of the B channel is obtained to obtain the corrected color value of the B channel; the channel value of the R channel of all pixels of the initial medical image is subtracted from the corrected color value of the R channel, and the value of the initial medical image is The channel value of the G channel of all pixels minus the corrected color value of the G channel, the channel value of the B channel of all pixels of the initial medical image minus the corrected color value of the B channel, and the initial medical image after the subtraction is completed The image is used as the medical image to be analyzed, which is an example and is not specifically limited here.

与所述二值化最低颜色值对应的初始医学图像的最低颜色值是指背景色,背景色正常情况下为白色,白色的RGB颜色值为(255,255,255),当数字化扫描时光照不同,背景色就会变成其他颜色。The minimum color value of the initial medical image corresponding to the minimum color value of binarization refers to the background color, which is white under normal circumstances, and the RGB color value of white is (255,255,255). will change to another color.

S712、对所述待分析医学图像进行特征识别,得到多个染色颜色值;S712. Perform feature recognition on the medical image to be analyzed to obtain a plurality of staining color values;

S714、获取染色标准值,根据多个所述染色颜色值和所述染色标准值确定与所述待分析医学图像对应的病理切片的染色质量。S714. Acquire a staining standard value, and determine the staining quality of the pathological section corresponding to the medical image to be analyzed according to the plurality of staining color values and the staining standard value.

本实施例通过对所述初始医学图像进行修正处理得到所述待分析医学图像,再对所述待分析医学图像进行染色质量评价,避免了数字化扫描时光照引发的色差,从而进一步提高了病理切片染色质量评价的准确性。In this embodiment, the medical image to be analyzed is obtained by correcting the initial medical image, and then the dyeing quality evaluation is performed on the medical image to be analyzed, so as to avoid the chromatic aberration caused by light during digital scanning, thereby further improving the quality of pathological sections. Accuracy of staining quality assessment.

在一个实施例中,在所述根据多个所述染色颜色值和所述染色标准值确定与所述待分析医学图像对应的病理切片的染色质量之后,还包括:获取测评信息表,所述测评信息表包括与染色的病理切片对应的实验室标识、染色员标识、染色过程数据;将所述测评信息表、所述待分析医学图像、多个所述染色颜色值、所述染色标准值、与所述待分析医学图像对应的病理切片的染色质量更新到病理切片染色数据库。具体而言,获取用户输入的测评信息表,然后将与染色的病理切片对应的所述测评信息表、所述待分析医学图像、多个所述染色颜色值、所述染色标准值及与所述待分析医学图像对应的病理切片的染色质量添加到所述病理切片染色数据库中。In one embodiment, after the determination of the staining quality of the pathological section corresponding to the medical image to be analyzed according to the plurality of staining color values and the staining standard value, further includes: obtaining an evaluation information table, the The evaluation information table includes the laboratory identification corresponding to the stained pathological section, the dyer identification, and the dyeing process data; the evaluation information table, the medical image to be analyzed, a plurality of the dyeing color values, and the dyeing standard value . The staining quality of the pathological slice corresponding to the medical image to be analyzed is updated to the pathological slice staining database. Specifically, the evaluation information table input by the user is acquired, and then the evaluation information table corresponding to the stained pathological section, the medical image to be analyzed, a plurality of the staining color values, the staining standard value and the The staining quality of the pathological section corresponding to the medical image to be analyzed is added to the pathological section staining database.

所述用户可以是病理切片染色人员,在此举例不做具体限定。The user may be a person who stains a pathological section, which is not specifically limited here as an example.

所述染色过程数据包括添加试剂数据、添加抗体数据、培育条件,所述添加试剂数据包括试剂名称、时间、计量,所述添加抗体数据包括抗体名称、时间、计量,在此举例不做具体限定。The dyeing process data includes reagent addition data, antibody addition data, and incubation conditions. The reagent addition data includes reagent name, time, and measurement. The antibody addition data includes antibody name, time, and measurement. For example, no specific limitation is made here. .

所述染色员标识用于唯一标识一个染色技术员,可以是名称、ID等,在此不做具体限定。The dyer's identifier is used to uniquely identify a dyeing technician, which may be a name, ID, etc., and is not specifically limited here.

如图8所示,在一个实施例中,所述方法还包括:As shown in Figure 8, in one embodiment, the method also includes:

S802、获取所述实验室标识;S802. Obtain the laboratory identification;

所述实验室标识用于唯一标识一个实验室,可以是实验室名称,也可以是实验室ID号,在此不做具体限定。The laboratory identifier is used to uniquely identify a laboratory, and may be a laboratory name or a laboratory ID number, which is not specifically limited here.

S804、根据所述实验室标识从病理切片染色数据库中获取病理切片的染色质量不合格对应的所述测评信息表、所述待分析医学图像、多个所述染色颜色值及所述染色标准值;S804. Obtain the evaluation information table corresponding to the unqualified staining quality of pathological slices, the medical image to be analyzed, multiple staining color values, and the staining standard value from the pathological slice staining database according to the laboratory identification. ;

S806、根据所述测评信息表、所述待分析医学图像、多个所述染色颜色值及所述染色标准值进行不合格原因分析,得到不合格原因数据。S806. Perform unqualified cause analysis according to the evaluation information table, the medical image to be analyzed, multiple dyed color values, and the dyed standard value, to obtain unqualified cause data.

所述不合格原因分析包括试剂添加计量、试剂添加时间、试剂添加顺序、抗体添加计量、抗体添加时间、抗体添加顺序,在此举例不做具体限定。The failure cause analysis includes reagent addition metering, reagent addition time, reagent addition order, antibody addition metering, antibody addition time, and antibody addition order, which are not specifically limited by examples.

在一个实施例中,在所述根据所述测评信息表、所述待分析医学图像、多个所述染色颜色值及所述染色标准值进行不合格原因分析,得到不合格原因数据之后,还包括:获取改进建议列表;根据所述不合格原因数据从所述改进建议列表获取改进建议,得到实验室改进建议列表。具体而言,将所述不合格原因数据从所述改进建议列表中进行检索查找,匹配得到实验室改进建议列表。In one embodiment, after the unqualified cause analysis is performed according to the evaluation information table, the medical image to be analyzed, a plurality of the dyed color values and the dyed standard value, and the unqualified cause data is obtained, further The method includes: obtaining a list of improvement suggestions; obtaining improvement suggestions from the list of improvement suggestions according to the unqualified cause data, and obtaining a list of laboratory improvement suggestions. Specifically, the unqualified cause data is retrieved from the list of improvement suggestions, and matched to obtain a list of laboratory improvement suggestions.

所述改进建议列表是专家级病理医生从多个染色的病理切片中综合评估后建立的改建建立库。The list of improvement suggestions is a rebuilt library established by expert pathologists after comprehensive evaluation from multiple stained pathological sections.

本实施例通过数据分析得到实验室改进建议列表,有利于实验室根据所述实验室改进建议列表改进实验室的操作规范、检验规范、培训体系。In this embodiment, the laboratory improvement suggestion list is obtained through data analysis, which is beneficial for the laboratory to improve the operation specification, inspection specification, and training system of the laboratory according to the laboratory improvement suggestion list.

如图9所示,在一个实施例中,还提出了一种病理切片染色质量评价装置,所述装置包括:As shown in Figure 9, in one embodiment, a device for evaluating the quality of staining of pathological sections is also proposed, the device comprising:

扫描模块902,用于将染色的病理切片进行数字化扫描,得到待分析医学图像;A scanning module 902, configured to digitally scan the stained pathological sections to obtain medical images to be analyzed;

染色颜色值提取模块904,用于对所述待分析医学图像进行特征识别,得到多个染色颜色值;A staining color value extraction module 904, configured to perform feature recognition on the medical image to be analyzed to obtain a plurality of staining color values;

染色质量确定模块906,用于获取染色标准值,根据多个所述染色颜色值和所述染色标准值确定与所述待分析医学图像对应的病理切片的染色质量。The staining quality determining module 906 is configured to acquire a staining standard value, and determine the staining quality of the pathological section corresponding to the medical image to be analyzed according to the multiple staining color values and the staining standard value.

本实施例的病理切片染色质量评价装置将染色的病理切片进行数字化扫描,得到待分析医学图像,通过人工智能对数字化的待分析医学图像进行分析,避免了病理医生或者病理技术人员的主观性评价,确保了质量评价的一致性;对待分析医学图像进行特征识别,得到多个染色颜色值,获取染色标准值,根据多个染色颜色值和染色标准值确定与待分析医学图像对应的病理切片的染色质量,识别出染色颜色值的方法相同,采用多个染色颜色值与染色标准值来进行评价,评价参数统一,评价标准统一,采用人工智能,从而适合同一实验室内的病理切片染色质量评价,也适合不同实验室间的病理切片染色质量评价。The apparatus for evaluating the quality of staining of pathological sections in this embodiment digitally scans the stained pathological sections to obtain medical images to be analyzed, and uses artificial intelligence to analyze the digitalized medical images to be analyzed, avoiding the subjective evaluation of pathologists or pathological technicians , to ensure the consistency of quality evaluation; perform feature recognition on the medical image to be analyzed, obtain multiple staining color values, obtain the staining standard value, and determine the pathological section corresponding to the medical image to be analyzed according to the multiple staining color values and staining standard values Staining quality, the method of identifying the staining color value is the same, multiple staining color values and staining standard values are used for evaluation, the evaluation parameters are unified, the evaluation standard is unified, and artificial intelligence is used, so it is suitable for the evaluation of the staining quality of pathological sections in the same laboratory , It is also suitable for the evaluation of the staining quality of pathological sections between different laboratories.

在一个实施例中,所述扫描模块902包括数字化扫描子模块、颜色修正子模块;In one embodiment, the scanning module 902 includes a digitized scanning submodule and a color correction submodule;

所述数字化扫描子模块用于将染色的病理切片进行数字化扫描,得到初始医学图像;The digital scanning sub-module is used to digitally scan the stained pathological section to obtain an initial medical image;

所述颜色修正子模块用于将所述初始医学图像进行二值化处理,得到二值化医学图像,从所述二值化医学图像获取数值最低的颜色值,得到二值化最低颜色值,根据所述二值化最低颜色值确定与所述二值化最低颜色值对应的初始医学图像的最低颜色值,根据与所述二值化最低颜色值对应的初始医学图像的最低颜色值对所述初始医学图像进行修正处理,得到所述待分析医学图像。The color correction sub-module is used to perform binarization processing on the initial medical image to obtain a binarized medical image, obtain the lowest color value from the binarized medical image, and obtain the lowest binarized color value, Determine the lowest color value of the initial medical image corresponding to the binarized lowest color value according to the binarized lowest color value; Correction processing is performed on the initial medical image to obtain the medical image to be analyzed.

在一个实施例中,所述装置还包括:In one embodiment, the device also includes:

数据更新模块,用于获取测评信息表,所述测评信息表包括与染色的病理切片对应的实验室标识、染色员标识、染色过程数据,将所述测评信息表、所述待分析医学图像、多个所述染色颜色值、所述染色标准值、与所述待分析医学图像对应的病理切片的染色质量更新到病理切片染色数据库。The data update module is used to obtain the evaluation information table, the evaluation information table includes the laboratory identification corresponding to the stained pathological section, the dyer identification, and the dyeing process data, and the evaluation information table, the medical image to be analyzed, A plurality of the staining color values, the staining standard value, and the staining quality of the pathological slice corresponding to the medical image to be analyzed are updated to the pathological slice staining database.

在一个实施例中,所述装置还包括:In one embodiment, the device also includes:

实验室质量控制模块,用于获取所述实验室标识,根据所述实验室标识从病理切片染色数据库中获取病理切片的染色质量不合格对应的所述测评信息表、所述待分析医学图像、多个所述染色颜色值及所述染色标准值,根据所述测评信息表、所述待分析医学图像、多个所述染色颜色值及所述染色标准值进行不合格原因分析,得到不合格原因数据。The laboratory quality control module is used to obtain the laboratory identification, and obtain the evaluation information table corresponding to the unqualified staining quality of the pathological section, the medical image to be analyzed, A plurality of the dyeing color values and the dyeing standard values are analyzed according to the evaluation information table, the medical image to be analyzed, a plurality of the dyeing color values and the dyeing standard values, and the unqualified cause data.

图10示出了一个实施例中计算机设备的内部结构图。该计算机设备具体可以是终端,也可以是服务器。如图10所示,该计算机设备包括通过系统总线连接的处理器、存储器和网络接口。其中,存储器包括非易失性存储介质和内存储器。该计算机设备的非易失性存储介质存储有操作系统,还可存储有计算机程序,该计算机程序被处理器执行时,可使得处理器实现病理切片染色质量评价方法。该内存储器中也可储存有计算机程序,该计算机程序被处理器执行时,可使得处理器执行病理切片染色质量评价方法。本领域技术人员可以理解,图10中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Figure 10 shows a diagram of the internal structure of a computer device in one embodiment. Specifically, the computer device may be a terminal or a server. As shown in FIG. 10, the computer device includes a processor, a memory, and a network interface connected through a system bus. Wherein, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and also stores a computer program. When the computer program is executed by the processor, the processor can realize the method for evaluating the staining quality of the pathological section. A computer program may also be stored in the internal memory, and when the computer program is executed by the processor, the processor may execute the method for evaluating the staining quality of the pathological section. Those skilled in the art can understand that the structure shown in Figure 10 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation to the computer equipment on which the solution of this application is applied. The specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.

在一个实施例中,本申请提供的一种病理切片染色质量评价方法可以实现为一种计算机程序的形式,计算机程序可在如图10所示的计算机设备上运行。计算机设备的存储器中可存储组成的一种病理切片染色质量评价装置的各个程序模板。比如,扫描模块902、染色颜色值提取模块904、染色质量确定模块906。In one embodiment, a method for evaluating the staining quality of a pathological section provided in the present application can be implemented in the form of a computer program, and the computer program can be run on a computer device as shown in FIG. 10 . The memory of the computer equipment can store various program templates of a pathological slide dyeing quality evaluation device. For example, scanning module 902 , dyeing color value extraction module 904 , dyeing quality determination module 906 .

在一个实施例中,本发明还提出了一种存储介质,存储有计算机指令程序,所述计算机指令程序被处理器执行时,使得所述处理器执行时实现如下方法步骤:In one embodiment, the present invention also provides a storage medium, which stores a computer instruction program, and when the computer instruction program is executed by a processor, the processor implements the following method steps when executed:

将染色的病理切片进行数字化扫描,得到待分析医学图像;Digitally scan the stained pathological sections to obtain medical images to be analyzed;

对所述待分析医学图像进行特征识别,得到多个染色颜色值;performing feature recognition on the medical image to be analyzed to obtain a plurality of staining color values;

获取染色标准值,根据多个所述染色颜色值和所述染色标准值确定与所述待分析医学图像对应的病理切片的染色质量。A staining standard value is acquired, and the staining quality of the pathological section corresponding to the medical image to be analyzed is determined according to the multiple staining color values and the staining standard value.

本实施例的方法步骤将染色的病理切片进行数字化扫描,得到待分析医学图像,通过人工智能对数字化的待分析医学图像进行分析,避免了病理医生或者病理技术人员的主观性评价,确保了质量评价的一致性;对待分析医学图像进行特征识别,得到多个染色颜色值,获取染色标准值,根据多个染色颜色值和染色标准值确定与待分析医学图像对应的病理切片的染色质量,识别出染色颜色值的方法相同,采用多个染色颜色值与染色标准值来进行评价,评价参数统一,评价标准统一,采用人工智能,从而适合同一实验室内的病理切片染色质量评价,也适合不同实验室间的病理切片染色质量评价。In the method steps of this embodiment, the stained pathological sections are digitally scanned to obtain medical images to be analyzed, and the digitalized medical images to be analyzed are analyzed by artificial intelligence, which avoids the subjective evaluation of pathologists or pathological technicians, and ensures the quality Consistency of evaluation; perform feature recognition on the medical image to be analyzed, obtain multiple staining color values, obtain staining standard values, determine the staining quality of the pathological section corresponding to the medical image to be analyzed according to the multiple staining color values and staining standard values, and identify The method of obtaining the staining color value is the same, and multiple staining color values and staining standard values are used for evaluation, the evaluation parameters are unified, the evaluation standard is unified, and artificial intelligence is used, so it is suitable for the evaluation of the staining quality of pathological sections in the same laboratory, and is also suitable for different Interlaboratory evaluation of staining quality of pathological slides.

在一个实施例中,所述待分析医学图像进行特征识别,得到多个染色颜色值,包括:根据所述待分析医学图像进行细胞结构特征识别,得到细胞核图像、细胞浆图像;根据所述细胞核图像、所述细胞浆图像分别进行颜色值计算,得到多个染色颜色值,多个所述染色颜色值包括细胞核阴性染色颜色值、细胞浆阴性染色颜色值、细胞核阳性染色颜色值和/或细胞浆阳性染色颜色值。In one embodiment, performing feature recognition on the medical image to be analyzed to obtain multiple staining color values includes: performing cell structure feature recognition according to the medical image to be analyzed to obtain a nucleus image and a cytoplasmic image; according to the cell nucleus The image and the cytoplasmic image are respectively subjected to color value calculation to obtain a plurality of staining color values, and the plurality of staining color values include the negative staining color value of the cell nucleus, the negative staining color value of the cytoplasm, the positive staining color value of the cell nucleus and/or the color value of the cell nucleus. Plasma positive staining color value.

在一个实施例中,所述根据所述待分析医学图像进行细胞结构特征识别,得到细胞核图像、细胞浆图像,包括:根据所述待分析医学图像采用细胞核分割算法分割出细胞核,得到细胞核图像;根据所述待分析医学图像采用细胞浆分割算法分割出细胞浆,得到细胞浆图像。In one embodiment, the identification of cell structure features based on the medical image to be analyzed to obtain a nucleus image and a cytoplasmic image includes: segmenting a cell nucleus using a nucleus segmentation algorithm based on the medical image to be analyzed to obtain a cell nucleus image; According to the medical image to be analyzed, a cytoplasmic segmentation algorithm is used to segment the cytoplasm to obtain a cytoplasmic image.

在一个实施例中,所述根据所述细胞核图像、所述细胞浆图像分别进行颜色值计算,得到多个染色颜色值,多个所述染色颜色值包括细胞核阴性染色颜色值、细胞浆阴性染色颜色值、细胞核阳性染色颜色值和/或细胞浆阳性染色颜色值,包括:根据所述细胞核图像的颜色值进行分类,得到细胞核阴性染色图像、细胞核阳性染色图像;根据所述细胞浆图像的颜色值进行分类,得到细胞浆阴性染色图像、细胞浆阳性染色图像;根据所述细胞核阴性染色图像、所述细胞核阳性染色图像、所述细胞浆阴性染色图像、所述细胞浆阳性染色图像分别进行颜色值计算,得到细胞核阴性染色颜色值、细胞浆阴性染色颜色值、细胞核阳性染色颜色值、细胞浆阳性染色颜色值。In one embodiment, the color value calculation is performed respectively according to the nucleus image and the cytoplasm image to obtain a plurality of staining color values, and the plurality of staining color values include the negative staining color value of the nucleus and the negative staining value of the cytoplasm. The color value, the positive staining color value of the nucleus and/or the positive staining color value of the cytoplasm include: classifying according to the color value of the nucleus image to obtain the negative staining image of the nucleus and the positive staining image of the nucleus; according to the color of the cytoplasmic image Values are classified to obtain cytoplasm negative staining images and cytoplasm positive staining images; according to the negative staining image of the nucleus, the positive staining image of the nucleus, the negative staining image of the cytoplasm, and the positive staining image of the cytoplasm respectively, color Calculate the color value of the negative staining of the nucleus, the negative staining color value of the cytoplasm, the positive staining color value of the nucleus, and the positive staining color value of the cytoplasm.

在一个实施例中,所述染色标准值包括:细胞核阴性染色标准值、细胞浆阴性染色标准值、细胞核阳性染色标准值、细胞浆阳性染色标准值。In one embodiment, the staining standard value includes: a negative staining standard value for the nucleus, a negative staining value for the cytoplasm, a positive staining value for the nucleus, and a positive staining value for the cytoplasm.

在一个实施例中,所述根据多个所述染色颜色值和所述染色标准值确定与所述待分析医学图像对应的病理切片的染色质量,包括:将所述染色颜色值、与所述染色颜色值对应的染色标准值进行评分,得到染色颜色值评分;根据所有所述染色颜色值评分进行综合评分,得到病理切片染色综合评分;获取染色综合评分标准值,根据所述染色综合评分标准值、所述病理切片染色综合评分进行比较确定与所述待分析医学图像对应的病理切片的染色质量。In one embodiment, the determining the staining quality of the pathological section corresponding to the medical image to be analyzed according to the plurality of staining color values and the staining standard value includes: combining the staining color value, the Scoring the staining standard value corresponding to the staining color value to obtain a staining color value score; performing a comprehensive score according to all the staining color value scores to obtain a comprehensive staining score for pathological sections; obtaining a staining comprehensive scoring standard value, according to the staining comprehensive scoring standard value and the pathological section staining comprehensive score to determine the staining quality of the pathological section corresponding to the medical image to be analyzed.

在一个实施例中,所述将所述染色颜色值、与所述染色颜色值对应的染色标准值进行评分,得到染色颜色值评分,包括:计算所述染色颜色值、与所述染色颜色值对应的染色标准值之前的差值,得到染色颜色差值;根据所述染色颜色差值进行评分,得到染色颜色值评分。In one embodiment, the scoring of the dyeing color value and the dyeing standard value corresponding to the dyeing color value to obtain the dyeing color value score includes: calculating the dyeing color value, and the dyeing color value The difference before the corresponding dyeing standard value is obtained to obtain the dyeing color difference; scoring is performed according to the dyeing color difference to obtain the dyeing color value score.

在一个实施例中,所述染色颜色值包括三个通道的通道数值,所述染色标准值包括三个通道的通道标准值;所述计算所述染色颜色值、与所述染色颜色值对应的染色标准值之前的差值,得到染色颜色差值,包括:分别计算每个通道的通道数值与通道数值对应的通道标准值之间的通道差值;根据通道差值进行绝对值计算,得到通道颜色差值;根据三个所述通道颜色差值进行加权求和计算,得到染色颜色差值。In one embodiment, the dyeing color value includes channel values of three channels, and the dyeing standard value includes channel standard values of three channels; The difference before the dyeing standard value is obtained to obtain the dyeing color difference, including: separately calculating the channel difference between the channel value of each channel and the channel standard value corresponding to the channel value; performing absolute value calculation according to the channel difference to obtain the channel Color difference: performing weighted summation calculation according to the color difference of the three channels to obtain the dyeing color difference.

在一个实施例中,所述根据所述染色颜色差值进行评分,得到染色颜色值评分,包括:将所述染色颜色差值除以预设数值得到染色颜色值评分。In one embodiment, the scoring according to the dyeing color difference to obtain the dyeing color value score includes: dividing the dyeing color difference by a preset value to obtain the dyeing color value score.

在一个实施例中,所述将染色的病理切片进行数字化扫描,得到待分析医学图像,包括:将染色的病理切片进行数字化扫描,得到初始医学图像;将所述初始医学图像进行二值化处理,得到二值化医学图像;从所述二值化医学图像获取数值最低的颜色值,得到二值化最低颜色值;根据所述二值化最低颜色值确定与所述二值化最低颜色值对应的初始医学图像的最低颜色值;根据与所述二值化最低颜色值对应的初始医学图像的最低颜色值对所述初始医学图像进行修正处理,得到所述待分析医学图像。In one embodiment, the digital scanning of the stained pathological section to obtain the medical image to be analyzed includes: digitally scanning the stained pathological section to obtain an initial medical image; performing binarization processing on the initial medical image , to obtain a binarized medical image; obtain the lowest color value from the binarized medical image to obtain the lowest binarized color value; The corresponding lowest color value of the initial medical image; correcting the initial medical image according to the lowest color value of the initial medical image corresponding to the binarized lowest color value to obtain the medical image to be analyzed.

在一个实施例中,所述根据与所述二值化最低颜色值对应的初始医学图像的最低颜色值对所述初始医学图像进行修正处理,得到所述待分析医学图像,包括:In one embodiment, the correcting the initial medical image according to the lowest color value of the initial medical image corresponding to the lowest binarized color value to obtain the medical image to be analyzed includes:

根据白色的颜色值、与所述二值化最低颜色值对应的初始医学图像的最低颜色值进行计算修正颜色值;根据所述初始医学图像、所述修正颜色值得到所述待分析医学图像。calculating a corrected color value according to the white color value and the minimum color value of the initial medical image corresponding to the binarized minimum color value; obtaining the medical image to be analyzed according to the initial medical image and the corrected color value.

在一个实施例中,在所述根据多个所述染色颜色值和所述染色标准值确定与所述待分析医学图像对应的病理切片的染色质量之后,还包括:获取测评信息表,所述测评信息表包括与染色的病理切片对应的实验室标识、染色员标识、染色过程数据;将所述测评信息表、所述待分析医学图像、多个所述染色颜色值、所述染色标准值、与所述待分析医学图像对应的病理切片的染色质量更新到病理切片染色数据库。In one embodiment, after the determination of the staining quality of the pathological section corresponding to the medical image to be analyzed according to the plurality of staining color values and the staining standard values, further includes: obtaining an evaluation information table, the The evaluation information table includes the laboratory identification corresponding to the stained pathological section, the dyer identification, and the dyeing process data; the evaluation information table, the medical image to be analyzed, a plurality of the staining color values, and the staining standard value . The staining quality of the pathological slice corresponding to the medical image to be analyzed is updated to the pathological slice staining database.

在一个实施例中,所述方法还包括:获取所述实验室标识;根据所述实验室标识从病理切片染色数据库中获取病理切片的染色质量不合格对应的所述测评信息表、所述待分析医学图像、多个所述染色颜色值及所述染色标准值;根据所述测评信息表、所述待分析医学图像、多个所述染色颜色值及所述染色标准值进行不合格原因分析,得到不合格原因数据。In one embodiment, the method further includes: acquiring the laboratory identification; acquiring the evaluation information table corresponding to the unqualified staining quality of the pathological sections from the pathological section staining database according to the laboratory identification, the waiting list Analyzing the medical image, the multiple dyeing color values and the dyeing standard value; performing unqualified cause analysis according to the evaluation information table, the medical image to be analyzed, multiple dyeing color values and the dyeing standard value , to get the unqualified cause data.

在一个实施例中,在所述根据所述测评信息表、所述待分析医学图像、多个所述染色颜色值及所述染色标准值进行不合格原因分析,得到不合格原因数据之后,还包括:获取改进建议列表;根据所述不合格原因数据从所述改进建议列表获取改进建议,得到实验室改进建议列表。In one embodiment, after the unqualified cause analysis is performed according to the evaluation information table, the medical image to be analyzed, a plurality of the dyed color values and the dyed standard value, and the unqualified cause data is obtained, further The method includes: obtaining a list of improvement suggestions; obtaining improvement suggestions from the list of improvement suggestions according to the unqualified cause data, and obtaining a list of laboratory improvement suggestions.

在一个实施例中,本发明还提出了一种计算机设备,包括至少一个存储器、至少一个处理器,所述存储器存储有计算机指令程序,所述计算机指令程序被所述处理器执行时,使得所述处理器执行实现如下方法步骤:In one embodiment, the present invention also proposes a computer device, including at least one memory and at least one processor, the memory stores a program of computer instructions, and when the program of computer instructions is executed by the processor, the Said processor executes and implements the following method steps:

将染色的病理切片进行数字化扫描,得到待分析医学图像;Digitally scan the stained pathological sections to obtain medical images to be analyzed;

对所述待分析医学图像进行特征识别,得到多个染色颜色值;performing feature recognition on the medical image to be analyzed to obtain a plurality of staining color values;

获取染色标准值,根据多个所述染色颜色值和所述染色标准值确定与所述待分析医学图像对应的病理切片的染色质量。A staining standard value is acquired, and the staining quality of the pathological section corresponding to the medical image to be analyzed is determined according to the multiple staining color values and the staining standard value.

本实施例的方法步骤将染色的病理切片进行数字化扫描,得到待分析医学图像,通过人工智能对数字化的待分析医学图像进行分析,避免了病理医生或者病理技术人员的主观性评价,确保了质量评价的一致性;对待分析医学图像进行特征识别,得到多个染色颜色值,获取染色标准值,根据多个染色颜色值和染色标准值确定与待分析医学图像对应的病理切片的染色质量,识别出染色颜色值的方法相同,采用多个染色颜色值与染色标准值来进行评价,评价参数统一,评价标准统一,采用人工智能,从而适合同一实验室内的病理切片染色质量评价,也适合不同实验室间的病理切片染色质量评价。In the method steps of this embodiment, the stained pathological sections are digitally scanned to obtain medical images to be analyzed, and the digitalized medical images to be analyzed are analyzed by artificial intelligence, which avoids the subjective evaluation of pathologists or pathological technicians, and ensures the quality Consistency of evaluation; perform feature recognition on the medical image to be analyzed, obtain multiple staining color values, obtain staining standard values, determine the staining quality of the pathological section corresponding to the medical image to be analyzed according to the multiple staining color values and staining standard values, and identify The method of obtaining the staining color value is the same, and multiple staining color values and staining standard values are used for evaluation, the evaluation parameters are unified, the evaluation standard is unified, and artificial intelligence is used, so it is suitable for the evaluation of the staining quality of pathological sections in the same laboratory, and is also suitable for different Interlaboratory evaluation of staining quality of pathological slides.

在一个实施例中,所述待分析医学图像进行特征识别,得到多个染色颜色值,包括:根据所述待分析医学图像进行细胞结构特征识别,得到细胞核图像、细胞浆图像;根据所述细胞核图像、所述细胞浆图像分别进行颜色值计算,得到多个染色颜色值,多个所述染色颜色值包括细胞核阴性染色颜色值、细胞浆阴性染色颜色值、细胞核阳性染色颜色值和/或细胞浆阳性染色颜色值。In one embodiment, performing feature recognition on the medical image to be analyzed to obtain multiple staining color values includes: performing cell structure feature recognition according to the medical image to be analyzed to obtain a nucleus image and a cytoplasmic image; according to the cell nucleus The image and the cytoplasmic image are respectively subjected to color value calculation to obtain a plurality of staining color values, and the plurality of staining color values include the negative staining color value of the cell nucleus, the negative staining color value of the cytoplasm, the positive staining color value of the cell nucleus and/or the color value of the cell nucleus. Plasma positive staining color value.

在一个实施例中,所述根据所述待分析医学图像进行细胞结构特征识别,得到细胞核图像、细胞浆图像,包括:根据所述待分析医学图像采用细胞核分割算法分割出细胞核,得到细胞核图像;根据所述待分析医学图像采用细胞浆分割算法分割出细胞浆,得到细胞浆图像。In one embodiment, the identification of cell structure features based on the medical image to be analyzed to obtain a nucleus image and a cytoplasmic image includes: segmenting a cell nucleus using a nucleus segmentation algorithm based on the medical image to be analyzed to obtain a cell nucleus image; According to the medical image to be analyzed, a cytoplasmic segmentation algorithm is used to segment the cytoplasm to obtain a cytoplasmic image.

在一个实施例中,所述根据所述细胞核图像、所述细胞浆图像分别进行颜色值计算,得到多个染色颜色值,多个所述染色颜色值包括细胞核阴性染色颜色值、细胞浆阴性染色颜色值、细胞核阳性染色颜色值和/或细胞浆阳性染色颜色值,包括:根据所述细胞核图像的颜色值进行分类,得到细胞核阴性染色图像、细胞核阳性染色图像;根据所述细胞浆图像的颜色值进行分类,得到细胞浆阴性染色图像、细胞浆阳性染色图像;根据所述细胞核阴性染色图像、所述细胞核阳性染色图像、所述细胞浆阴性染色图像、所述细胞浆阳性染色图像分别进行颜色值计算,得到细胞核阴性染色颜色值、细胞浆阴性染色颜色值、细胞核阳性染色颜色值、细胞浆阳性染色颜色值。In one embodiment, the color value calculation is performed respectively according to the nucleus image and the cytoplasm image to obtain a plurality of staining color values, and the plurality of staining color values include the negative staining color value of the nucleus and the negative staining value of the cytoplasm. The color value, the positive staining color value of the nucleus and/or the positive staining color value of the cytoplasm include: classifying according to the color value of the nucleus image to obtain the negative staining image of the nucleus and the positive staining image of the nucleus; according to the color of the cytoplasmic image Values are classified to obtain cytoplasm negative staining images and cytoplasm positive staining images; according to the negative staining image of the nucleus, the positive staining image of the nucleus, the negative staining image of the cytoplasm, and the positive staining image of the cytoplasm respectively, color Calculate the color value of the negative staining of the nucleus, the negative staining color value of the cytoplasm, the positive staining color value of the nucleus, and the positive staining color value of the cytoplasm.

在一个实施例中,所述染色标准值包括:细胞核阴性染色标准值、细胞浆阴性染色标准值、细胞核阳性染色标准值、细胞浆阳性染色标准值。In one embodiment, the staining standard value includes: a negative staining standard value for the nucleus, a negative staining value for the cytoplasm, a positive staining value for the nucleus, and a positive staining value for the cytoplasm.

在一个实施例中,所述根据多个所述染色颜色值和所述染色标准值确定与所述待分析医学图像对应的病理切片的染色质量,包括:将所述染色颜色值、与所述染色颜色值对应的染色标准值进行评分,得到染色颜色值评分;根据所有所述染色颜色值评分进行综合评分,得到病理切片染色综合评分;获取染色综合评分标准值,根据所述染色综合评分标准值、所述病理切片染色综合评分进行比较确定与所述待分析医学图像对应的病理切片的染色质量。In one embodiment, the determining the staining quality of the pathological section corresponding to the medical image to be analyzed according to the plurality of staining color values and the staining standard value includes: combining the staining color value, the Scoring the staining standard value corresponding to the staining color value to obtain a staining color value score; performing a comprehensive score according to all the staining color value scores to obtain a comprehensive staining score for pathological sections; obtaining a staining comprehensive scoring standard value, according to the staining comprehensive scoring standard value and the pathological section staining comprehensive score to determine the staining quality of the pathological section corresponding to the medical image to be analyzed.

在一个实施例中,所述将所述染色颜色值、与所述染色颜色值对应的染色标准值进行评分,得到染色颜色值评分,包括:计算所述染色颜色值、与所述染色颜色值对应的染色标准值之前的差值,得到染色颜色差值;根据所述染色颜色差值进行评分,得到染色颜色值评分。In one embodiment, the scoring of the dyeing color value and the dyeing standard value corresponding to the dyeing color value to obtain the dyeing color value score includes: calculating the dyeing color value, and the dyeing color value The difference before the corresponding dyeing standard value is obtained to obtain the dyeing color difference; scoring is performed according to the dyeing color difference to obtain the dyeing color value score.

在一个实施例中,所述染色颜色值包括三个通道的通道数值,所述染色标准值包括三个通道的通道标准值;所述计算所述染色颜色值、与所述染色颜色值对应的染色标准值之前的差值,得到染色颜色差值,包括:分别计算每个通道的通道数值与通道数值对应的通道标准值之间的通道差值;根据通道差值进行绝对值计算,得到通道颜色差值;根据三个所述通道颜色差值进行加权求和计算,得到染色颜色差值。In one embodiment, the dyeing color value includes channel values of three channels, and the dyeing standard value includes channel standard values of three channels; The difference before the dyeing standard value is obtained to obtain the dyeing color difference, including: separately calculating the channel difference between the channel value of each channel and the channel standard value corresponding to the channel value; performing absolute value calculation according to the channel difference to obtain the channel Color difference: performing weighted summation calculation according to the color difference of the three channels to obtain the dyeing color difference.

在一个实施例中,所述根据所述染色颜色差值进行评分,得到染色颜色值评分,包括:将所述染色颜色差值除以预设数值得到染色颜色值评分。In one embodiment, the scoring according to the dyeing color difference to obtain the dyeing color value score includes: dividing the dyeing color difference by a preset value to obtain the dyeing color value score.

在一个实施例中,所述将染色的病理切片进行数字化扫描,得到待分析医学图像,包括:将染色的病理切片进行数字化扫描,得到初始医学图像;将所述初始医学图像进行二值化处理,得到二值化医学图像;从所述二值化医学图像获取数值最低的颜色值,得到二值化最低颜色值;根据所述二值化最低颜色值确定与所述二值化最低颜色值对应的初始医学图像的最低颜色值;根据与所述二值化最低颜色值对应的初始医学图像的最低颜色值对所述初始医学图像进行修正处理,得到所述待分析医学图像。In one embodiment, the digital scanning of the stained pathological section to obtain the medical image to be analyzed includes: digitally scanning the stained pathological section to obtain an initial medical image; performing binarization processing on the initial medical image , to obtain a binarized medical image; obtain the lowest color value from the binarized medical image to obtain the lowest binarized color value; The corresponding lowest color value of the initial medical image; correcting the initial medical image according to the lowest color value of the initial medical image corresponding to the binarized lowest color value to obtain the medical image to be analyzed.

在一个实施例中,所述根据与所述二值化最低颜色值对应的初始医学图像的最低颜色值对所述初始医学图像进行修正处理,得到所述待分析医学图像,包括:In one embodiment, the correcting the initial medical image according to the lowest color value of the initial medical image corresponding to the lowest binarized color value to obtain the medical image to be analyzed includes:

根据白色的颜色值、与所述二值化最低颜色值对应的初始医学图像的最低颜色值进行计算修正颜色值;根据所述初始医学图像、所述修正颜色值得到所述待分析医学图像。calculating a corrected color value according to the white color value and the minimum color value of the initial medical image corresponding to the binarized minimum color value; obtaining the medical image to be analyzed according to the initial medical image and the corrected color value.

在一个实施例中,在所述根据多个所述染色颜色值和所述染色标准值确定与所述待分析医学图像对应的病理切片的染色质量之后,还包括:获取测评信息表,所述测评信息表包括与染色的病理切片对应的实验室标识、染色员标识、染色过程数据;将所述测评信息表、所述待分析医学图像、多个所述染色颜色值、所述染色标准值、与所述待分析医学图像对应的病理切片的染色质量更新到病理切片染色数据库。In one embodiment, after the determination of the staining quality of the pathological section corresponding to the medical image to be analyzed according to the plurality of staining color values and the staining standard values, further includes: obtaining an evaluation information table, the The evaluation information table includes the laboratory identification corresponding to the stained pathological section, the dyer identification, and the dyeing process data; the evaluation information table, the medical image to be analyzed, a plurality of the staining color values, and the staining standard value . The staining quality of the pathological slice corresponding to the medical image to be analyzed is updated to the pathological slice staining database.

在一个实施例中,所述方法还包括:获取所述实验室标识;根据所述实验室标识从病理切片染色数据库中获取病理切片的染色质量不合格对应的所述测评信息表、所述待分析医学图像、多个所述染色颜色值及所述染色标准值;根据所述测评信息表、所述待分析医学图像、多个所述染色颜色值及所述染色标准值进行不合格原因分析,得到不合格原因数据。In one embodiment, the method further includes: acquiring the laboratory identification; acquiring the evaluation information table corresponding to the unqualified staining quality of the pathological sections from the pathological section staining database according to the laboratory identification, the waiting list Analyzing the medical image, the multiple dyeing color values and the dyeing standard value; performing unqualified cause analysis according to the evaluation information table, the medical image to be analyzed, multiple dyeing color values and the dyeing standard value , to get the unqualified reason data.

在一个实施例中,在所述根据所述测评信息表、所述待分析医学图像、多个所述染色颜色值及所述染色标准值进行不合格原因分析,得到不合格原因数据之后,还包括:获取改进建议列表;根据所述不合格原因数据从所述改进建议列表获取改进建议,得到实验室改进建议列表。In one embodiment, after the unqualified cause analysis is performed according to the evaluation information table, the medical image to be analyzed, a plurality of the dyed color values and the dyed standard value, and the unqualified cause data is obtained, further The method includes: obtaining a list of improvement suggestions; obtaining improvement suggestions from the list of improvement suggestions according to the unqualified cause data, and obtaining a list of laboratory improvement suggestions.

需要说明的是,上述一种病理切片染色质量评价方法、一种病理切片染色质量评价装置、存储介质及计算机设备属于一个总的发明构思,一种病理切片染色质量评价方法、一种病理切片染色质量评价装置、存储介质及计算机设备实施例中的内容可相互适用。It should be noted that the above-mentioned method for evaluating the quality of staining of pathological sections, a device for evaluating the quality of staining of pathological sections, storage media, and computer equipment belong to a general inventive concept, a method for evaluating the quality of staining of pathological sections, and a method for evaluating the quality of staining of pathological sections. The contents in the embodiments of the quality evaluation device, storage medium and computer equipment are applicable to each other.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be realized through computer programs to instruct related hardware, and the programs can be stored in a non-volatile computer-readable storage medium When the program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any references to memory, storage, database or other media used in the various embodiments provided in the present application may include non-volatile and/or volatile memory. Nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present application. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.

Claims (17)

1. A method for evaluating the staining quality of a pathological section, the method comprising:
digitally scanning the dyed pathological section to obtain a medical image to be analyzed;
performing feature recognition on the medical image to be analyzed to obtain a plurality of dyeing color values;
obtaining a dyeing standard value, and determining the dyeing quality of a pathological section corresponding to the medical image to be analyzed according to a plurality of dyeing color values and the dyeing standard value;
Performing feature recognition on the medical image to be analyzed to obtain a plurality of dyeing color values, wherein the feature recognition comprises the following steps:
performing cell structure feature recognition according to the medical image to be analyzed to obtain a cell nucleus image and a cell plasma image,
respectively calculating color values according to the cell nucleus image and the cell plasma image to obtain a plurality of dyeing color values, wherein the plurality of dyeing color values comprise cell nucleus negative dyeing color values, cell plasma negative dyeing color values, cell nucleus positive dyeing color values and/or cell plasma positive dyeing color values;
the staining standard values include: nuclear negative staining standard value, cytoplasmic negative staining standard value, nuclear positive staining standard value, and cytoplasmic positive staining standard value.
2. The method for evaluating the quality of staining of a pathological section according to claim 1, wherein the staining standard value and the staining color value corresponding to the staining standard value are the same, or,
the dyeing standard value and the dyeing color value corresponding to the dyeing standard value adopt the tissues of the same organ and the same dyeing method, or,
the dyeing standard value and the dyeing color value corresponding to the dyeing standard value adopt tissues of the same organ, the same dyeing method and the same pathology.
3. The method for evaluating the staining quality of pathological sections according to claim 1, wherein the step of performing cell structure feature recognition according to the medical image to be analyzed to obtain a nuclear image and a cytoplasm image comprises the steps of:
dividing cell nuclei by a cell nucleus segmentation algorithm according to the medical image to be analyzed to obtain a cell nucleus image;
and dividing the cytoplasm according to the medical image to be analyzed by adopting a cytoplasm dividing algorithm to obtain a cytoplasm image.
4. The pathological section staining quality evaluation method according to claim 1, wherein the calculating of the color values from the nuclear image and the cytoplasmic image, respectively, to obtain a plurality of staining color values, the plurality of staining color values including a nuclear negative staining color value, a cytoplasmic negative staining color value, a nuclear positive staining color value, and/or a cytoplasmic positive staining color value, comprises:
classifying according to the color value of the cell nucleus image to obtain a cell nucleus negative staining image and a cell nucleus positive staining image;
classifying according to the color value of the cytoplasm image to obtain a cytoplasm negative staining image and a cytoplasm positive staining image;
And calculating color values according to the cell nucleus negative staining image, the cell nucleus positive staining image, the cell plasma negative staining image and the cell plasma positive staining image respectively to obtain a cell nucleus negative staining color value, a cell plasma negative staining color value, a cell nucleus positive staining color value and a cell plasma positive staining color value.
5. The method according to claim 1, wherein determining the quality of staining of the pathological section corresponding to the medical image to be analyzed from the plurality of staining color values and the staining standard value comprises:
scoring the dyeing color value and a dyeing standard value corresponding to the dyeing color value to obtain a dyeing color value score;
comprehensively scoring according to all the staining color value scores to obtain pathological section staining comprehensive scores;
and obtaining a comprehensive dyeing score standard value, and comparing according to the comprehensive dyeing score standard value and the comprehensive pathological section dyeing score to determine the dyeing quality of the pathological section corresponding to the medical image to be analyzed.
6. The method for evaluating the staining quality of a pathological section according to claim 5, wherein scoring the staining color value and the staining standard value corresponding to the staining color value to obtain a staining color value score comprises:
When the dyeing standard value is an RGB value, calculating the dyeing color value and a difference value before the dyeing standard value corresponding to the dyeing color value to obtain a dyeing color difference value;
scoring according to the dyeing color difference value to obtain a dyeing color value score;
and when the dyeing standard value is a range value, the dyeing color value score is full when the dyeing color value is within the range value of the dyeing standard value corresponding to the dyeing color value, and when the dyeing color value is not within the range value of the dyeing standard value corresponding to the dyeing color value, the dyeing color value score is calculated according to a preset scoring rule.
7. The method according to claim 6, wherein calculating a dyeing color value score according to a preset scoring rule when the dyeing color value is not within a range of dyeing standard values corresponding to the dyeing color value, comprises:
calculating the average value of the range value starting point and the end point of the range value of the dyeing standard value corresponding to the dyeing color value to obtain a dyeing standard value center;
when the dyeing color value is smaller than the center of the dyeing standard value, subtracting the dyeing color value from the range value starting point of the range value of the dyeing standard value corresponding to the dyeing color value to obtain a deviation difference value;
And when the dyeing color value is larger than the dyeing standard value center, subtracting the range value end point of the range value of the dyeing standard value corresponding to the dyeing color value from the dyeing color value to obtain a deviation difference value, and calculating according to the deviation difference value to obtain a dyeing color value score.
8. The method for evaluating the staining quality of a pathological section according to claim 6, wherein the staining color value comprises a channel number value of three channels, and the staining standard value comprises a channel standard value of three channels;
the calculating the difference between the dyeing color value and the dyeing standard value corresponding to the dyeing color value to obtain a dyeing color difference value comprises the following steps:
respectively calculating a channel difference value between the channel value of each channel and a channel standard value corresponding to the channel value;
calculating an absolute value according to the channel difference value to obtain a channel color difference value;
and carrying out weighted summation calculation according to the three channel color differences to obtain a dyeing color difference.
9. The method for evaluating the staining quality of a pathological section according to claim 6, wherein the scoring according to the staining color difference value to obtain a staining color value score comprises:
Dividing the dyeing color difference value by a preset numerical value to obtain a dyeing color value score;
or alternatively, the first and second heat exchangers may be,
scoring the dyeing color difference value as a dyeing color value;
or alternatively, the first and second heat exchangers may be,
dividing the dyeing color difference value by 255 to obtain a difference index, and subtracting the difference index from 1 to obtain a dyeing color value score.
10. The method for evaluating the staining quality of a pathological section according to any one of claims 1 to 9, wherein the digitally scanning the stained pathological section to obtain a medical image to be analyzed comprises:
digitally scanning the dyed pathological section to obtain an initial medical image;
performing binarization processing on the initial medical image to obtain a binarized medical image;
acquiring a color value with the lowest numerical value from the binarized medical image to obtain a binarized lowest color value;
determining a lowest color value of the initial medical image corresponding to the binarized lowest color value according to the binarized lowest color value;
and correcting the initial medical image according to the minimum color value of the initial medical image corresponding to the binarized minimum color value to obtain the medical image to be analyzed.
11. The pathological section staining quality evaluation method according to claim 10, wherein the performing correction processing on the initial medical image according to the lowest color value of the initial medical image corresponding to the binarized lowest color value to obtain the medical image to be analyzed comprises:
Calculating a corrected color value according to the color value of the white and the lowest color value of the initial medical image corresponding to the binarized lowest color value; and obtaining the medical image to be analyzed according to the initial medical image and the corrected color value.
12. The method according to any one of claims 1 to 9, characterized by further comprising, after said determining the quality of staining of a pathological section corresponding to the medical image to be analyzed from a plurality of the staining color values and the staining standard values:
acquiring an evaluation information table, wherein the evaluation information table comprises laboratory marks, dyeing person marks and dyeing process data corresponding to dyed pathological sections;
updating the evaluation information table, the medical image to be analyzed, a plurality of dyeing color values, the dyeing standard values and the dyeing quality of pathological sections corresponding to the medical image to be analyzed to a pathological section dyeing database.
13. The pathological section staining quality evaluation method according to claim 12, wherein the method further comprises:
acquiring the laboratory identification;
acquiring the evaluation information table, the medical image to be analyzed, a plurality of dyeing color values and the dyeing standard values corresponding to unqualified dyeing quality of the pathological section from a pathological section dyeing database according to the laboratory mark;
And carrying out unqualified reason analysis according to the evaluation information table, the medical image to be analyzed, the plurality of dyeing color values and the dyeing standard value to obtain unqualified reason data.
14. The method according to claim 13, wherein after performing failure cause analysis based on the evaluation information table, the medical image to be analyzed, the plurality of the dyeing color values, and the dyeing standard value, obtaining failure cause data, further comprising:
acquiring an improvement suggestion list;
and acquiring an improvement suggestion from the improvement suggestion list according to the unqualified reason data, and obtaining a laboratory improvement suggestion list.
15. A pathological section staining quality evaluation apparatus, characterized in that the apparatus comprises:
the scanning module is used for digitally scanning the dyed pathological section to obtain a medical image to be analyzed;
the dyeing color value extraction module is used for carrying out feature recognition on the medical image to be analyzed to obtain a plurality of dyeing color values;
the dyeing quality determining module is used for obtaining a dyeing standard value and determining the dyeing quality of the pathological section corresponding to the medical image to be analyzed according to a plurality of dyeing color values and the dyeing standard value;
The dyeing color value extraction module is specifically configured to:
performing cell structure feature recognition according to the medical image to be analyzed to obtain a cell nucleus image and a cell plasma image, and performing color value calculation according to the cell nucleus image and the cell plasma image to obtain a plurality of dyeing color values, wherein the plurality of dyeing color values comprise a cell nucleus negative dyeing color value, a cell plasma negative dyeing color value, a cell nucleus positive dyeing color value and/or a cell plasma positive dyeing color value;
the staining standard values include: nuclear negative staining standard value, cytoplasmic negative staining standard value, nuclear positive staining standard value, and cytoplasmic positive staining standard value.
16. A storage medium storing a program of computer instructions which, when executed by a processor, cause the processor to perform the steps of the method of any one of claims 1 to 14.
17. A computer device comprising at least one memory, at least one processor, the memory storing a program of computer instructions that, when executed by the processor, cause the processor to perform the steps of the method of any of claims 1 to 14.
CN201911354095.6A 2019-12-25 2019-12-25 A method, device, equipment and storage medium for evaluating the staining quality of pathological sections Active CN111105407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911354095.6A CN111105407B (en) 2019-12-25 2019-12-25 A method, device, equipment and storage medium for evaluating the staining quality of pathological sections

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911354095.6A CN111105407B (en) 2019-12-25 2019-12-25 A method, device, equipment and storage medium for evaluating the staining quality of pathological sections

Publications (2)

Publication Number Publication Date
CN111105407A CN111105407A (en) 2020-05-05
CN111105407B true CN111105407B (en) 2023-08-25

Family

ID=70424719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911354095.6A Active CN111105407B (en) 2019-12-25 2019-12-25 A method, device, equipment and storage medium for evaluating the staining quality of pathological sections

Country Status (1)

Country Link
CN (1) CN111105407B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111986157B (en) * 2020-07-21 2024-02-09 万达信息股份有限公司 Digital pathological image quality evaluation system
CN113515077A (en) * 2021-04-23 2021-10-19 重庆德方信息技术有限公司 System and method for monitoring human body cell staining process
CN113418920A (en) * 2021-05-14 2021-09-21 广州金域医学检验中心有限公司 Section staining quality interpretation method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408717A (en) * 2014-11-24 2015-03-11 北京航空航天大学 Pathological image color quality comprehensive evaluation method based on color separation
CN106570505A (en) * 2016-11-01 2017-04-19 北京昆仑医云科技有限公司 Method for analyzing histopathologic image and system thereof
CN109615613A (en) * 2018-11-22 2019-04-12 广州金域医学检验中心有限公司 Method, device, computer equipment and storage medium for evaluating staining quality of pathological sections

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408717A (en) * 2014-11-24 2015-03-11 北京航空航天大学 Pathological image color quality comprehensive evaluation method based on color separation
CN106570505A (en) * 2016-11-01 2017-04-19 北京昆仑医云科技有限公司 Method for analyzing histopathologic image and system thereof
CN109615613A (en) * 2018-11-22 2019-04-12 广州金域医学检验中心有限公司 Method, device, computer equipment and storage medium for evaluating staining quality of pathological sections

Also Published As

Publication number Publication date
CN111105407A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
US11842556B2 (en) Image analysis method, apparatus, program, and learned deep learning algorithm
US7826650B2 (en) Method for quantitative video-microscopy and associated system and computer software program product
Wright et al. The effect of quality control on accuracy of digital pathology image analysis
CN111105407B (en) A method, device, equipment and storage medium for evaluating the staining quality of pathological sections
US9547801B2 (en) Methods of chromogen separation-based image analysis
EP2610813B1 (en) Biomarker evaluation through image analysis
CN110853005A (en) Immunohistochemical membrane staining section diagnosis method and device
US12051253B2 (en) Method and apparatus for training a neural network classifier to classify an image depicting one or more objects of a biological sample
Shrestha et al. A quantitative approach to evaluate image quality of whole slide imaging scanners
Murakami et al. Color correction for automatic fibrosis quantification in liver biopsy specimens
CN109615613B (en) Pathological section staining quality evaluation method and device, computer equipment and storage medium
CN113781457B (en) Cell detection method, device, equipment and storage medium based on pathological images
JP7393769B2 (en) Computer-implemented process for images of biological samples
US9122904B2 (en) Method for optimization of quantitative video-microscopy and associated system
Farzi et al. Liver-Quant: Feature-Based Image Analysis Toolkit for Automatic Quantification of Metabolic Dysfunction-Associated Steatotic Liver Disease
Mosquera-Lopez et al. Modeling human-perceived quality for the assessment of digitized histopathology color standardization
CN116030462A (en) Updating method, device, equipment and medium of pathology labeling image
KR20220082277A (en) Determination method for cell zone of slide sample image smeared with bone-marrow and high magnification imaging method of the same cell zone

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510700 No. 10, helix 3 Road, International Biological Island, Huangpu District, Guangzhou City, Guangdong Province

Applicant after: GUANGZHOU KINGMED CENTER FOR CLINICAL LABORATORY

Address before: 510330 Guangdong Guangzhou Haizhuqu District Xingang East Road 2429, 3rd floor.

Applicant before: GUANGZHOU KINGMED CENTER FOR CLINICAL LABORATORY

GR01 Patent grant
GR01 Patent grant