WO2021189771A1 - Slide digitization information quality testing method and apparatus, and device and medium - Google Patents

Slide digitization information quality testing method and apparatus, and device and medium Download PDF

Info

Publication number
WO2021189771A1
WO2021189771A1 PCT/CN2020/112332 CN2020112332W WO2021189771A1 WO 2021189771 A1 WO2021189771 A1 WO 2021189771A1 CN 2020112332 W CN2020112332 W CN 2020112332W WO 2021189771 A1 WO2021189771 A1 WO 2021189771A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
slide
target image
preset
quality
Prior art date
Application number
PCT/CN2020/112332
Other languages
French (fr)
Chinese (zh)
Inventor
初晓
郭冰雪
王季勇
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021189771A1 publication Critical patent/WO2021189771A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06T5/90
    • 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/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • G06T2207/10008Still image; Photographic image from scanner, fax or copier
    • 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

Abstract

A slide digitization information quality testing method and apparatus, and a device and a medium, which relate to the field of artificial intelligence and are applied to the field of smart medical treatment. The method comprises: extracting a region image, which includes a preset region of interest, from a slide digitization information image, and performing image cutting on the region image to acquire a plurality of first target image blocks after cutting (S20); performing contrast enhancement processing on each of the first target image blocks according to an image processing algorithm to obtain a plurality of second target image blocks (S30); performing quality classification on all the second target image blocks according to a preset convolutional neural network to obtain a plurality of third target image blocks which are successfully classified; and performing combined testing on quality classification results of all the third target image blocks to obtain a slide digitization information quality testing result of an entire slide (S50). The method and the apparatus are used for reducing the risk of missing detection of an abnormal lesion during a screening process of an artificial-intelligence-assisted screening system.

Description

玻片数字化信息质量检测方法、装置、设备及介质Method, device, equipment and medium for detecting quality of slide digital information
本申请要求于2020年07月30日提交中国专利局、申请号为202010752434.2,发明名称为“玻片数字化信息质量检测方法、装置、设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on July 30, 2020, the application number is 202010752434.2, and the invention title is "Methods, Apparatus, Equipment, and Medium for Quality Inspection of Digital Information on Glass Slides", all of which are approved The reference is incorporated in this application.
技术领域Technical field
本申请涉及人工智能的图像处理领域,尤其涉及一种玻片数字化信息质量检测方法、装置、设备及介质。This application relates to the field of artificial intelligence image processing, and in particular to a method, device, equipment, and medium for detecting the quality of slide digital information.
背景技术Background technique
目前,对载有检测样本的玻片进行扫描之后,对扫描的玻片的玻片数字化信息图像进行分析,确定检测样本的待分析数据,已经成为一种常用的手段。比如,目前市场上出现的宫颈癌人工智能辅助筛查系统,通过直接使用扫描仪扫描出来的玻片数字化信息图像,并对玻片数字化信息图像进行检测,以确定是否筛查出宫颈癌。发明人意识到,现有技术中的上述方案并不能保证玻片数字化信息质量合格,其中,玻片数字化信息质量是指玻片是否模糊、玻片表面是否被污染和玻片是否含有大量气泡等。在实际应用中,如果一张数字化玻片的玻片数字化信息质量不合格,将会出现无法观察到有效的分析数据(比如,玻片数字化信息质量不合格会导致在宫颈癌人工智能辅助筛查系统筛查过程中,很难检测到异常病灶信息),可见,现有技术中的该方案会增加对于玻片数字化信息的误检和漏检的风险。因此,本领域人员亟需寻找一种新的技术方案来解决上述问题。At present, after scanning the glass slide with the test sample, analyzing the digitized information image of the scanned glass slide to determine the data to be analyzed of the test sample has become a common method. For example, the artificial intelligence-assisted screening system for cervical cancer currently on the market uses the digitized information image of the slide scanned by the scanner and detects the digitized information image of the slide to determine whether to screen for cervical cancer. The inventor realizes that the above-mentioned solutions in the prior art cannot guarantee the quality of the slide digital information. Among them, the quality of the slide digital information refers to whether the slide is blurred, whether the surface of the slide is contaminated, and whether the slide contains a lot of bubbles, etc. . In practical applications, if the quality of the digitized information of a digitized slide is unqualified, it will be impossible to observe the effective analysis data (for example, the unqualified quality of the digitized information of the slide will lead to the artificial intelligence-assisted screening of cervical cancer. In the system screening process, it is difficult to detect abnormal lesion information). It can be seen that this solution in the prior art will increase the risk of misdetection and missed detection of the digital information of the slide. Therefore, those skilled in the art urgently need to find a new technical solution to solve the above-mentioned problems.
发明内容Summary of the invention
本申请提供一种玻片数字化信息质量检测方法,包括:This application provides a method for detecting the quality of slide digital information, including:
获取整张玻片的玻片数字化信息图像;Obtain the slide digital information image of the entire slide;
从所述玻片数字化信息图像中提取出包含预设感兴趣区域的区域图像,并对所述区域图像进行图像切割后,获取切割后的多个第一目标图像块;Extracting a region image containing a preset region of interest from the slide digitized information image, and performing image cutting on the region image, to obtain a plurality of first target image blocks after the cutting;
根据图像处理算法对每一个所述第一目标图像块进行对比度增强处理,得到已增强图像视觉效果的多个第二目标图像块;Performing contrast enhancement processing on each of the first target image blocks according to an image processing algorithm to obtain a plurality of second target image blocks with enhanced image visual effects;
根据预设卷积神经网络对所有所述第二目标图像块进行质量分类,得到分类成功的多个第三目标图像块;每一个分类成功后的所述第三目标图像块对应一个质量分类结果;Perform quality classification on all the second target image blocks according to a preset convolutional neural network to obtain a plurality of third target image blocks successfully classified; each of the third target image blocks after successful classification corresponds to a quality classification result ;
对所有所述第三目标图像块的所述质量分类结果进行结合检测后,得到整张玻片的玻片数字化信息质量检测结果。After the combined detection of the quality classification results of all the third target image blocks, the quality detection result of the slide digital information of the entire slide is obtained.
本申请还提供一种玻片数字化信息质量检测装置,包括:This application also provides a device for detecting the quality of the digital information of the slide glass, which includes:
第一获取模块,用于获取整张玻片的玻片数字化信息图像;The first acquisition module is used to acquire the digitized information image of the entire slide;
第二获取模块,用于从所述玻片数字化信息图像中提取出包含预设感兴趣区域的区域图像,并对所述区域图像进行图像切割后,获取切割后的多个第一目标图像块;The second acquisition module is used to extract a region image containing a preset region of interest from the slide digitized information image, and after performing image cutting on the region image, acquire a plurality of first target image blocks after cutting ;
增强处理模块,用于根据图像处理算法对每一个所述第一目标图像块进行对比度增强处理,得到已增强图像视觉效果的多个第二目标图像块;An enhancement processing module, configured to perform contrast enhancement processing on each of the first target image blocks according to an image processing algorithm to obtain a plurality of second target image blocks with enhanced image visual effects;
分类模块,用于根据预设卷积神经网络对所有所述第二目标图像块进行质量分类,得到分类成功的多个第三目标图像块;每一个分类成功后的所述第三目标图像块对应一个质量分类结果;The classification module is used to classify the quality of all the second target image blocks according to a preset convolutional neural network to obtain a plurality of successfully classified third target image blocks; each of the third target image blocks successfully classified Corresponding to a quality classification result;
检测模块,用于对所有所述第三目标图像块的所述质量分类结果进行结合检测后,得 到整张玻片的玻片数字化信息质量检测结果。The detection module is configured to perform a combined detection on the quality classification results of all the third target image blocks, and obtain the slide digitized information quality detection results of the entire slide.
本申请还提供一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如下所述玻片数字化信息质量检测方法:The present application also provides a computer device including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. The processor executes the computer program to implement the following slide Digital information quality inspection method:
获取整张玻片的玻片数字化信息图像;Obtain the slide digital information image of the entire slide;
从所述玻片数字化信息图像中提取出包含预设感兴趣区域的区域图像,并对所述区域图像进行图像切割后,获取切割后的多个第一目标图像块;Extracting a region image containing a preset region of interest from the slide digitized information image, and performing image cutting on the region image, to obtain a plurality of first target image blocks after the cutting;
根据图像处理算法对每一个所述第一目标图像块进行对比度增强处理,得到已增强图像视觉效果的多个第二目标图像块;Performing contrast enhancement processing on each of the first target image blocks according to an image processing algorithm to obtain a plurality of second target image blocks with enhanced image visual effects;
根据预设卷积神经网络对所有所述第二目标图像块进行质量分类,得到分类成功的多个第三目标图像块;每一个分类成功后的所述第三目标图像块对应一个质量分类结果;Perform quality classification on all the second target image blocks according to a preset convolutional neural network to obtain a plurality of third target image blocks successfully classified; each of the third target image blocks after successful classification corresponds to a quality classification result ;
对所有所述第三目标图像块的所述质量分类结果进行结合检测后,得到整张玻片的玻片数字化信息质量检测结果。After the combined detection of the quality classification results of all the third target image blocks, the quality detection result of the slide digital information of the entire slide is obtained.
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如下所述玻片数字化信息质量检测方法:The present application also provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the method for detecting the quality of slide digital information as described below is realized:
获取整张玻片的玻片数字化信息图像;Obtain the slide digital information image of the entire slide;
从所述玻片数字化信息图像中提取出包含预设感兴趣区域的区域图像,并对所述区域图像进行图像切割后,获取切割后的多个第一目标图像块;Extracting a region image containing a preset region of interest from the slide digitized information image, and performing image cutting on the region image, to obtain a plurality of first target image blocks after the cutting;
根据图像处理算法对每一个所述第一目标图像块进行对比度增强处理,得到已增强图像视觉效果的多个第二目标图像块;Performing contrast enhancement processing on each of the first target image blocks according to an image processing algorithm to obtain a plurality of second target image blocks with enhanced image visual effects;
根据预设卷积神经网络对所有所述第二目标图像块进行质量分类,得到分类成功的多个第三目标图像块;每一个分类成功后的所述第三目标图像块对应一个质量分类结果;Perform quality classification on all the second target image blocks according to a preset convolutional neural network to obtain a plurality of third target image blocks successfully classified; each of the third target image blocks after successful classification corresponds to a quality classification result ;
对所有所述第三目标图像块的所述质量分类结果进行结合检测后,得到整张玻片的玻片数字化信息质量检测结果。After the combined detection of the quality classification results of all the third target image blocks, the quality detection result of the slide digital information of the entire slide is obtained.
附图说明Description of the drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1是本申请一实施例中玻片数字化信息质量检测方法的一应用环境示意图;FIG. 1 is a schematic diagram of an application environment of a method for detecting the quality of slide digital information in an embodiment of the present application;
图2是本申请一实施例中玻片数字化信息质量检测方法的一流程图;2 is a flowchart of a method for detecting the quality of slide digital information in an embodiment of the present application;
图3是本申请一实施例中玻片数字化信息质量检测装置的结构示意图;FIG. 3 is a schematic structural diagram of a device for detecting the quality of slide digital information in an embodiment of the present application;
图4是本申请一实施例中计算机设备的一示意图。Fig. 4 is a schematic diagram of a computer device in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请提供的玻片数字化信息质量检测方法,可应用在如图1的应用环境中,其中,客户端通过网络与服务器进行通信。其中,客户端可以但不限于各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备。服务器可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The method for detecting the quality of slide digital information provided in this application can be applied to the application environment as shown in Figure 1, where the client communicates with the server through the network. Among them, the client can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server can be implemented as an independent server or a server cluster composed of multiple servers.
在一实施例中,如图2所示,提供一种玻片数字化信息质量检测方法,以该方法应用 在图1中的服务器为例进行说明,包括如下步骤:In one embodiment, as shown in FIG. 2, a method for detecting the quality of slide digital information is provided. Taking the method applied to the server in FIG. 1 as an example, the method includes the following steps:
S10,获取整张玻片的玻片数字化信息图像;S10, acquiring a digital information image of the entire glass slide;
可理解地,玻片可为各种病理细胞的玻片,如宫颈细胞病理玻片,具体地,玻片的玻片数字化信息图像是通过不同医用扫描仪扫描获取的,且扫描完成后的玻片数字化信息图像可包含多种数据格式,其中,数据格式包括但不限于svs、.kfb、.ndpi、.tif和.sdpc。Understandably, the slide can be a slide of various pathological cells, such as a cervical cell pathology slide. Specifically, the slide digitized information image of the slide is scanned by different medical scanners, and the scanned glass A piece of digitized information image may include a variety of data formats, among which the data formats include but are not limited to svs, .kfb, .ndpi, .tif and .sdpc.
S20,从所述玻片数字化信息图像中提取出包含预设感兴趣区域的区域图像,并对所述区域图像进行图像切割后,获取切割后的多个第一目标图像块;S20, extracting a region image containing a preset region of interest from the slide digitized information image, and after performing image cutting on the region image, obtain a plurality of cut first target image blocks;
可理解地,预设感兴趣区域是指位于玻片数字化信息图像中且满足玻片数字化信息质量检测要求的区域;具体地,首先确定出医用扫描仪扫描时所使用的物镜的倍数(如20倍或者40倍的物镜),接着根据医用扫描仪所使用物镜的倍数对玻片数字化信息图像进行图像放大处理,再接着根据预设选取规则(根据预设所需使用的目标倍数来确定预设分辨率图层,比如玻片数字化信息图像被放大20倍,而目标倍数为15倍,此时,预设分辨率图层为15倍的玻片数字化信息图像)选取预设分辨率图层,并通过该预设分辨率图层对玻片数字化信息图像增加或者减少分辨率,以实现对玻片数字化信息图像进行放大或者缩放处理,然后利用霍夫变换寻找玻片数字化信息图像中的细胞所在的前景区域,最后再从已确定出前景区域的玻片数字化信息图像提取出包含预设感兴趣的区域图像,并利用滑窗对区域图像进行图像切割后,得到切割后的多个第一目标图像块。Understandably, the preset area of interest refers to the area that is located in the digital information image of the slide and meets the requirements of the quality detection of the digital information of the slide; specifically, first determine the multiple of the objective lens used by the medical scanner during scanning (such as 20 Or 40 times objective lens), and then according to the multiple of the objective lens used by the medical scanner, the image magnification process is performed on the digitized information image of the slide, and then according to the preset selection rule (according to the preset target magnification required to determine the preset Resolution layer, for example, the digital information image of the glass slide is enlarged 20 times, and the target magnification is 15 times. At this time, the preset resolution layer is 15 times the digital information image of the glass slide) Select the preset resolution layer, And through the preset resolution layer to increase or decrease the resolution of the digitized information image of the slide, to realize the magnification or zoom processing of the digitized information image of the slide, and then use the Hough transform to find the cells in the digitized information image of the slide Finally, extract the image of the preset area of interest from the slide digitized information image of the determined foreground area, and use the sliding window to cut the image of the area to obtain multiple first targets after cutting Image block.
在本实施例中,可高效去掉玻片数字化信息图像中不包含有效信息的背景区域,在后续对该玻片数字化信息图像进行处理的过程中,可节省对玻片数字化信息图像的处理时间,进而可提高处理效率。In this embodiment, the background area that does not contain effective information in the digitized information image of the slide can be efficiently removed. In the subsequent process of processing the digitized information image of the slide, the processing time for the digitized information image of the slide can be saved. In turn, the processing efficiency can be improved.
S30,根据图像处理算法对每一个所述第一目标图像块进行对比度增强处理,得到已增强图像视觉效果的多个第二目标图像块;S30: Perform contrast enhancement processing on each of the first target image blocks according to the image processing algorithm to obtain multiple second target image blocks with enhanced image visual effects;
可理解地,图像处理算法是指图像对比度增强处理,其中,图像对比度增强处理是将图像中的亮度值范围拉伸或压缩成显示系统指定的亮度显示范围,从而提高图像全部或局部的对比度。本实施例主要是为了提高第一目标图像块的对比度,以达到增强图像主观视觉效果以及增强图像细节的目的。Understandably, the image processing algorithm refers to image contrast enhancement processing, where the image contrast enhancement processing stretches or compresses the brightness value range in the image into the brightness display range specified by the display system, thereby improving the overall or partial contrast of the image. This embodiment is mainly to improve the contrast of the first target image block, so as to achieve the purpose of enhancing the subjective visual effect of the image and enhancing the details of the image.
S40,根据预设卷积神经网络对所有所述第二目标图像块进行质量分类,得到分类成功的多个第三目标图像块;每一个分类成功后的所述第三目标图像块对应一个质量分类结果;S40: Perform quality classification on all the second target image blocks according to a preset convolutional neural network to obtain a plurality of successfully classified third target image blocks; each of the third target image blocks after successful classification corresponds to a quality Classification result
可理解地,预设卷积神经网络是指轻量级深度学习卷积神经网络MobileNetV3,其中,该MobileNetv3版本结合了MobileNetv1的深度可分离卷积、MobileNetv2的InvertedResiduals和LinearBottleneck、SE模块,利用NAS(神经结构搜索)来搜索网络的配置和参数;质量分类结果包括但不限于玻片正常、玻片模糊、玻片被污染和玻片存在气泡。本实施例利用MobileNetV3对第二目标图像块第二目标图像块进行质量分类,主要是利用MobileNetV3预测出第二目标图像块属于其中一个质量分类结果的概率,且本实施例使用MobileNetV3可用较少的运算量得到较高精度的质量分类结果,能够在实时性和精度之间得到较好的平衡。Understandably, the preset convolutional neural network refers to the lightweight deep learning convolutional neural network MobileNetV3, where the MobileNetv3 version combines the deep separable convolution of MobileNetv1, the InvertedResiduals and LinearBottleneck of MobileNetv2, the SE module, and the use of NAS ( Neural structure search) to search for the configuration and parameters of the network; quality classification results include, but are not limited to, normal slides, blurred slides, contaminated slides, and bubbles on the slides. This embodiment uses MobileNetV3 to classify the quality of the second target image block. It mainly uses MobileNetV3 to predict the probability that the second target image block belongs to one of the quality classification results, and this embodiment uses MobileNetV3 to provide less The amount of calculations obtains a higher-precision quality classification result, which can achieve a better balance between real-time performance and accuracy.
S50,对所有所述第三目标图像块的所述质量分类结果进行结合检测后,得到整张玻片的玻片数字化信息质量检测结果。S50: After the combined detection of the quality classification results of all the third target image blocks, the quality detection result of the slide digitized information of the entire slide is obtained.
可理解地,本实施例需对各种质量分类结果进行结合检测,以获取玻片的玻片数字化信息质量检测结果,其中,各种质量分类结果的占比情况可直接确定出整张玻片的玻片数字化信息质量检测结果,如占比数少于预设占比阈值,才能确定整张玻片的玻片数字化信息质量检测结果为正常,反之则可确定整张玻片的玻片数字化信息质量检测结果为异常。Understandably, in this embodiment, various quality classification results need to be combined and tested to obtain the slide digitized information quality detection results of the slide. Among them, the proportion of the various quality classification results can be directly determined for the entire slide. If the proportion of the digital information quality of the slide is less than the preset proportion threshold, it can be determined that the quality of the digital information of the entire slide is normal. Otherwise, the digital information of the entire slide can be determined to be digitized. The information quality test result is abnormal.
进一步地,所述从所述玻片数字化信息图像中提取出包含预设感兴趣区域的区域图像,并对所述区域图像进行图像切割,包括:Further, the extracting a region image containing a preset region of interest from the slide digitized information image, and performing image cutting on the region image includes:
通过选取的预设分辨率图层对所述玻片数字化信息图像进行分辨率调整,得到调整后的所述玻片数字化信息图像;Adjusting the resolution of the digitized information image of the slide glass through the selected preset resolution layer to obtain the adjusted digitized information image of the slide glass;
利用霍夫变换算法从调整后的所述玻片数字化信息图像中确定出所述预设感兴趣区域,并利用阈值分割图像算法从调整后的所述玻片数字化信息图像提取出所述包含预设感兴趣区域的区域图像;The Hough transform algorithm is used to determine the preset region of interest from the adjusted digitized information image of the slide, and the threshold image segmentation algorithm is used to extract the pre-contained information from the adjusted digitized information image of the slide. Set the region image of the region of interest;
使用预设大小的划窗对所述包含预设感兴趣区域的区域图像进行图像切割。Image cutting is performed on the region image containing the preset region of interest by using a wiped window of a preset size.
可理解地,霍夫变换算法主要用来从调整后的玻片数字化信息图像中分离出具有某种相同特征的几何形状(如,直线,圆等),具体地,本实施例可通过霍夫变换算法来针对于调整后的玻片数字化信息图像上每一个前景点,求出参数平面中对面中的对应直线,并统计该直线上所有点的出现的次数,最后以次数最多的点构成的点位置来确定出预设感兴趣区域(玻片中细胞所在的前景区域);阈值分割图像算法是一种基于区域的图像分割技术,原理是把图像象素点分为若干类,具体地,本实施例可通过阈值分割图像算法中的全局阈值法来对调整后的玻片数字化信息图像进行分割,其中,阈值法对图像进行分割主要是利用最大类间方差法,将调整后的玻片数字化信息图像的直方图在某一阈值处分割成两组,当被分成的两组的方差为最大时,得到阈值,接着通过该阈值把调整后的玻片数字化信息图像像素点分为若干类以得到包含预设感兴趣区域的区域图像(区域图像代表其中一类的像素点);预设大小的滑窗可为分辨率5120*5120大小的滑窗,本实施例可通过设计的滑窗来遍历区域图像,并将滑窗窗口对应的区域图像进行检测,能有效克服尺度、位置、形变等现象带来的输入异构的问题,进而提升区域图像的检测效果。Understandably, the Hough transform algorithm is mainly used to separate geometric shapes (such as straight lines, circles, etc.) with the same characteristics from the adjusted digital information image of the slide. Specifically, the Hough transform algorithm can be used in this embodiment. The transformation algorithm is used to find the corresponding straight line in the opposite side of the parameter plane for each front spot on the adjusted slide digitized information image, and count the number of occurrences of all points on the straight line, and finally it is composed of the most frequent points Point positions are used to determine the preset area of interest (the foreground area where the cells in the slide are located); the threshold image segmentation algorithm is a region-based image segmentation technology, the principle is to divide the image pixel points into several categories, specifically, In this embodiment, the adjusted glass slide digital information image can be segmented by the global threshold method in the threshold segmentation image algorithm. The threshold method to segment the image mainly uses the maximum between-class variance method to divide the adjusted slide The histogram of the digitized information image is divided into two groups at a certain threshold. When the variance of the divided two groups is the largest, the threshold is obtained, and then the adjusted glass slide digitized information image pixels are divided into several categories through this threshold In order to obtain an area image containing a preset area of interest (the area image represents one type of pixels); the sliding window of the preset size can be a sliding window with a resolution of 5120*5120. In this embodiment, the sliding window can be designed To traverse the regional image and detect the regional image corresponding to the sliding window window can effectively overcome the problem of input heterogeneity caused by phenomena such as scale, position, and deformation, thereby improving the detection effect of the regional image.
进一步地,所述利用霍夫变换算法从调整后的所述玻片数字化信息图像中确定出所述预设感兴趣区域之前,还包括:Further, before determining the preset region of interest from the adjusted digitized information image of the slide glass by using the Hough transform algorithm, the method further includes:
在确定所述玻片数字化信息图像为黑白图像时,依次对调整后的所述玻片数字化信息图像依次进行图像膨胀和图像腐蚀操作。When it is determined that the digitized information image of the slide glass is a black and white image, the image expansion and image erosion operations are sequentially performed on the adjusted digitized information image of the slide glass in sequence.
可理解地,图像膨胀和图像腐蚀是两种基本的形态学运算,主要用来寻找图像中的极大区域和极小区域,其中图像膨胀将图像的高亮区域或白色部分进行扩张,其最后的运行结果图比原图的高亮区域更大,图像腐蚀将图像中的高亮区域或白色部分进行缩减细化,其最后的运行结果图比原图的高亮区域更小。本实施例主要是运用两种图像算法来对黑白图像的玻片数字化信息图像中的高亮区域进行处理,以将此高亮区域作为玻片中细胞所在的前景区域,进而便于去掉玻片数字化信息图像的背景区域。Understandably, image expansion and image erosion are two basic morphological operations, which are mainly used to find the maximum area and the minimum area in the image. The image expansion expands the highlighted area or white part of the image, and finally The running result image of is larger than the highlight area of the original image, and the image erosion reduces the highlight area or white part in the image, and the final running result image is smaller than the highlight area of the original image. This embodiment mainly uses two image algorithms to process the highlighted area in the black-and-white image of the slide digitization information image, so that the highlighted area is used as the foreground area where the cells in the slide are located, so as to facilitate the removal of the slide digitization. The background area of the information image.
进一步地,所述根据图像处理算法对每一个所述第一目标图像块进行对比度增强处理,包括:Further, the performing contrast enhancement processing on each of the first target image blocks according to an image processing algorithm includes:
获取每一个所述第一目标图像块分别对应于R通道、G通道和B通道三个通道的通道数据;Acquiring channel data of each of the first target image blocks corresponding to three channels of R channel, G channel, and B channel;
从所有的通道数据中确定每一个通道的最大通道数据和最小通道数据;Determine the maximum channel data and minimum channel data of each channel from all channel data;
自各个所述第一目标图像块中的三个通道中按照预设选取规则选取一个通道作为当前通道,对所述当前通道的通道数据与所述当前通道的所述最小通道数据进行差值对比后,获取第一差值结果;Select one channel from the three channels in each of the first target image blocks as the current channel according to a preset selection rule, and compare the difference between the channel data of the current channel and the minimum channel data of the current channel After that, obtain the first difference result;
在所述当前通道下,在所述当前通道下,将所述最大通道数据与所述最小通道数据进行差值对比后,获取第二差值结果;Under the current channel, under the current channel, after performing a difference comparison between the maximum channel data and the minimum channel data, obtaining a second difference result;
确定所述第一出差值结果与所述第二差值结果之间的比值,将所述比值与预设常数的乘积记录为所述当前通道的对比值;Determine the ratio between the first travel value result and the second difference result, and record the product of the ratio and a preset constant as the comparison value of the current channel;
在每一个所述第一目标图像块的三个通道所对应的三个所述对比值均被记录之后,通过三个所述对比值对与其对应的所述第一目标图像块进行对比度增强处理。After the three contrast values corresponding to the three channels of each of the first target image blocks are all recorded, perform contrast enhancement processing on the first target image block corresponding to the three contrast values .
可理解地,预设选取规则可按照R通道、G通道和B通道的顺序进行选择,其中,当前通道为R通道、G通道和B通道中的其中一个,通道数据是指第一目标图像块在当前通 道中的灰度值【0-255】,一个第一目标图像块对应于三个通道,一个通道对应于一个通道数据,因此一个第一目标图像块对应于三个通道数据;本实施例所有步骤可转换为一条公式,该公式为
Figure PCTCN2020112332-appb-000001
其中,V in为当前通道的通道数据;V min为当前通道的最小通道数据;V max为当前通道的最大通道数据;V out为第一比值;预设常数为255;本实施例在求出对比值后(利用最大通道数据和最小通道数据来对每一个第一目标图像块中通道的通道数据进行概率分布),将每一个第一目标图像块的三个对比值与预设常数进行乘积运算时,能将R通道、G通道和B通道三个通道的通道数据在0-255个灰度值上分布的更开,提高了图像的对比度,进而提高图像视觉效果,同时可有效地降低不同医用扫描仪数据化玻片数字化信息图像的风格对图像质量检测带来的影响,进而提高预设卷积神经网络识别第二目标图像块的准确率。
Understandably, the preset selection rule can be selected in the order of R channel, G channel, and B channel, where the current channel is one of the R channel, G channel, and B channel, and the channel data refers to the first target image block In the gray value of the current channel [0-255], a first target image block corresponds to three channels, and one channel corresponds to one channel data, so a first target image block corresponds to three channel data; this implementation Example all steps can be converted into a formula, the formula is
Figure PCTCN2020112332-appb-000001
Among them, V in is the channel data of the current channel; V min is the minimum channel data of the current channel; V max is the maximum channel data of the current channel; V out is the first ratio; the preset constant is 255; After the comparison value (using the maximum channel data and the minimum channel data to carry out the probability distribution of the channel data of each first target image block), the three comparison values of each first target image block are multiplied by the preset constant During calculation, the channel data of the R channel, G channel and B channel can be distributed more openly in the 0-255 gray value, which improves the contrast of the image, thereby improving the visual effect of the image, and can effectively reduce The style of the digitized information image of the digitized slides of different medical scanners has an impact on the image quality detection, thereby improving the accuracy of the preset convolutional neural network in identifying the second target image block.
进一步地,所述根据预设卷积神经网络对所有所述第二目标图像块进行质量分类,得到分类成功的多个第三目标图像块,包括:Further, the quality classification of all the second target image blocks according to a preset convolutional neural network to obtain a plurality of third target image blocks successfully classified includes:
将所有的所述第二目标图像块输入至所述预设卷积神经网络;Input all the second target image blocks to the preset convolutional neural network;
根据所述预设卷积神经网络中设置的权重系数对所有的所述第二目标图像块中的每一个像素进行预测分类,得到分类成功的多个所述第三目标图像块。Predictive classification is performed on each pixel in all the second target image blocks according to the weight coefficients set in the preset convolutional neural network to obtain a plurality of the third target image blocks successfully classified.
具体地,首先将第二目标图像块输入至已训练成功的预设卷积神经网络MobileNetv3中,接着通过MobileNetv3中对每一种质量分类结果对应的权重系数以及第二目标图像块中的每一个像素周围环境中的像素对所有的第二目标图像块中的每一个像素进行检测,并通过检测结果提取到多个像素组合成的图像特征,然后依据该图像特征对第二目标图像块进行预测分类,得到第二目标图像块属于一个质量分类结果的概率,最后通过概率确定第三目标图像块的质量分类结果。Specifically, first input the second target image block into the pre-trained convolutional neural network MobileNetv3, and then use the weight coefficient corresponding to each quality classification result in MobileNetv3 and each of the second target image blocks The pixels in the surrounding environment of the pixel detect each pixel in all the second target image blocks, and extract the image features composed of multiple pixels through the detection results, and then predict the second target image block based on the image features Classification, the probability that the second target image block belongs to a quality classification result is obtained, and finally the quality classification result of the third target image block is determined by the probability.
进一步地,所述玻片数字化信息质量检测结果存储于区块链中,所述对所有所述第三目标图像块的所述质量分类结果进行结合检测后,得到整张玻片的玻片数字化信息质量检测结果,包括:Further, the quality detection result of the digital information of the slide glass is stored in the blockchain, and after the combined detection of the quality classification results of all the third target image blocks, the slide digitization of the entire glass slide is obtained. Information quality test results, including:
从所有所述质量检测结果中确定出异常的质量检测结果,确定与异常的质量检测结果对应的所述第三目标图像块在整张玻片中的所有所述第三目标图像块中的占比数;Determine the abnormal quality detection result from all the quality detection results, and determine the proportion of the third target image block corresponding to the abnormal quality detection result in all the third target image blocks in the entire glass slide Ratio
在确定所述占比数达到预设占比阈值时,确认整张玻片的所述玻片数字化信息图像存在质量问题,通过预设图形结构在与整张玻片对应的质量检测结果中标记异常的所述质量检测结果,并发送并提示预设接收人员。When it is determined that the proportion reaches the preset proportion threshold, it is confirmed that the digital information image of the entire glass slide has a quality problem, and the quality inspection result corresponding to the entire glass slide is marked by the preset graphic structure The abnormal result of the quality inspection is sent and reminded to the preset recipient.
本实施例通过占比数与预设占比阈值的关系来确定整张玻片的玻片数字化信息图像是否存在质量问题,在占比数的大小过大的情况下,可确定整张玻片的所述玻片数字化信息图像存在质量问题,此时,通过本实施例可及时对存在质量问题的玻片数字化信息图像进行反馈,进而加快处理效率。In this embodiment, the relationship between the proportion number and the preset proportion threshold is used to determine whether the digital information image of the entire glass slide has quality problems. In the case that the proportion number is too large, the entire glass slide can be determined The digitized information image of the slide glass has a quality problem. At this time, through this embodiment, the digitized information image of the slide glass that has a quality problem can be fed back in time, thereby speeding up the processing efficiency.
另外需要强调的是,为进一步保证上述玻片的玻片数字化信息质量检测结果的私密和安全性,上述玻片的玻片数字化信息质量检测结果还可以存储于一区块链的节点中。其中,本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。区块链提供的去中心化的完全分布式DNS服务通过网络中各个节点之间的点对点数据传输服务就能实现域名的查询和解析,可用于确保某个重要的基础设施的操作系统和固件没有被篡改,可以监控软件的状态和完整性,发现不良的篡改,并确保所传输的数据没用经过篡改,将玻片的玻片数字化信息质量检测结果存储在区块链中, 能够确保玻片的玻片数字化信息质量检测结果的私密和安全性。In addition, it should be emphasized that, in order to further ensure the privacy and security of the digital information quality inspection results of the slides, the digital information quality inspection results of the slides can also be stored in a blockchain node. Among them, the blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer. The decentralized and fully distributed DNS service provided by the blockchain can realize the query and resolution of domain names through the point-to-point data transmission service between various nodes in the network, which can be used to ensure that the operating system and firmware of an important infrastructure are not available. If it is tampered with, it can monitor the status and integrity of the software, find bad tampering, and ensure that the transmitted data has not been tampered with, and store the digital information quality inspection results of the slides in the blockchain to ensure the slides The privacy and security of the digital information quality test results of the slides.
综上所述,上述提供了一种玻片数字化信息质量检测方法,预先通过图像切割和对比度增强处理对玻片数字化信息图像进行图像处理,以使得图像对比度增强,提高图像视觉效果,并可降低不同医用扫描仪数字化玻片数字化信息图像风格上存在的差异;最后将处理完成后的数字化玻片数字化信息图像输入至神经网络MobileNetV3中进行质量分类,综合考虑了精度和速度,也即能够有效地提高质量分类准确率,并提高质量分类效率;可见,本方法可预先进行玻片数字化信息质量分类,对于人工智能辅助筛查系统筛查过程来说,排除了玻片的玻片数字化信息质量不合格对检测异常病灶的影响,减少了对异常病灶误检和漏检的风险。本方法可应用于智慧医疗领域中,从而推动智慧城市的建设。In summary, the above provides a method for detecting the quality of the digital information of the glass slide. The digital information image of the glass slide is processed in advance through image cutting and contrast enhancement processing, so that the image contrast is enhanced, the image visual effect is improved, and the image visual effect can be reduced. Different medical scanners have differences in the digitized information image style of the digitized slides; finally, the processed digitized slide digitized information images are input into the neural network MobileNetV3 for quality classification, and the accuracy and speed are considered comprehensively, that is, it can be effectively Improve the accuracy of quality classification and improve the efficiency of quality classification; it can be seen that this method can pre-classify the quality of slide digital information. For the screening process of the artificial intelligence-assisted screening system, the quality of the slide digital information of the slide is excluded. The impact of being qualified on the detection of abnormal lesions reduces the risk of misdetection and missed detection of abnormal lesions. This method can be applied in the field of smart medical care to promote the construction of smart cities.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence number of each step in the foregoing embodiment does not mean the order of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
在一实施例中,提供一种玻片数字化信息质量检测装置,该玻片数字化信息质量检测装置与上述实施例中玻片数字化信息质量检测方法一一对应。如图3所示,该玻片数字化信息质量检测装置包括第一获取模块11、第二获取模块12、增强处理模块13、分类模块14和检测模块15。各功能模块详细说明如下:In one embodiment, a device for detecting the quality of digital information on a slide is provided, and the device for detecting the quality of digital information on a slide corresponds one-to-one with the method for detecting the quality of digital information on a slide in the foregoing embodiment. As shown in FIG. 3, the device for detecting the quality of slide digital information includes a first acquisition module 11, a second acquisition module 12, an enhancement processing module 13, a classification module 14, and a detection module 15. The detailed description of each functional module is as follows:
第一获取模块11,用于获取整张玻片的玻片数字化信息图像;The first acquisition module 11 is used to acquire the digitized information image of the entire glass slide;
第二获取模块12,用于从所述玻片数字化信息图像中提取出包含预设感兴趣区域的区域图像,并对所述区域图像进行图像切割后,获取切割后的多个第一目标图像块;The second acquisition module 12 is configured to extract a region image containing a preset region of interest from the slide digitized information image, and after performing image cutting on the region image, acquire multiple first target images after cutting Piece;
增强处理模块13,用于根据图像处理算法对每一个所述第一目标图像块进行对比度增强处理,得到已增强图像视觉效果的多个第二目标图像块;The enhancement processing module 13 is configured to perform contrast enhancement processing on each of the first target image blocks according to an image processing algorithm to obtain a plurality of second target image blocks with enhanced image visual effects;
分类模块14,用于根据预设卷积神经网络对所有所述第二目标图像块进行质量分类,得到分类成功的多个第三目标图像块;每一个分类成功后的所述第三目标图像块对应一个质量分类结果;The classification module 14 is configured to perform quality classification on all the second target image blocks according to a preset convolutional neural network to obtain a plurality of successfully classified third target image blocks; each of the third target images after successful classification The block corresponds to a quality classification result;
检测模块15,用于对所有所述第三目标图像块的所述质量分类结果进行结合检测后,得到整张玻片的玻片数字化信息质量检测结果。The detection module 15 is configured to perform a combined detection on the quality classification results of all the third target image blocks to obtain a slide digitized information quality detection result of the entire slide.
进一步地,所述第二获取模块包括:Further, the second acquisition module includes:
调整子模块,包括通过选取的预设分辨率图层对所述玻片数字化信息图像进行分辨率调整,得到调整后的所述玻片数字化信息图像;The adjustment sub-module includes adjusting the resolution of the digitized information image of the slide glass through the selected preset resolution layer to obtain the digitized information image of the slide glass after adjustment;
提取子模块,包括利用霍夫变换算法从调整后的所述玻片数字化信息图像中确定出所述预设感兴趣区域,并利用阈值分割图像算法从调整后的所述玻片数字化信息图像提取出所述包含预设感兴趣区域的区域图像;The extraction sub-module includes using the Hough transform algorithm to determine the preset region of interest from the adjusted digitized information image of the slide, and using a threshold image segmentation algorithm to extract the adjusted digitized information image of the slide Output the region image containing the preset region of interest;
切割子模块,用于使用预设大小的划窗对所述包含预设感兴趣区域的区域图像进行图像切割。The cutting sub-module is used to perform image cutting on the region image containing the predetermined region of interest by using a scribe window of a preset size.
进一步地,所述第二获取模块包括:Further, the second acquisition module includes:
图像膨胀和图像腐蚀子模块,用于在确定所述玻片数字化信息图像为黑白图像时,依次对调整后的所述玻片数字化信息图像依次进行图像膨胀和图像腐蚀操作。The image expansion and image erosion sub-module is used to sequentially perform image expansion and image erosion operations on the adjusted slide digitized information image when it is determined that the slide digitized information image is a black and white image.
进一步地,所述增强处理模块包括:Further, the enhanced processing module includes:
第一获取子模块,用于获取每一个所述第一目标图像块分别对应于R通道、G通道和B通道三个通道的通道数据;The first acquisition sub-module is configured to acquire the channel data of each of the first target image blocks corresponding to the R channel, the G channel and the B channel respectively;
第一确定子模块,用于从所有的通道数据中确定每一个通道的最大通道数据和最小通道数据;The first determining sub-module is used to determine the maximum channel data and the minimum channel data of each channel from all the channel data;
第二获取子模块,用于自各个所述第一目标图像块中的三个通道中按照预设选取规则选取一个通道作为当前通道,对所述当前通道的通道数据与所述当前通道的所述最小通道数据进行差值对比后,获取第一差值结果;The second acquisition sub-module is used to select one channel from the three channels in each of the first target image blocks as the current channel according to a preset selection rule, and compare the channel data of the current channel and the data of the current channel. After the difference value comparison is performed on the minimum channel data, the first difference value result is obtained;
第三获取子模块,用于在所述当前通道下,将所述最大通道数据与所述最小通道数据进行差值对比后,获取第二差值结果;The third obtaining submodule is configured to obtain a second difference result after performing a difference comparison between the maximum channel data and the minimum channel data under the current channel;
记录子模块,用于确定所述第一出差值结果与所述第二差值结果之间的比值,将所述比值与预设常数的乘积记录为所述当前通道的对比值;A recording sub-module, configured to determine the ratio between the first travel value result and the second difference result, and record the product of the ratio and a preset constant as the comparison value of the current channel;
增强处理子模块,用于在每一个所述第一目标图像块的三个通道所对应的三个所述对比值均被记录之后,通过三个所述对比值对与其对应的所述第一目标图像块进行对比度增强处理。The enhancement processing sub-module is configured to, after the three contrast values corresponding to the three channels of each of the first target image blocks are all recorded, pass the three contrast value pairs to the corresponding first The target image block undergoes contrast enhancement processing.
进一步地,所述分类模块包括:Further, the classification module includes:
输入子模块,用于将所有的所述第二目标图像块输入至所述预设卷积神经网络;An input sub-module for inputting all the second target image blocks to the preset convolutional neural network;
分类子模块,用于根据所述预设卷积神经网络中设置的权重系数对所有的所述第二目标图像块中的每一个像素进行预测分类,得到分类成功的多个所述第三目标图像块。The classification sub-module is used to predict and classify each pixel in all the second target image blocks according to the weight coefficients set in the preset convolutional neural network to obtain a plurality of successfully classified third targets Image block.
进一步地,所述检测模块包括:Further, the detection module includes:
第二确定子模块,用于从所有所述质量检测结果中确定出异常的质量检测结果,确定与异常的质量检测结果对应的所述第三目标图像块在整张玻片中的所有所述第三目标图像块中的占比数;The second determination sub-module is used to determine the abnormal quality detection result from all the quality detection results, and determine all the third target image blocks in the entire glass slide corresponding to the abnormal quality detection result The proportion of the third target image block;
确认子模块,用于在确定所述占比数达到预设占比阈值时,确认整张玻片的所述玻片数字化信息图像存在质量问题,通过预设图形结构在与整张玻片对应的质量检测结果中标记异常的所述质量检测结果,并发送并提示预设接收人员。The confirmation sub-module is used to confirm that there is a quality problem in the digitalized information image of the entire glass slide when it is determined that the accounted ratio reaches the preset accounted ratio threshold. The preset graphic structure is used to correspond to the entire glass slide. Mark the abnormal quality inspection result in the quality inspection result, and send and prompt the preset recipient.
关于玻片数字化信息质量检测装置的具体限定可以参见上文中对于玻片数字化信息质量检测方法的限定,在此不再赘述。上述玻片数字化信息质量检测装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the device for detecting the quality of the digital information of the slide, please refer to the above limitation on the method of detecting the quality of the digitized information of the slide, which will not be repeated here. Each module in the above-mentioned glass slide digital information quality inspection device can be implemented in whole or in part by software, hardware, and a combination thereof. The above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图4所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储玻片数字化信息质量检测方法中涉及到的数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种玻片数字化信息质量检测方法。In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. 4. The computer equipment includes a processor, a memory, a network interface, and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used to store the data involved in the method for detecting the quality of the digital information of the slide. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for detecting the quality of the slide digital information is realized.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现上述实施例中玻片数字化信息质量检测方法的步骤,例如图2所示的步骤S10至步骤S50。或者,处理器执行计算机程序时实现上述实施例中玻片数字化信息质量检测装置的各模块/单元的功能,例如图3所示模块11至模块15的功能。为避免重复,这里不再赘述。In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the computer program, the quality of the slide digital information in the above-mentioned embodiment is realized. The steps of the detection method are, for example, step S10 to step S50 shown in FIG. 2. Or, when the processor executes the computer program, the function of each module/unit of the apparatus for detecting the quality of slide digital information in the foregoing embodiment is realized, for example, the functions of the modules 11 to 15 shown in FIG. 3. To avoid repetition, I won’t repeat them here.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述实施例中玻片数字化信息质量检测方法的步骤,例如图2所示的步骤S10至步骤S50。或者,计算机程序被处理器执行时实现上述实施例中玻片数字化信息质量检测装置的各模块/单元的功能,例如图3所示模块11至模块15的功能。为避免重复,这里不再赘述。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for detecting the quality of the slide digital information in the above-mentioned embodiment are implemented, as shown in FIG. 2的Steps S10 to S50. Or, when the computer program is executed by the processor, the functions of the modules/units of the apparatus for detecting the quality of slide digital information in the foregoing embodiment are realized, for example, the functions of the modules 11 to 15 shown in FIG. 3. To avoid repetition, I won’t repeat them here.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本 申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(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)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage. In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a 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 Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the division of the above functional units and modules is used as an example. In practical applications, the above functions can be allocated to different functional units and modules as needed. Module completion, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that it can still implement the foregoing The technical solutions recorded in the examples are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be included in Within the scope of protection of this application.

Claims (20)

  1. 一种玻片数字化信息质量检测方法,其中,包括:A method for detecting the quality of digital information on slides, which includes:
    获取整张玻片的玻片数字化信息图像;Obtain the slide digital information image of the entire slide;
    从所述玻片数字化信息图像中提取出包含预设感兴趣区域的区域图像,并对所述区域图像进行图像切割后,获取切割后的多个第一目标图像块;Extracting a region image containing a preset region of interest from the slide digitized information image, and performing image cutting on the region image, to obtain a plurality of first target image blocks after the cutting;
    根据图像处理算法对每一个所述第一目标图像块进行对比度增强处理,得到已增强图像视觉效果的多个第二目标图像块;Performing contrast enhancement processing on each of the first target image blocks according to an image processing algorithm to obtain a plurality of second target image blocks with enhanced image visual effects;
    根据预设卷积神经网络对所有所述第二目标图像块进行质量分类,得到分类成功的多个第三目标图像块;每一个分类成功后的所述第三目标图像块对应一个质量分类结果;Perform quality classification on all the second target image blocks according to a preset convolutional neural network to obtain a plurality of third target image blocks successfully classified; each of the third target image blocks after successful classification corresponds to a quality classification result ;
    对所有所述第三目标图像块的所述质量分类结果进行结合检测后,得到整张玻片的玻片数字化信息质量检测结果。After the combined detection of the quality classification results of all the third target image blocks, the quality detection result of the slide digital information of the entire slide is obtained.
  2. 根据权利要求1所述的玻片数字化信息质量检测方法,其中,从所述玻片数字化信息图像中提取出包含预设感兴趣区域的区域图像,并对所述区域图像进行图像切割,包括:The method for detecting the quality of digital information of a slide glass according to claim 1, wherein extracting a region image containing a preset region of interest from the digital information image of the slide glass and performing image cutting on the region image comprises:
    通过选取的预设分辨率图层对所述玻片数字化信息图像进行分辨率调整,得到调整后的所述玻片数字化信息图像;Adjusting the resolution of the digitized information image of the slide glass through the selected preset resolution layer to obtain the adjusted digitized information image of the slide glass;
    利用霍夫变换算法从调整后的所述玻片数字化信息图像中确定出所述预设感兴趣区域,并利用阈值分割图像算法从调整后的所述玻片数字化信息图像提取出所述包含预设感兴趣区域的区域图像;The Hough transform algorithm is used to determine the preset region of interest from the adjusted digitized information image of the slide, and the threshold image segmentation algorithm is used to extract the pre-contained information from the adjusted digitized information image of the slide. Set the region image of the region of interest;
    使用预设大小的划窗对所述包含预设感兴趣区域的区域图像进行图像切割。Image cutting is performed on the region image containing the preset region of interest by using a wiped window of a preset size.
  3. 根据权利要求2所述的玻片数字化信息质量检测方法,其中,所述利用霍夫变换算法从调整后的所述玻片数字化信息图像中确定出所述预设感兴趣区域之前,还包括:The method for detecting the quality of the slide digital information according to claim 2, wherein before the determining the preset region of interest from the adjusted digital information image of the slide using the Hough transform algorithm, the method further comprises:
    在确定所述玻片数字化信息图像为黑白图像时,依次对调整后的所述玻片数字化信息图像依次进行图像膨胀和图像腐蚀操作。When it is determined that the digitized information image of the slide glass is a black and white image, the image expansion and image erosion operations are sequentially performed on the adjusted digitized information image of the slide glass in sequence.
  4. 根据权利要求1所述的玻片数字化信息质量检测方法,其中,所述根据图像处理算法对每一个所述第一目标图像块进行对比度增强处理,包括:The method for detecting the quality of digital information of a slide glass according to claim 1, wherein said performing contrast enhancement processing on each of said first target image blocks according to an image processing algorithm comprises:
    获取每一个所述第一目标图像块分别对应于R通道、G通道和B通道三个通道的通道数据;Acquiring channel data of each of the first target image blocks corresponding to three channels of R channel, G channel, and B channel;
    从所有的通道数据中确定每一个通道的最大通道数据和最小通道数据;Determine the maximum channel data and minimum channel data of each channel from all channel data;
    自各个所述第一目标图像块中的三个通道中按照预设选取规则选取一个通道作为当前通道,对所述当前通道的通道数据与所述当前通道的所述最小通道数据进行差值对比后,获取第一差值结果;Select one channel from the three channels in each of the first target image blocks as the current channel according to a preset selection rule, and compare the difference between the channel data of the current channel and the minimum channel data of the current channel After that, obtain the first difference result;
    在所述当前通道下,将所述最大通道数据与所述最小通道数据进行差值对比后,获取第二差值结果;Under the current channel, after performing a difference comparison between the maximum channel data and the minimum channel data, obtain a second difference result;
    确定所述第一出差值结果与所述第二差值结果之间的比值,将所述比值与预设常数的乘积记录为所述当前通道的对比值;Determine the ratio between the first travel value result and the second difference result, and record the product of the ratio and a preset constant as the comparison value of the current channel;
    在每一个所述第一目标图像块的三个通道所对应的三个所述对比值均被记录之后,通过三个所述对比值对与其对应的所述第一目标图像块进行对比度增强处理。After the three contrast values corresponding to the three channels of each of the first target image blocks are all recorded, perform contrast enhancement processing on the first target image block corresponding to the three contrast values .
  5. 根据权利要求1所述的玻片数字化信息质量检测方法,其中,所述根据预设卷积神经网络对所有所述第二目标图像块进行质量分类,得到分类成功的多个第三目标图像块,包括:The method for detecting the quality of slide digital information according to claim 1, wherein the quality classification is performed on all the second target image blocks according to a preset convolutional neural network to obtain a plurality of successfully classified third target image blocks ,include:
    将所有的所述第二目标图像块输入至所述预设卷积神经网络;Input all the second target image blocks to the preset convolutional neural network;
    根据所述预设卷积神经网络中设置的权重系数对所有的所述第二目标图像块中的每一个像素进行预测分类,得到分类成功的多个所述第三目标图像块。Predictive classification is performed on each pixel in all the second target image blocks according to the weight coefficients set in the preset convolutional neural network to obtain a plurality of the third target image blocks successfully classified.
  6. 根据权利要求1所述的玻片数字化信息质量检测方法,其中,所述玻片数字化信息质量检测结果存储于区块链中;The method for detecting the quality of digital information of the slides according to claim 1, wherein the results of the quality detection of the digital information of the slides are stored in a blockchain;
    所述对所有所述第三目标图像块的所述质量分类结果进行结合检测后,得到整张玻片的玻片数字化信息质量检测结果,包括:After the combined detection of the quality classification results of all the third target image blocks, the digital information quality detection result of the entire glass slide is obtained, including:
    从所有所述质量检测结果中确定出异常的质量检测结果,确定与异常的质量检测结果对应的所述第三目标图像块在整张玻片中的所有所述第三目标图像块中的占比数;Determine the abnormal quality detection result from all the quality detection results, and determine the proportion of the third target image block corresponding to the abnormal quality detection result in all the third target image blocks in the entire glass slide Ratio
    在确定所述占比数达到预设占比阈值时,确认整张玻片的所述玻片数字化信息图像存在质量问题,通过预设图形结构在与整张玻片对应的质量检测结果中标记异常的所述质量检测结果,并发送并提示预设接收人员。When it is determined that the proportion reaches the preset proportion threshold, it is confirmed that the digital information image of the entire glass slide has a quality problem, and the quality inspection result corresponding to the entire glass slide is marked by the preset graphic structure The abnormal result of the quality inspection is sent and reminded to the preset recipient.
  7. 一种玻片数字化信息质量检测装置,其中,包括:A glass slide digital information quality detection device, which includes:
    第一获取模块,用于获取整张玻片的玻片数字化信息图像;The first acquisition module is used to acquire the digitized information image of the entire slide;
    第二获取模块,用于从所述玻片数字化信息图像中提取出包含预设感兴趣区域的区域图像,并对所述区域图像进行图像切割后,获取切割后的多个第一目标图像块;The second acquisition module is used to extract a region image containing a preset region of interest from the slide digitized information image, and after performing image cutting on the region image, acquire a plurality of first target image blocks after cutting ;
    增强处理模块,用于根据图像处理算法对每一个所述第一目标图像块进行对比度增强处理,得到已增强图像视觉效果的多个第二目标图像块;An enhancement processing module, configured to perform contrast enhancement processing on each of the first target image blocks according to an image processing algorithm to obtain a plurality of second target image blocks with enhanced image visual effects;
    分类模块,用于根据预设卷积神经网络对所有所述第二目标图像块进行质量分类,得到分类成功的多个第三目标图像块;每一个分类成功后的所述第三目标图像块对应一个质量分类结果;The classification module is used to classify the quality of all the second target image blocks according to a preset convolutional neural network to obtain a plurality of successfully classified third target image blocks; each of the third target image blocks successfully classified Corresponding to a quality classification result;
    检测模块,用于对所有所述第三目标图像块的所述质量分类结果进行结合检测后,得到整张玻片的玻片数字化信息质量检测结果。The detection module is configured to perform combined detection on the quality classification results of all the third target image blocks to obtain the quality detection result of the slide digital information of the entire slide.
  8. 根据权利要求7所述的玻片数字化信息质量检测装置,其中,所述第二获取模块包括:8. The device for detecting quality of slide digital information according to claim 7, wherein the second acquisition module comprises:
    调整子模块,包括通过选取的预设分辨率图层对所述玻片数字化信息图像进行分辨率调整,得到调整后的所述玻片数字化信息图像;The adjustment sub-module includes adjusting the resolution of the digitized information image of the slide glass through the selected preset resolution layer to obtain the digitized information image of the slide glass after adjustment;
    提取子模块,包括利用霍夫变换算法从调整后的所述玻片数字化信息图像中确定出所述预设感兴趣区域,并利用阈值分割图像算法从调整后的所述玻片数字化信息图像提取出所述包含预设感兴趣区域的区域图像;The extraction sub-module includes using the Hough transform algorithm to determine the preset region of interest from the adjusted digitized information image of the slide, and using a threshold image segmentation algorithm to extract the adjusted digitized information image of the slide Output the region image containing the preset region of interest;
    切割子模块,用于使用预设大小的划窗对所述包含预设感兴趣区域的区域图像进行图像切割。The cutting sub-module is used to perform image cutting on the region image containing the predetermined region of interest by using a scribe window of a preset size.
  9. 一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如下所述玻片数字化信息质量检测方法:A computer device including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the following slide digital information when the computer program is executed Quality inspection method:
    获取整张玻片的玻片数字化信息图像;Obtain the slide digital information image of the entire slide;
    从所述玻片数字化信息图像中提取出包含预设感兴趣区域的区域图像,并对所述区域图像进行图像切割后,获取切割后的多个第一目标图像块;Extracting a region image containing a preset region of interest from the slide digitized information image, and performing image cutting on the region image, to obtain a plurality of first target image blocks after the cutting;
    根据图像处理算法对每一个所述第一目标图像块进行对比度增强处理,得到已增强图像视觉效果的多个第二目标图像块;Performing contrast enhancement processing on each of the first target image blocks according to an image processing algorithm to obtain a plurality of second target image blocks with enhanced image visual effects;
    根据预设卷积神经网络对所有所述第二目标图像块进行质量分类,得到分类成功的多个第三目标图像块;每一个分类成功后的所述第三目标图像块对应一个质量分类结果;Perform quality classification on all the second target image blocks according to a preset convolutional neural network to obtain a plurality of third target image blocks successfully classified; each of the third target image blocks after successful classification corresponds to a quality classification result ;
    对所有所述第三目标图像块的所述质量分类结果进行结合检测后,得到整张玻片的玻片数字化信息质量检测结果。After the combined detection of the quality classification results of all the third target image blocks, the quality detection result of the slide digital information of the entire slide is obtained.
  10. 根据权利要求9所述的计算机设备,其中,从所述玻片数字化信息图像中提取出包含预设感兴趣区域的区域图像,并对所述区域图像进行图像切割,包括:9. The computer device according to claim 9, wherein extracting a region image containing a preset region of interest from the slide digitized information image, and performing image cutting on the region image, comprises:
    通过选取的预设分辨率图层对所述玻片数字化信息图像进行分辨率调整,得到调整后的所述玻片数字化信息图像;Adjusting the resolution of the digitized information image of the slide glass through the selected preset resolution layer to obtain the adjusted digitized information image of the slide glass;
    利用霍夫变换算法从调整后的所述玻片数字化信息图像中确定出所述预设感兴趣区域,并利用阈值分割图像算法从调整后的所述玻片数字化信息图像提取出所述包含预设感兴趣区域的区域图像;The Hough transform algorithm is used to determine the preset region of interest from the adjusted digitized information image of the slide, and the threshold image segmentation algorithm is used to extract the pre-contained information from the adjusted digitized information image of the slide. Set the region image of the region of interest;
    使用预设大小的划窗对所述包含预设感兴趣区域的区域图像进行图像切割。Image cutting is performed on the region image containing the preset region of interest by using a wiped window of a preset size.
  11. 根据权利要求10所述的计算机设备,其中,所述利用霍夫变换算法从调整后的所述玻片数字化信息图像中确定出所述预设感兴趣区域之前,还包括:10. The computer device according to claim 10, wherein before the determining the preset region of interest from the adjusted digitized information image of the slide using the Hough transform algorithm, the method further comprises:
    在确定所述玻片数字化信息图像为黑白图像时,依次对调整后的所述玻片数字化信息图像依次进行图像膨胀和图像腐蚀操作。When it is determined that the digitized information image of the slide glass is a black and white image, the image expansion and image erosion operations are sequentially performed on the adjusted digitized information image of the slide glass in sequence.
  12. 根据权利要求9所述的计算机设备,其中,所述根据图像处理算法对每一个所述第一目标图像块进行对比度增强处理,包括:9. The computer device according to claim 9, wherein said performing contrast enhancement processing on each of said first target image blocks according to an image processing algorithm comprises:
    获取每一个所述第一目标图像块分别对应于R通道、G通道和B通道三个通道的通道数据;Acquiring channel data of each of the first target image blocks corresponding to three channels of R channel, G channel, and B channel;
    从所有的通道数据中确定每一个通道的最大通道数据和最小通道数据;Determine the maximum channel data and minimum channel data of each channel from all channel data;
    自各个所述第一目标图像块中的三个通道中按照预设选取规则选取一个通道作为当前通道,对所述当前通道的通道数据与所述当前通道的所述最小通道数据进行差值对比后,获取第一差值结果;Select one channel from the three channels in each of the first target image blocks as the current channel according to a preset selection rule, and compare the difference between the channel data of the current channel and the minimum channel data of the current channel After that, obtain the first difference result;
    在所述当前通道下,将所述最大通道数据与所述最小通道数据进行差值对比后,获取第二差值结果;Under the current channel, after performing a difference comparison between the maximum channel data and the minimum channel data, obtain a second difference result;
    确定所述第一出差值结果与所述第二差值结果之间的比值,将所述比值与预设常数的乘积记录为所述当前通道的对比值;Determine the ratio between the first travel value result and the second difference result, and record the product of the ratio and a preset constant as the comparison value of the current channel;
    在每一个所述第一目标图像块的三个通道所对应的三个所述对比值均被记录之后,通过三个所述对比值对与其对应的所述第一目标图像块进行对比度增强处理。After the three contrast values corresponding to the three channels of each of the first target image blocks are all recorded, perform contrast enhancement processing on the first target image block corresponding to the three contrast values .
  13. 根据权利要求9所述的计算机设备,其中,所述根据预设卷积神经网络对所有所述第二目标图像块进行质量分类,得到分类成功的多个第三目标图像块,包括:9. The computer device according to claim 9, wherein the quality classification of all the second target image blocks according to a preset convolutional neural network to obtain a plurality of third target image blocks successfully classified comprises:
    将所有的所述第二目标图像块输入至所述预设卷积神经网络;Input all the second target image blocks to the preset convolutional neural network;
    根据所述预设卷积神经网络中设置的权重系数对所有的所述第二目标图像块中的每一个像素进行预测分类,得到分类成功的多个所述第三目标图像块。Predictive classification is performed on each pixel in all the second target image blocks according to the weight coefficients set in the preset convolutional neural network to obtain a plurality of the third target image blocks successfully classified.
  14. 根据权利要求9所述的计算机设备,其中,所述玻片数字化信息质量检测结果存储于区块链中;9. The computer device according to claim 9, wherein the digital information quality inspection result of the slide is stored in a blockchain;
    所述对所有所述第三目标图像块的所述质量分类结果进行结合检测后,得到整张玻片的玻片数字化信息质量检测结果,包括:After the combined detection of the quality classification results of all the third target image blocks, the digital information quality detection result of the entire glass slide is obtained, including:
    从所有所述质量检测结果中确定出异常的质量检测结果,确定与异常的质量检测结果对应的所述第三目标图像块在整张玻片中的所有所述第三目标图像块中的占比数;Determine the abnormal quality detection result from all the quality detection results, and determine the proportion of the third target image block corresponding to the abnormal quality detection result in all the third target image blocks in the entire glass slide Ratio
    在确定所述占比数达到预设占比阈值时,确认整张玻片的所述玻片数字化信息图像存在质量问题,通过预设图形结构在与整张玻片对应的质量检测结果中标记异常的所述质量检测结果,并发送并提示预设接收人员。When it is determined that the proportion reaches the preset proportion threshold, it is confirmed that the digital information image of the entire glass slide has a quality problem, and the quality inspection result corresponding to the entire glass slide is marked by the preset graphic structure The abnormal result of the quality inspection is sent and reminded to the preset recipient.
  15. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其中,所述计算机程序被处理器执行时实现如下所述玻片数字化信息质量检测方法:A computer-readable storage medium, the computer-readable storage medium stores a computer program, wherein the computer program is executed by a processor to implement the following method for detecting the quality of slide digital information:
    获取整张玻片的玻片数字化信息图像;Obtain the slide digital information image of the entire slide;
    从所述玻片数字化信息图像中提取出包含预设感兴趣区域的区域图像,并对所述区域图像进行图像切割后,获取切割后的多个第一目标图像块;Extracting a region image containing a preset region of interest from the slide digitized information image, and performing image cutting on the region image, to obtain a plurality of first target image blocks after the cutting;
    根据图像处理算法对每一个所述第一目标图像块进行对比度增强处理,得到已增强图像视觉效果的多个第二目标图像块;Performing contrast enhancement processing on each of the first target image blocks according to an image processing algorithm to obtain a plurality of second target image blocks with enhanced image visual effects;
    根据预设卷积神经网络对所有所述第二目标图像块进行质量分类,得到分类成功的多个第三目标图像块;每一个分类成功后的所述第三目标图像块对应一个质量分类结果;Perform quality classification on all the second target image blocks according to a preset convolutional neural network to obtain a plurality of third target image blocks successfully classified; each of the third target image blocks after successful classification corresponds to a quality classification result ;
    对所有所述第三目标图像块的所述质量分类结果进行结合检测后,得到整张玻片的玻片数字化信息质量检测结果。After the combined detection of the quality classification results of all the third target image blocks, the quality detection result of the slide digital information of the entire slide is obtained.
  16. 根据权利要求15所述的计算机可读存储介质,其中,从所述玻片数字化信息图像中提取出包含预设感兴趣区域的区域图像,并对所述区域图像进行图像切割,包括:15. The computer-readable storage medium according to claim 15, wherein extracting a region image containing a preset region of interest from the slide digitized information image, and performing image cutting on the region image, comprises:
    通过选取的预设分辨率图层对所述玻片数字化信息图像进行分辨率调整,得到调整后的所述玻片数字化信息图像;Adjusting the resolution of the digitized information image of the slide glass through the selected preset resolution layer to obtain the adjusted digitized information image of the slide glass;
    利用霍夫变换算法从调整后的所述玻片数字化信息图像中确定出所述预设感兴趣区域,并利用阈值分割图像算法从调整后的所述玻片数字化信息图像提取出所述包含预设感兴趣区域的区域图像;The Hough transform algorithm is used to determine the preset region of interest from the adjusted digitized information image of the slide, and the threshold image segmentation algorithm is used to extract the pre-contained information from the adjusted digitized information image of the slide. Set the region image of the region of interest;
    使用预设大小的划窗对所述包含预设感兴趣区域的区域图像进行图像切割。Image cutting is performed on the region image containing the preset region of interest by using a wiped window of a preset size.
  17. 根据权利要求16所述的计算机可读存储介质,其中,所述利用霍夫变换算法从调整后的所述玻片数字化信息图像中确定出所述预设感兴趣区域之前,还包括:15. The computer-readable storage medium according to claim 16, wherein before the determining the preset region of interest from the adjusted digitized information image of the slide using the Hough transform algorithm, the method further comprises:
    在确定所述玻片数字化信息图像为黑白图像时,依次对调整后的所述玻片数字化信息图像依次进行图像膨胀和图像腐蚀操作。When it is determined that the digitized information image of the slide glass is a black and white image, the image expansion and image erosion operations are sequentially performed on the adjusted digitized information image of the slide glass in sequence.
  18. 根据权利要求15所述的计算机可读存储介质,其中,所述根据图像处理算法对每一个所述第一目标图像块进行对比度增强处理,包括:15. The computer-readable storage medium according to claim 15, wherein the performing contrast enhancement processing on each of the first target image blocks according to an image processing algorithm comprises:
    获取每一个所述第一目标图像块分别对应于R通道、G通道和B通道三个通道的通道数据;Acquiring channel data of each of the first target image blocks corresponding to three channels of R channel, G channel, and B channel;
    从所有的通道数据中确定每一个通道的最大通道数据和最小通道数据;Determine the maximum channel data and minimum channel data of each channel from all channel data;
    自各个所述第一目标图像块中的三个通道中按照预设选取规则选取一个通道作为当前通道,对所述当前通道的通道数据与所述当前通道的所述最小通道数据进行差值对比后,获取第一差值结果;Select one channel from the three channels in each of the first target image blocks as the current channel according to a preset selection rule, and compare the difference between the channel data of the current channel and the minimum channel data of the current channel After that, obtain the first difference result;
    在所述当前通道下,将所述最大通道数据与所述最小通道数据进行差值对比后,获取第二差值结果;Under the current channel, after performing a difference comparison between the maximum channel data and the minimum channel data, obtain a second difference result;
    确定所述第一出差值结果与所述第二差值结果之间的比值,将所述比值与预设常数的乘积记录为所述当前通道的对比值;Determine the ratio between the first travel value result and the second difference result, and record the product of the ratio and a preset constant as the comparison value of the current channel;
    在每一个所述第一目标图像块的三个通道所对应的三个所述对比值均被记录之后,通过三个所述对比值对与其对应的所述第一目标图像块进行对比度增强处理。After the three contrast values corresponding to the three channels of each of the first target image blocks are all recorded, perform contrast enhancement processing on the first target image block corresponding to the three contrast values .
  19. 根据权利要求15所述的计算机可读存储介质,其中,所述根据预设卷积神经网络对所有所述第二目标图像块进行质量分类,得到分类成功的多个第三目标图像块,包括:The computer-readable storage medium according to claim 15, wherein the quality classification of all the second target image blocks according to a preset convolutional neural network to obtain a plurality of third target image blocks successfully classified includes :
    将所有的所述第二目标图像块输入至所述预设卷积神经网络;Input all the second target image blocks to the preset convolutional neural network;
    根据所述预设卷积神经网络中设置的权重系数对所有的所述第二目标图像块中的每一个像素进行预测分类,得到分类成功的多个所述第三目标图像块。Predictive classification is performed on each pixel in all the second target image blocks according to the weight coefficients set in the preset convolutional neural network to obtain a plurality of the third target image blocks successfully classified.
  20. 根据权利要求15所述的计算机可读存储介质,其中,所述玻片数字化信息质量检测结果存储于区块链中;15. The computer-readable storage medium according to claim 15, wherein the result of the quality detection of the digital information of the slide is stored in a blockchain;
    所述对所有所述第三目标图像块的所述质量分类结果进行结合检测后,得到整张玻片的玻片数字化信息质量检测结果,包括:After the combined detection of the quality classification results of all the third target image blocks, the digital information quality detection result of the entire glass slide is obtained, including:
    从所有所述质量检测结果中确定出异常的质量检测结果,确定与异常的质量检测结果对应的所述第三目标图像块在整张玻片中的所有所述第三目标图像块中的占比数;Determine the abnormal quality detection result from all the quality detection results, and determine the proportion of the third target image block corresponding to the abnormal quality detection result in all the third target image blocks in the entire glass slide Ratio
    在确定所述占比数达到预设占比阈值时,确认整张玻片的所述玻片数字化信息图像存在质量问题,通过预设图形结构在与整张玻片对应的质量检测结果中标记异常的所述质量检测结果,并发送并提示预设接收人员。When it is determined that the proportion reaches the preset proportion threshold, it is confirmed that the digital information image of the entire glass slide has a quality problem, and the quality inspection result corresponding to the entire glass slide is marked by the preset graphic structure The abnormal result of the quality inspection is sent and reminded to the preset recipient.
PCT/CN2020/112332 2020-07-30 2020-08-30 Slide digitization information quality testing method and apparatus, and device and medium WO2021189771A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010752434.2A CN111899246B (en) 2020-07-30 2020-07-30 Slide digital information quality detection method, device, equipment and medium
CN202010752434.2 2020-07-30

Publications (1)

Publication Number Publication Date
WO2021189771A1 true WO2021189771A1 (en) 2021-09-30

Family

ID=73182682

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/112332 WO2021189771A1 (en) 2020-07-30 2020-08-30 Slide digitization information quality testing method and apparatus, and device and medium

Country Status (2)

Country Link
CN (1) CN111899246B (en)
WO (1) WO2021189771A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114219813A (en) * 2021-12-16 2022-03-22 数坤(北京)网络科技股份有限公司 Image processing method, intelligent terminal and storage medium
WO2023108412A1 (en) * 2021-12-14 2023-06-22 深圳先进技术研究院 Rapid recognition and quantification method for target protein

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112508925B (en) * 2020-12-16 2023-07-04 广州大学 Electronic lock panel quality detection method, system, computer device and storage medium
WO2022126923A1 (en) * 2020-12-18 2022-06-23 平安科技(深圳)有限公司 Asc-us diagnosis result identification method and apparatus, computer device, and storage medium
CN113962976B (en) * 2021-01-20 2022-09-16 赛维森(广州)医疗科技服务有限公司 Quality evaluation method for pathological slide digital image
CN113763315B (en) * 2021-05-18 2023-04-07 腾讯医疗健康(深圳)有限公司 Slide image information acquisition method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016189065A1 (en) * 2015-05-26 2016-12-01 Ventana Medical Systems, Inc. Method and system for assessing stain quality for in-situ hybridization and immunohistochemistry
CN108364017A (en) * 2018-01-24 2018-08-03 华讯方舟科技有限公司 A kind of picture quality sorting technique, system and terminal device
CN109583449A (en) * 2018-10-29 2019-04-05 深圳市华尊科技股份有限公司 Character identifying method and Related product
CN110853006A (en) * 2019-11-05 2020-02-28 华南理工大学 Method for evaluating quality of digital pathological image acquired by scanner
CN111275016A (en) * 2020-03-03 2020-06-12 湖南国科智瞳科技有限公司 Slide scanning image acquisition and analysis method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007024927A (en) * 2005-07-12 2007-02-01 Olympus Corp Microscopic image photographing apparatus
US9098736B2 (en) * 2007-09-21 2015-08-04 Leica Biosystems Imaging, Inc. Image quality for diagnostic resolution digital slide images

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016189065A1 (en) * 2015-05-26 2016-12-01 Ventana Medical Systems, Inc. Method and system for assessing stain quality for in-situ hybridization and immunohistochemistry
CN108364017A (en) * 2018-01-24 2018-08-03 华讯方舟科技有限公司 A kind of picture quality sorting technique, system and terminal device
CN109583449A (en) * 2018-10-29 2019-04-05 深圳市华尊科技股份有限公司 Character identifying method and Related product
CN110853006A (en) * 2019-11-05 2020-02-28 华南理工大学 Method for evaluating quality of digital pathological image acquired by scanner
CN111275016A (en) * 2020-03-03 2020-06-12 湖南国科智瞳科技有限公司 Slide scanning image acquisition and analysis method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023108412A1 (en) * 2021-12-14 2023-06-22 深圳先进技术研究院 Rapid recognition and quantification method for target protein
CN114219813A (en) * 2021-12-16 2022-03-22 数坤(北京)网络科技股份有限公司 Image processing method, intelligent terminal and storage medium

Also Published As

Publication number Publication date
CN111899246B (en) 2023-09-19
CN111899246A (en) 2020-11-06

Similar Documents

Publication Publication Date Title
WO2021189771A1 (en) Slide digitization information quality testing method and apparatus, and device and medium
WO2021139258A1 (en) Image recognition based cell recognition and counting method and apparatus, and computer device
CN110705583B (en) Cell detection model training method, device, computer equipment and storage medium
JP2021166062A (en) Focal point weighting machine learning classifier error prediction for microscope slide image
CN110853005A (en) Immunohistochemical membrane staining section diagnosis method and device
US20220415480A1 (en) Method and apparatus for visualization of bone marrow cell populations
CN113962976B (en) Quality evaluation method for pathological slide digital image
US10991098B1 (en) Methods for automated chromosome analysis
CN110956628B (en) Picture grade classification method, device, computer equipment and storage medium
WO2022134354A1 (en) Vehicle loss detection model training method and apparatus, vehicle loss detection method and apparatus, and device and medium
US11817215B2 (en) Artificial intelligence cloud diagnosis platform
CN111369523A (en) Method, system, device and medium for detecting cell stacking in microscopic image
WO2021189770A1 (en) Image enhancement processing method and apparatus based on artificial intelligence, and device and medium
CN110298829A (en) A kind of lingual diagnosis method, apparatus, system, computer equipment and storage medium
US20220138939A1 (en) Systems and Methods for Digital Pathology
Rai et al. Deep learning for necrosis detection using canine perivascular wall tumour whole slide images
CN109859218B (en) Pathological graph key area determination method and device, electronic equipment and storage medium
CN111339899B (en) Catheter feature acquisition method, device, equipment, medium and intelligent microscope
CN116485779B (en) Adaptive wafer defect detection method and device, electronic equipment and storage medium
CN111768406A (en) Cell image processing method, device, equipment and storage medium
CN113344961B (en) Image background segmentation method, device, computing equipment and storage medium
CN113763315B (en) Slide image information acquisition method, device, equipment and medium
WO2021139447A1 (en) Abnormal cervical cell detection apparatus and method
WO2021169452A1 (en) Thyroid nodule image processing method and apparatus, and computer device
CN115249358A (en) Method and system for quantitatively detecting carbon particles in macrophages and computer equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20927027

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20927027

Country of ref document: EP

Kind code of ref document: A1