[go: up one dir, main page]

CN116030459A - Detection method, device and storage medium for recognizing malaria parasites - Google Patents

Detection method, device and storage medium for recognizing malaria parasites Download PDF

Info

Publication number
CN116030459A
CN116030459A CN202310080292.3A CN202310080292A CN116030459A CN 116030459 A CN116030459 A CN 116030459A CN 202310080292 A CN202310080292 A CN 202310080292A CN 116030459 A CN116030459 A CN 116030459A
Authority
CN
China
Prior art keywords
plasmodium
blood smear
image
detected
malaria
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.)
Pending
Application number
CN202310080292.3A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202310080292.3A priority Critical patent/CN116030459A/en
Publication of CN116030459A publication Critical patent/CN116030459A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A50/00TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE in human health protection, e.g. against extreme weather
    • Y02A50/30Against vector-borne diseases, e.g. mosquito-borne, fly-borne, tick-borne or waterborne diseases whose impact is exacerbated by climate change

Landscapes

  • Investigating Or Analysing Biological Materials (AREA)

Abstract

本申请涉及一种识别疟原虫的检测方法、装置及存储介质。该方法包括:获取待检测血涂片图像;将所述待检测血涂片图像输入疟原虫识别模型,由所述疟原虫识别模型进行疟原虫种类及所处发育阶段的检测;获取疟原虫识别模型输出的检测结果。本申请提供的方案,能够通过疟原虫识别模型对图像中不同疟原虫虫种、疟原虫不同生活周期的形态特征等进行自动检测,从而实现对各类疟原虫的自动分类识别。

Figure 202310080292

The application relates to a detection method, device and storage medium for identifying malaria parasites. The method includes: acquiring a blood smear image to be detected; inputting the blood smear image to be detected into a malaria parasite identification model, and using the malaria parasite identification model to detect the type of malaria parasite and its developmental stage; acquiring the malaria parasite identification The detection results output by the model. The solution provided by this application can automatically detect the morphological characteristics of different species of Plasmodium and different life cycles of Plasmodium in the image through the Plasmodium recognition model, so as to realize the automatic classification and identification of various Plasmodium.

Figure 202310080292

Description

识别疟原虫的检测方法、装置及存储介质Detection method, device and storage medium for identifying malaria parasites

技术领域technical field

本申请涉及检测技术领域,尤其涉及一种识别疟原虫的检测方法、装置及存储介质。The present application relates to the technical field of detection, in particular to a detection method, device and storage medium for identifying malaria parasites.

背景技术Background technique

疟疾是由疟原虫寄生于外周血而引起的一种严重传染性疾病。相关技术中,以人工显微镜检查法在血涂片中找到疟原虫为疟疾诊断的“金标准”。Malaria is a serious infectious disease caused by Plasmodium parasites in peripheral blood. In related technologies, finding Plasmodium in blood smears by manual microscopy is the "gold standard" for malaria diagnosis.

人工显微镜检查法操作简便、成本低,且可以进行虫种鉴定,但当检测量大时,经常因为技术人员经验不足、疲劳、注意力不集中等原因导致疟原虫的漏检或误检。Manual microscopy is easy to operate, low in cost, and can identify species of parasites. However, when the detection volume is large, it often leads to missed or false detections of Plasmodium due to lack of experience, fatigue, and inattention of technicians.

发明内容Contents of the invention

为解决或部分解决相关技术中存在的问题,本申请提供一种识别疟原虫的检测方法、装置及存储介质,能够实现各类疟原虫的自动分类检测,改进人工显微镜检查法的不足。In order to solve or partially solve the problems existing in related technologies, this application provides a detection method, device and storage medium for identifying malaria parasites, which can realize automatic classification and detection of various malaria parasites, and improve the shortcomings of manual microscopy.

本申请第一方面提供一种识别疟原虫的检测方法,包括:The first aspect of the present application provides a detection method for identifying Plasmodium, comprising:

获取待检测血涂片图像;Obtain the image of the blood smear to be detected;

将所述待检测血涂片图像输入疟原虫识别模型,由所述疟原虫识别模型进行疟原虫种类及所处发育阶段的检测;Input the image of the blood smear to be detected into the malaria parasite recognition model, and the malaria parasite species and development stage are detected by the malaria parasite recognition model;

获取疟原虫识别模型输出的检测结果。Obtain the detection results output by the Plasmodium identification model.

在一实施方式中,所述疟原虫识别模型按以下方式训练获得:In one embodiment, the Plasmodium recognition model is trained in the following manner:

采集疟原虫血涂片图像,和所述疟原虫血涂片图像对应的疟原虫种类及所处发育阶段的标注;Collecting a Plasmodium blood smear image, marking the type of Plasmodium corresponding to the Plasmodium blood smear image and its developmental stage;

采用卷积神经网络模型对所述疟原虫血涂片图像和所述疟原虫血涂片图像对应的疟原虫种类及所处发育阶段的标注进行学习和训练,获得疟原虫识别模型。A convolutional neural network model is used to learn and train the Plasmodium blood smear image and the Plasmodium species and developmental stages corresponding to the Plasmodium blood smear image to obtain a Plasmodium identification model.

在一实施方式中,所述获取待检测血涂片图像,包括:In one embodiment, the acquisition of the image of the blood smear to be detected includes:

对所述待检测血涂片进行扫描,获取待检测血涂片图像;其中,所述待检测血涂片为待检测厚血膜血涂片;Scanning the blood smear to be detected to obtain an image of the blood smear to be detected; wherein, the blood smear to be detected is a thick blood film blood smear to be detected;

所述采集疟原虫血涂片图像,包括:The collection of Plasmodium blood smear images includes:

对所述疟原虫血涂片进行扫描,获取疟原虫血涂片图像;其中,所述疟原虫血涂片为疟原虫厚血膜血涂片。The Plasmodium blood smear is scanned to obtain a Plasmodium blood smear image; wherein, the Plasmodium blood smear is a Plasmodium thick blood film blood smear.

在一实施方式中,所述采用卷积神经网络模型对所述疟原虫血涂片图像和所述疟原虫血涂片图像对应的疟原虫种类及所处发育阶段的标注进行学习和训练,获得疟原虫识别模型,包括:In one embodiment, the convolutional neural network model is used to learn and train the Plasmodium blood smear image and the Plasmodium species and developmental stages corresponding to the Plasmodium blood smear image, to obtain Plasmodium identification models, including:

对所述疟原虫血涂片图像进行图像特征识别和提取,并与所述疟原虫血涂片图像对应的疟原虫种类及所处发育阶段的标注进行匹配,获得训练集;Carrying out image feature recognition and extraction on the Plasmodium blood smear image, and matching with the Plasmodium species corresponding to the Plasmodium blood smear image and the label of its developmental stage to obtain a training set;

采用卷积神经网络模型对所述训练集进行学习和训练,获得疟原虫识别模型。A convolutional neural network model is used to learn and train the training set to obtain a malaria parasite identification model.

在一实施方式中,所述采用卷积神经网络模型对所述训练集进行学习和训练,获得疟原虫识别模型,包括:In one embodiment, the training set is learned and trained using a convolutional neural network model to obtain a malaria parasite identification model, including:

采用Faster-RCNN对所述训练集进行学习和训练,获得疟原虫识别模型。Using Faster-RCNN to learn and train the training set to obtain a malaria parasite identification model.

在一实施方式中,所述将所述待检测血涂片图像输入疟原虫识别模型,由所述疟原虫识别模型进行疟原虫种类及所处发育阶段的检测,包括:In one embodiment, the input of the image of the blood smear to be detected into the Plasmodium identification model, and the detection of the type of Plasmodium and the developmental stage of the Plasmodium by the Plasmodium identification model include:

根据所述疟原虫在血涂片中的形态特征对所述待检测血涂片图像进行疟原虫种类及所处发育阶段的检测;其中,所述疟原虫在血涂片中的形态特征包括疟原虫的形状、结构、大小、染色情况。According to the morphological characteristics of the malaria parasites in the blood smear, the blood smear image to be detected is detected for the species of the malaria parasite and its developmental stage; wherein, the morphological characteristics of the malaria parasites in the blood smear include Plasmodium The shape, structure, size and staining of protozoa.

在一实施方式中,所述疟原虫的染色情况包括疟原虫的细胞核、细胞质和疟色素的染色情况;或,In one embodiment, the staining of the malaria parasite includes the staining of the nucleus, cytoplasm and malaria pigment of the malaria parasite; or,

所述疟原虫的染色情况包括疟原虫的细胞核和细胞质的染色情况。The staining of the malaria parasite includes the staining of the nucleus and cytoplasm of the malaria parasite.

本申请第二方面提供一种识别疟原虫的检测装置,包括:The second aspect of the present application provides a detection device for identifying Plasmodium, comprising:

图像获取模块,用于获取待检测血涂片图像;An image acquisition module, configured to acquire an image of a blood smear to be detected;

检测模块,用于将所述图像获取模块获取的待检测血涂片图像输入疟原虫识别模型,由所述疟原虫识别模型进行疟原虫种类及所处发育阶段的检测;A detection module, configured to input the image of the blood smear to be detected obtained by the image acquisition module into the malaria parasite identification model, and the malaria parasite identification model is used to detect the type of malaria parasite and its developmental stage;

结果输出模块,用于获取疟原虫识别模型输出的检测结果。The result output module is used to obtain the detection result output by the malaria parasite identification model.

本申请第三方面提供一种电子设备,包括:The third aspect of the present application provides an electronic device, including:

处理器;以及processor; and

存储器,其上存储有可执行代码,当所述可执行代码被所述处理器执行时,使所述处理器执行如上所述的方法。A memory, on which executable codes are stored, which, when executed by the processor, cause the processor to perform the method as described above.

本申请第四方面提供一种计算机可读存储介质,其上存储有可执行代码,当所述可执行代码被电子设备的处理器执行时,使所述处理器执行如上所述的方法。A fourth aspect of the present application provides a computer-readable storage medium, on which executable code is stored, and when the executable code is executed by a processor of an electronic device, the processor is caused to execute the above-mentioned method.

本申请提供的技术方案可以包括以下有益效果:通过疟原虫识别模型可以对疟原虫血涂片图像进行疟原虫种类及所处发育阶段的识别和分类,从而实现各类疟原虫的自动检测,减小疟疾快速诊断对具有熟练技术的专业人员的依赖,实现疟原虫的高效和准确检测。The technical solution provided by the present application may include the following beneficial effects: through the Plasmodium recognition model, the Plasmodium species and developmental stages can be identified and classified on Plasmodium blood smear images, thereby realizing automatic detection of various types of Plasmodium, reducing Rapid diagnosis of small malaria relies on skilled professionals to achieve efficient and accurate detection of malaria parasites.

本申请的技术方案,还可以:通过疟原虫识别模型可以对厚血膜血涂片中的疟原虫进行疟原虫种类及所处发育阶段的识别和分类,观察范围广,疟原虫检出率高,且不需要先进行红细胞的识别标定,可以直接识别疟原虫形态特征,提高各类疟原虫的检测效率。The technical solution of the present application can also: use the Plasmodium identification model to identify and classify the Plasmodium species and developmental stages of Plasmodium in thick blood film blood smears, with a wide range of observation and a high detection rate of Plasmodium , and does not need to identify and calibrate red blood cells first, it can directly identify the morphological characteristics of Plasmodium and improve the detection efficiency of various Plasmodium.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.

附图说明Description of drawings

通过结合附图对本申请示例性实施方式进行更详细地描述,本申请的上述以及其他目的、特征和优势将变得更加明显,其中,在本申请示例性实施方式中,相同的参考标号通常代表相同部件。The above and other objects, features and advantages of the present application will become more apparent by describing the exemplary embodiments of the present application in more detail with reference to the accompanying drawings, wherein, in the exemplary embodiments of the present application, the same reference numerals generally represent same parts.

图1是本申请实施例示出的识别疟原虫的检测方法的流程示意图;Fig. 1 is a schematic flow chart of the detection method for identifying Plasmodium shown in the embodiment of the present application;

图2是本申请实施例示出的疟原虫识别模型的训练方法的流程示意图;Fig. 2 is a schematic flow chart of the training method of the Plasmodium recognition model shown in the embodiment of the present application;

图3是本申请实施例示出的厚血膜和薄血膜涂片制作示意图;Fig. 3 is the schematic diagram of making thick blood film and thin blood film smear shown in the embodiment of the present application;

图4是本申请实施例示出的Faster-RCNN的架构示意图;FIG. 4 is a schematic diagram of the architecture of the Faster-RCNN shown in the embodiment of the present application;

图5是本申请实施例示出的识别疟原虫的检测装置的结构示意;Fig. 5 is a schematic structural diagram of a detection device for identifying malaria parasites shown in an embodiment of the present application;

图6是本申请实施例示出的电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device shown in an embodiment of the present application.

具体实施方式Detailed ways

下面将参照附图更详细地描述本申请的实施方式。虽然附图中显示了本申请的实施方式,然而应该理解,可以以各种形式实现本申请而不应被这里阐述的实施方式所限制。相反,提供这些实施方式是为了使本申请更加透彻和完整,并且能够将本申请的范围完整地传达给本领域的技术人员。Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the scope of this application to those skilled in the art.

在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

应当理解,尽管在本申请可能采用术语“第一”、“第二”、“第三”等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。It should be understood that although the terms "first", "second", "third" and so on may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of the present application, first information may also be called second information, and similarly, second information may also be called first information. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the present application, "plurality" means two or more, unless otherwise specifically defined.

相关技术中,采用人工显微镜检查法进行疟疾诊断的时候,需要技术人员经过专业的训练,积累长期的经验,具备纯熟的技能,还需要对其进行持续不断的培训以维持技术能力。当经验不足的技术人员进行人工显微镜检查时,该方法并不能成为可靠的筛选方式,这在疟疾流行率相对较高的经济不发达地区尤为明显。另一方面,进行人工显微镜检时通过手动移动对焦,利用肉眼在显微镜下观察及进行结果判读,劳动强度大,工作效率低,长期镜下作业还会引起技术人员眼部疼痛、视力下降、眩晕等后果,可能影响检测结果,导致疟原虫的漏检或误检。In related technologies, when using manual microscopic examination to diagnose malaria, technicians need to undergo professional training, accumulate long-term experience, possess proficient skills, and also need continuous training to maintain technical capabilities. This method is not a reliable means of screening when manual microscopic examination is performed by inexperienced technicians, especially in economically underdeveloped areas with relatively high malaria prevalence. On the other hand, manually moving the focus during manual microscope inspection and using the naked eye to observe and interpret the results under the microscope is labor-intensive and low-efficiency. Long-term work under the microscope can also cause eye pain, vision loss, and dizziness for technicians. Other consequences may affect the detection results, resulting in missed or false detection of malaria parasites.

针对上述问题,本申请实施例提供一种识别疟原虫的检测方法,能够实现各类疟原虫的自动分类检测,改进人工显微镜检查法的不足。In view of the above problems, the embodiment of the present application provides a detection method for identifying malaria parasites, which can realize automatic classification and detection of various malaria parasites, and improve the shortcomings of manual microscopy.

以下结合附图详细描述本申请实施例的技术方案。The technical solutions of the embodiments of the present application are described in detail below with reference to the accompanying drawings.

图1是本申请实施例示出的识别疟原虫的检测方法的流程示意图。Fig. 1 is a schematic flowchart of a detection method for identifying Plasmodium shown in an embodiment of the present application.

参见图1,识别疟原虫的检测方法包括:Referring to Figure 1, detection methods to identify Plasmodium include:

S110、获取待检测血涂片图像。S110. Obtain an image of the blood smear to be detected.

该步骤可以是对待检测血涂片进行扫描,获取待检测血涂片图像。其中,对待检测血涂片进行扫描处理采用自动显微扫描系统,自动显微扫描系统包括自动扫描仪、显微镜、相机、计算机等。This step may be to scan the blood smear to be detected to obtain an image of the blood smear to be detected. Wherein, the scanning process of the blood smear to be tested adopts an automatic microscopic scanning system, and the automatic microscopic scanning system includes an automatic scanner, a microscope, a camera, a computer, and the like.

其中,对待检测血涂片进行扫描,可以是对待检测厚血膜血涂片进行扫描,获取待检测血涂片图像。Wherein, scanning the blood smear to be detected may be scanning the thick blood film blood smear to be detected to obtain an image of the blood smear to be detected.

S120、将待检测血涂片图像输入疟原虫识别模型,由疟原虫识别模型进行疟原虫种类及所处发育阶段的检测。S120. Input the image of the blood smear to be detected into the malaria parasite identification model, and the malaria parasite identification model detects the type and developmental stage of the malaria parasite.

其中,疟原虫识别模型可以按照以下方式训练获得:Among them, the malaria parasite recognition model can be trained as follows:

S121、采集疟原虫血涂片图像,和疟原虫血涂片图像对应的疟原虫种类及所处发育阶段的标注。S121. Collect the Plasmodium blood smear image, and label the Plasmodium species corresponding to the Plasmodium blood smear image and its developmental stage.

其中,采集疟原虫血涂片图像,可以是对疟原虫血涂片图像进行扫描,获取疟原虫血涂片图像;疟原虫血涂片可以是疟原虫厚血膜血涂片。Wherein, collecting the Plasmodium blood smear image may be scanning the Plasmodium blood smear image to obtain the Plasmodium blood smear image; the Plasmodium blood smear may be a Plasmodium thick blood film blood smear.

S122、采用卷积神经网络模型对疟原虫血涂片图像和疟原虫血涂片图像对应的疟原虫种类及所处发育阶段的标注进行学习和训练,获得疟原虫识别模型。S122. Using a convolutional neural network model to learn and train the Plasmodium blood smear image and the Plasmodium species and developmental stage labels corresponding to the Plasmodium blood smear image, to obtain a Plasmodium identification model.

该步骤可以是先对疟原虫血涂片图像进行图像特征识别和提取,并将图像特征与疟原虫种类及所处发育阶段的标注进行匹配,获得训练集,再采用卷积神经网络模型对训练集进行学习和训练,获得疟原虫识别模型。This step can be performed on the image feature recognition and extraction of the Plasmodium blood smear image first, and matching the image feature with the label of the Plasmodium species and developmental stage to obtain a training set, and then using the convolutional neural network model to train The set is learned and trained to obtain a malaria parasite recognition model.

其中,图像特征识别和提取过程中,可以是根据疟原虫在血涂片中的形态特征对疟原虫血涂片图像进行图像特征识别和提取。疟原虫在血涂片中的形态特征包括疟原虫的形状、结构、大小、染色情况;其中,疟原虫的染色情况可以由疟原虫的细胞核、细胞质和疟色素三种染色情况组成;或者,疟原虫的染色情况可以由疟原虫的细胞核和细胞质两种染色情况组成。Wherein, in the image feature recognition and extraction process, the image feature recognition and extraction may be performed on the Plasmodium blood smear image according to the morphological characteristics of the Plasmodium in the blood smear. The morphological characteristics of Plasmodium in blood smears include the shape, structure, size, and staining of Plasmodium; among them, the staining of Plasmodium can be composed of three staining conditions: nucleus, cytoplasm and malaria pigment of Plasmodium; or, Plasmodium The staining of the parasite can be composed of the nucleus and cytoplasm of the malaria parasite.

其中,学习和训练可以采用Faster-RCNN进行,获得疟原虫识别模型。Among them, learning and training can be carried out by using Faster-RCNN to obtain a malaria parasite recognition model.

S130、获取疟原虫识别模型输出的检测结果。S130. Obtain the detection result output by the malaria parasite identification model.

该疟原虫识别模型可以对待检测血涂片中是否存在疟原虫、疟原虫种类及所处发育阶段进行识别和判断,输出的检测结果包括是否存在疟原虫、疟原虫种类及其所处发育阶段。其中,疟原虫的种类包括间日疟原虫、恶性疟原虫、三日疟原虫和卵形疟原虫;疟原虫所处发育阶段指上述四种疟原虫分别所处的发育阶段,包括小滋养体(环状体)、大滋养体、裂殖体、配子体等阶段。The Plasmodium identification model can identify and judge whether there is Plasmodium, the type of Plasmodium and its developmental stage in the blood smear to be detected, and the output detection results include whether there is Plasmodium, the type of Plasmodium and its developmental stage. Among them, the species of Plasmodium include Plasmodium vivax, Plasmodium falciparum, Plasmodium malariae and Plasmodium ovale; the developmental stages of Plasmodium refer to the developmental stages of the above four Plasmodium respectively, including small trophozoites ( Ring body), macrotrophozoite, schizont, gametophyte and other stages.

本申请的技术方案,首先通过扫描获取待检测血涂片图像,再利用疟原虫识别模型对待检测血涂片图像进行分类检测,从而实现对疟原虫在镜下图像的自动检测,达到高效、准确识别疟原虫种类及所处发育阶段的效果,减小疟疾快速诊断对具有熟练技术的专业人员的依赖,改进人工显微镜检查法的不足。The technical solution of the present application first obtains the image of the blood smear to be detected by scanning, and then uses the Plasmodium recognition model to classify and detect the image of the blood smear to be detected, so as to realize the automatic detection of the Plasmodium under the microscope, achieving high efficiency and accuracy The effect of identifying the species of Plasmodium and its developmental stage, reducing the dependence of rapid malaria diagnosis on skilled professionals, and improving the shortcomings of manual microscopy.

以下进一步对本申请方案进行详细介绍。The scheme of this application is further described in detail below.

本申请方案中的疟原虫识别模型包括先利用采集的疟原虫血涂片图像获得训练集,再采用卷积神经网络模型对训练集进行学习和训练,从而获得疟原虫识别模型,再利用该疟原虫识别模型对待检测血涂片进行检测。The Plasmodium identification model in the scheme of this application includes firstly using the collected Plasmodium blood smear images to obtain the training set, and then using the convolutional neural network model to learn and train the training set, thereby obtaining the Plasmodium identification model, and then using the Plasmodium The protozoa identification model is used to detect the blood smear to be detected.

图2是本申请实施例示出的疟原虫识别模型训练方法的流程示意图。Fig. 2 is a schematic flowchart of a method for training a Plasmodium identification model shown in an embodiment of the present application.

参见图2,疟原虫识别模型的训练方法包括:Referring to Figure 2, the training methods of the malaria parasite identification model include:

S121、采集疟原虫血涂片图像,和疟原虫血涂片图像对应的疟原虫种类及所处发育阶段的标注。S121. Collect the Plasmodium blood smear image, and label the Plasmodium species corresponding to the Plasmodium blood smear image and its developmental stage.

该步骤可以是对疟原虫血涂片进行扫描,获取疟原虫血涂片图像。其中,对疟原虫血涂片进行扫描处理采用自动显微扫描系统,自动显微扫描系统包括自动扫描仪、显微镜、相机、计算机等。This step may be scanning the Plasmodium blood smear to obtain an image of the Plasmodium blood smear. Among them, the scanning process of the Plasmodium blood smear adopts an automatic microscopic scanning system, which includes an automatic scanner, a microscope, a camera, a computer, and the like.

在自动显微扫描系统对血涂片样本进行扫描时,每个视野位置均会进行细微的对焦操作以采集到该视野的清晰图像,在对焦过程中,自动显微扫描系统会采用Energy(能量)算法进行图像的清晰度计算,选取清晰度数值最高的那张图像作为该视野的代表图像,获取疟原虫血涂片图像。在具体操作过程中,需要按已知的疟原虫种类分类,对同一种疟原虫血涂片在油镜下进行扫描,每张血涂片设置扫描足够多的视野,如设置扫描1000个视野,获取足够多的图像信息,并保存相关图像信息。When the automatic micro-scanning system scans the blood smear sample, each field of view will perform a subtle focusing operation to collect a clear image of the field of view. During the focusing process, the automatic micro-scanning system will use Energy (energy ) algorithm to calculate the sharpness of the image, select the image with the highest value as the representative image of the field of view, and obtain the Plasmodium blood smear image. In the specific operation process, it is necessary to classify the known species of Plasmodium, scan the blood smear of the same Plasmodium under the oil microscope, and set enough fields of view for each blood smear, such as setting to scan 1000 fields of view, Obtain enough image information and save relevant image information.

血涂片是指将血液涂制于载玻片上制成的涂片,供显微镜疟原虫检测用的血涂片包括厚血膜血涂片和薄血膜涂片。图3是本申请实施例示出的厚血膜和薄血膜血涂片制作示意图,图中Sample1为厚血膜涂片,Sample2为薄血膜血涂片。参见图3,Sample1厚血膜是取4μL~5μL血滴涂于载玻片上,由里向外划圈涂成直径0.8cm~1.0cm的圆形厚血膜,厚度以1个油镜视野内可见到5个~10个白细胞为宜;Sample2薄血膜是取1μL~1.5μL血液在载玻片上扩展成2cm宽的舌状薄血膜。血涂片制作好后,需对厚血膜进行溶血处理,薄血膜进行甲醇固定处理,再分别对厚血膜和薄血膜进行吉姆萨染色处理。经过染色、干燥后的血膜上加1滴香柏油或专用浸油,用100×油浸物镜、5×或10×目镜的光学显微镜可以对血膜进行检查。A blood smear refers to a smear made by applying blood to a glass slide. The blood smears used for the detection of Plasmodium by microscope include thick blood film blood film and thin blood film film film. Fig. 3 is a schematic diagram of making thick blood film and thin blood film blood smear shown in the embodiment of the present application, in which Sample1 is a thick blood film smear, and Sample2 is a thin blood film blood smear. See Figure 3, Sample 1 thick blood film is to take 4μL ~ 5μL blood drop and smear on the glass slide, draw a circle from the inside to the outside to form a circular thick blood film with a diameter of 0.8cm ~ 1.0cm, and the thickness is within the field of view of 1 oil immersion It is advisable to see 5 to 10 white blood cells; Sample2 thin blood film is to take 1 μL to 1.5 μL of blood and spread it on a glass slide to form a tongue-shaped thin blood film with a width of 2 cm. After the blood smear is prepared, it is necessary to hemolyze the thick blood film, fix the thin blood film with methanol, and then perform Giemsa staining on the thick blood film and the thin blood film respectively. Add 1 drop of cedar oil or special immersion oil to the stained and dried blood film, and check the blood film with a 100× oil immersion objective lens and an optical microscope with 5× or 10× eyepieces.

其中,采集的疟原虫血涂片图像可以是疟原虫厚血膜血涂片。厚血膜用血量大,可观察视野范围大,疟原虫检出率高。Wherein, the collected Plasmodium blood smear image may be a Plasmodium thick blood film blood smear. A thick blood film requires a large amount of blood, a large field of view can be observed, and a high detection rate of malaria parasites.

疟原虫血涂片图像对应的疟原虫种类及所处发育阶段的标注可以是采集到疟原虫血涂片图像后对疟原虫种类及所处发育阶段进行判读和标注获得。The labeling of the Plasmodium species and developmental stages corresponding to the Plasmodium blood smear images may be obtained by interpreting and labeling the Plasmodium species and developmental stages after the Plasmodium blood smear images are collected.

其中,该标注可以采用人工判读和标注获得。人工判读和标注是指组织多名经过专业技术培训,具有多年疟疾镜检经验的专业技术人员对镜下扫描图像进行逐一判读,并标注出每张图像中疟原虫的种类及所处发育阶段。疟原虫的种类包括间日疟原虫、恶性疟原虫、三日疟原虫和卵形疟原虫;疟原虫所处发育阶段指上述四种疟原虫分别所处的发育阶段,包括小滋养体(环状体)、大滋养体、裂殖体、配子体等阶段。此外,在进行人工判读和标注时,还可以对血小板、白细胞、其他染色杂质等进行判读和标注。Wherein, the annotation can be obtained by manual interpretation and annotation. Manual interpretation and labeling refers to organizing a number of professional technicians who have received professional technical training and many years of experience in malaria microscopy to interpret the scanned images under the microscope one by one, and mark the type and developmental stage of the malaria parasite in each image. The types of Plasmodium include Plasmodium vivax, Plasmodium falciparum, Plasmodium malariae and Plasmodium ovale; the developmental stages of Plasmodium refer to the developmental stages of the above four Plasmodium respectively, including small trophozoites (circular body), macrotrophoblast, schizont, gametophyte and other stages. In addition, when performing manual interpretation and labeling, platelets, white blood cells, and other stained impurities can also be interpreted and marked.

在显微镜下,人工判读可以根据疟原虫的形状、结构、大小、染色情况等来识别疟原虫种类及所处发育阶段,具体见表1。Under the microscope, manual interpretation can identify the type of Plasmodium and its developmental stage according to the shape, structure, size, and staining of the Plasmodium. See Table 1 for details.

表1四种疟原虫厚血膜形态鉴别(吉氏染色)Table 1 Morphological identification of thick blood film of four kinds of Plasmodium (Gigi's staining)

Figure BDA0004067212760000081
Figure BDA0004067212760000081

S122、对疟原虫血涂片图像进行图像特征识别和提取,并与疟原虫血涂片图像对应的标注进行匹配,获得训练集。S122. Perform image feature recognition and extraction on the Plasmodium blood smear image, and perform matching with the corresponding labels on the Plasmodium blood smear image to obtain a training set.

图像特征识别和提取可以包括以下步骤:图像分割、特征提取。其中,图像分割步骤中,首先需要通过颜色强度值来定位被染色的对象,然后将包含染色的区域分割成各种元素,如白细胞、血小板、疟原虫等,该步骤可以采用归一化切割(Normalizedcut,NCut)法实现。血涂片经过吉姆萨染色后,红细胞呈淡红色,嗜酸性粒细胞呈鲜红色,嗜中性粒细胞呈紫蓝色,淋巴细胞及疟原虫细胞质呈蓝色或淡蓝色,疟原虫细胞核呈紫红色,疟色素呈棕黄色、棕褐色或黑褐色。Image feature recognition and extraction may include the following steps: image segmentation, feature extraction. Wherein, in the image segmentation step, it is first necessary to locate the stained object by the color intensity value, and then divide the stained region into various elements, such as white blood cells, platelets, malaria parasites, etc., this step can be normalized cutting ( Normalized cut, NCut) method. After the blood smear is stained with Giemsa, red blood cells are light red, eosinophils are bright red, neutrophils are purple blue, lymphocytes and Plasmodium cytoplasm are blue or light blue, and Plasmodium nuclei are Purplish red, malarin is brownish yellow, tan or dark brown.

在薄血膜中,细胞经过甲醇固定后再进行染色,保存了红细胞的完整形态,疟原虫存在于受感染的红细胞胞质内,因此计算机算法可以先通过标定识别出红细胞,再识别红细胞内是否有疟原虫存在来检出疟原虫。而厚血膜由于先经过溶血处理再进行染色,红细胞破坏,在显微镜下观察到的疟原虫虫体在细胞外,因此计算机算法无法通过红细胞来跟踪判断疟原虫。特征提取步骤中,根据疟原虫的形状、结构、大小、染色情况等特征对图像进行特征提取,从而识别疟原虫。In the thin blood film, cells are stained after methanol fixation, which preserves the complete shape of red blood cells. Plasmodium exists in the cytoplasm of infected red blood cells, so the computer algorithm can first identify red blood cells through calibration, and then identify whether the Plasmodium is detected by the presence of Plasmodium. However, because the thick blood film is first hemolyzed and then stained, the red blood cells are destroyed, and the malaria parasites observed under the microscope are outside the cells, so the computer algorithm cannot track and judge the malaria parasites through the red blood cells. In the feature extraction step, feature extraction is performed on the image according to features such as the shape, structure, size, and staining of the malaria parasite, so as to identify the malaria parasite.

其中,疟原虫的形状包括呈“!”状、“.”状、“V”状、飞鸟状、鸟眼状、环状、断环状、圆形状、卵圆形状、新月形、腊肠形等;疟原虫的结构包括核位于细胞质之中、核位于细胞质外、有裂殖子、有配子体等;疟原虫的大小包括虫体大小、核大小、疟色素大小等。疟原虫在血涂片中的染色情况可以由细胞核、细胞质和疟色素三种染色情况组成;或者,当疟原虫还未产生疟色素(除环状体外,其他各期均可查见疟色素)时,可以由疟原虫的细胞核和细胞质两种染色情况组成。例如,疟原虫经由吉姆萨染色后,细胞核呈紫红色,细胞质呈蓝色或淡蓝色,疟色素呈棕黄色、棕褐色或黑褐色。Among them, the shape of Plasmodium includes "!" shape, "." shape, "V" shape, bird shape, bird's eye shape, ring shape, broken ring shape, round shape, oval shape, crescent shape, sausage shape etc.; the structure of Plasmodium includes the nucleus located in the cytoplasm, the nucleus located outside the cytoplasm, merozoites, and gametophytes; The staining of Plasmodium in the blood smear can be composed of three staining conditions of nucleus, cytoplasm and malaria pigment; or, when the malaria parasite has not yet produced malaria pigment (malar pigment can be seen in all stages except rings) When , it can be composed of two staining conditions of the nucleus and cytoplasm of Plasmodium. For example, after Giemsa staining, the nucleus of Plasmodium is purple, the cytoplasm is blue or light blue, and the malaria pigment is brown, brown or dark brown.

此外,还可以对疟原虫的疟色素、被寄生红细胞等特征进行特征提取。疟原虫的疟色素特征包括有无疟色素、疟色素的颜色、疟色素的颗粒大小、疟色素的分布情况等;被寄生红细胞包括是否可见红细胞“影子”、薛氏点、茂氏点等。In addition, features such as malaria pigment and parasitized red blood cells of Plasmodium can also be extracted. The characteristics of malaria parasite include the presence or absence of malaria pigment, the color of malaria pigment, the particle size of malaria pigment, and the distribution of malaria pigment.

根据疟原虫血涂片在显微镜下的形态特征对疟原虫血涂片进行图像识别和提取后,还可以将图像特征与S121中疟原虫的种类及所处发育阶段的标注进行匹配,获得具有标注数据的图像特征,即训练集。匹配过程中,可以采用基于Python的工具软件LabelImg对经过识别和提取处理后的疟原虫血涂片图像进行标注,获得具有标注数据的图像特征,标注的内容包括疟原虫种类及所处发育阶段、血小板、白细胞、其他染色杂质等。According to the morphological characteristics of the Plasmodium blood smear under the microscope, after the image recognition and extraction of the Plasmodium blood smear, the image features can also be matched with the annotations of the type and developmental stage of the Plasmodium in S121, and the labeled The image features of the data, i.e. the training set. During the matching process, the Python-based tool software LabelImg can be used to label the identified and extracted Plasmodium blood smear images to obtain image features with labeled data. The labeled content includes the species of Plasmodium and its developmental stage, Platelets, white blood cells, other staining impurities, etc.

S123、采用Faster-RCNN对训练集进行学习和训练,获得疟原虫识别模型。S123. Using Faster-RCNN to learn and train the training set to obtain a malaria parasite identification model.

其中,Faster-RCNN作为一种目标检测系统,其包括三个模块,第一个模块是用于提取特征区域的CNN(Convolutional Neural Networks,卷积神经网络),第二个模块是用于训练第一个模块提取的特征区域、生成候选区域的RPN(Region Proposal Network,候选区域生成网络),第三个模块是采用RoIPooling(感兴趣区域池化)技术将特征区域与候选区域进行匹配,再进行分类与回归,从而实现疟原虫识别模型的构建。图4是本申请实施例示出的Faster-RCNN的架构示意图。结合图4,Faster-RCNN对训练集进行学习和训练包括以下三个步骤:Among them, Faster-RCNN, as a target detection system, includes three modules, the first module is CNN (Convolutional Neural Networks, Convolutional Neural Networks) for extracting feature regions, and the second module is used for training the first One module extracts the feature region, generates the RPN (Region Proposal Network, candidate region generation network) of the candidate region, and the third module uses RoIPooling (region of interest pooling) technology to match the feature region with the candidate region, and then proceeds Classification and regression, so as to realize the construction of malaria parasite identification model. Fig. 4 is a schematic diagram of the architecture of Faster-RCNN shown in the embodiment of the present application. Combined with Figure 4, Faster-RCNN's learning and training of the training set includes the following three steps:

1)生成特征图:1) Generate a feature map:

作为基于CNN(Convolutional Neural Networks,卷积神经网络)的一种常用的目标检测模型,Faster-RCNN使用13个卷积层、13个ReLU(Rectified Linear Unit,修正线性单元)激活函数层和4个池化层对输入的疟原虫血涂片图像提取特征图,提取特征图过程根据疟原虫的形状、结构、大小、染色情况等来进行。As a commonly used target detection model based on CNN (Convolutional Neural Networks, convolutional neural network), Faster-RCNN uses 13 convolutional layers, 13 ReLU (Rectified Linear Unit, corrected linear unit) activation function layers and 4 The pooling layer extracts feature maps from the input Plasmodium blood smear image, and the process of extracting feature maps is carried out according to the shape, structure, size, and staining of Plasmodium.

2)生成候选区域:2) Generate candidate regions:

输入到RPN(Region Proposal Network,候选区域生成网络)的特征图经过RPN后生成大小不一的“锚框”,然后采用Softmax函数(归一化函数)将这些“锚框”区域区分为前景(目标物)和背景(非目标物),同时“边界框回归”算法将这些“锚框”修正为更精确的“候选区域”。其中,前景(目标物)指疟原虫,背景(非目标物)指除疟原虫外的白细胞、血小板、其他杂质等。The feature map input to RPN (Region Proposal Network, candidate area generation network) generates "anchor frames" of different sizes after RPN, and then uses the Softmax function (normalization function) to distinguish these "anchor frame" areas into foreground ( target) and background (non-target), while the "bounding box regression" algorithm corrects these "anchor boxes" into more accurate "candidate regions". Among them, the foreground (target object) refers to Plasmodium, and the background (non-target object) refers to white blood cells, platelets, and other impurities other than Plasmodium.

3)对候选区域进行分类,返回目标物的坐标和可信度:3) Classify the candidate area and return the coordinates and credibility of the target object:

首先使用RoIPooling(感兴趣区域池化)技术将S241中的特征图和S242中的候选区域进行匹配获得对应区域的特征数据,全连接层使用这些特征数据对目标物进行分类和定位,返回目标物对应的坐标(扫描疟原虫厚血膜血涂片时记录的拍摄该图像在厚血膜中对应的位置坐标)和可信度。其中,目标物的分类包括对疟原虫种类进行分类以及对疟原虫各种类分别所处发育阶段进行分类,目标物的分类采用Softmax-Loss函数(由softmax(归一化函数)和cross-entropy loss函数(交叉熵损失函数)组合而成)实现;目标物的定位指疟原虫在对应厚血膜血涂片中对应的坐标,目标物的定位采用结合了Smooth L1 Loss函数的“边界框回归”算法实现。First, use RoIPooling (region of interest pooling) technology to match the feature map in S241 with the candidate area in S242 to obtain the feature data of the corresponding area. The fully connected layer uses these feature data to classify and locate the target object, and returns the target object Corresponding coordinates (the corresponding position coordinates of the image taken in the thick blood film recorded when scanning the Plasmodium thick blood film blood smear) and reliability. Among them, the classification of the target includes the classification of the species of Plasmodium and the classification of the developmental stages of the various types of Plasmodium. The classification of the target uses the Softmax-Loss function (by softmax (normalization function) and cross-entropy The loss function (cross entropy loss function) is realized; the positioning of the target refers to the corresponding coordinates of the malaria parasite in the corresponding thick blood film smear, and the positioning of the target adopts the "bounding box regression" combined with the Smooth L1 Loss function "Algorithm implementation.

采用上述疟原虫识别模型对待检测血涂片进行检测时,由该疟原虫识别模型可以直接进行疟原虫种类及所处发育阶段的检测,从而实现对疟原虫的自动分类检测。When using the above-mentioned Plasmodium identification model to detect the blood smear to be detected, the Plasmodium identification model can directly detect the type and development stage of Plasmodium, thereby realizing the automatic classification and detection of Plasmodium.

结合图1,在疟原虫的检测方法中,首先需要获取待检测血涂片图像。获取待检测血涂片图像可以是对待检测厚血膜血涂片进行扫描,其中,对疟原虫血涂片进行扫描处理采用自动显微扫描系统,自动显微扫描系统包括自动扫描仪、显微镜、相机、计算机等。进行扫描时,可以记录拍摄图像对应厚血膜的位置坐标,对于有疑问的视野可以回退至该坐标下,由专业的技术人员对视野进行确认,并将确认结果返回至疟原虫识别模型中,补充至该疟原虫识别模型。Referring to FIG. 1 , in the detection method of malaria parasites, it is first necessary to obtain an image of the blood smear to be detected. Obtaining the image of the blood smear to be detected may be scanning the thick blood film blood smear to be detected, wherein the scanning process of the Plasmodium blood smear adopts an automatic micro-scanning system, and the automatic micro-scanning system includes an automatic scanner, a microscope, Cameras, computers, etc. When scanning, the position coordinates of the captured image corresponding to the thick blood film can be recorded, and the questionable field of view can be returned to this coordinate, and the field of view will be confirmed by professional technicians, and the confirmation result will be returned to the malaria parasite identification model , supplemented to the Plasmodium recognition model.

在疟原虫的检测方法中,其次需要采用上述疟原虫识别模型对获取的待检测血涂片进行检测。检测过程中,疟原虫识别模型可以根据疟原虫在厚血膜血涂片中的形态特征对待检测血涂片图像中的疟原虫进行检测。疟原虫在血涂片中的形态特征包括疟原虫的形状、结构、大小、染色情况;此外,还可以根据疟原虫的疟色素、被寄生红细胞等特征进行辅助检测和判断。In the detection method of Plasmodium, secondly, the obtained blood smear to be detected needs to be detected by using the above-mentioned Plasmodium identification model. During the detection process, the malaria parasite identification model can detect the malaria parasites in the blood smear image to be detected according to the morphological characteristics of the malaria parasites in the thick blood smear. The morphological characteristics of Plasmodium in blood smears include the shape, structure, size, and staining of Plasmodium. In addition, auxiliary detection and judgment can be performed based on the characteristics of Plasmodium and parasitized red blood cells.

在显微镜下,厚血膜中不存在明显的红细胞,白细胞(包括嗜中性粒细胞、嗜酸性粒细胞、淋巴细胞等)的体积比疟原虫的体积大数倍,因此可以通过体积大小筛出白细胞。血小板的体积大小与疟原虫接近,但是血小板没有细胞核结构,因此可以通过细胞核结构筛出血小板。厚血膜血涂片经过吉姆萨染色后,嗜酸性粒细胞呈鲜红色,嗜中性粒细胞呈紫蓝色,淋巴细胞及疟原虫细胞质呈蓝色或淡蓝色,疟原虫细胞核呈紫红色,疟色素呈棕黄色、棕褐色或黑褐色。通过疟原虫在厚血膜血涂片中的体积大小、有无核结构、染色情况等形态特征可以对疟原虫进行检出判定,即可以检测出厚血膜血涂片中是否存在疟原虫。然后按照表1中四种不同种类的疟原虫的形状、结构、大小、疟色素等以及被寄生红细胞等特征可以对疟原虫进行类别判定,例如:有无疟色素、疟色素的颜色、疟色素的颗粒大小、疟色素的分布情况等,被寄生红细胞包括是否可见红细胞“影子”、薛氏点、茂氏点等,检测出厚血膜血涂片中疟原虫的种类及其所处发育阶段,从而实现对疟原虫的自动检测和分类。Under the microscope, there are no obvious red blood cells in the thick blood film, and the volume of white blood cells (including neutrophils, eosinophils, lymphocytes, etc.) is several times larger than that of malaria parasites, so they can be screened out by size leukocyte. The size of platelets is close to that of Plasmodium, but platelets do not have a nucleus structure, so platelets can be screened by the nucleus structure. After the thick blood film blood smear is stained with Giemsa, eosinophils are bright red, neutrophils are purple-blue, lymphocytes and Plasmodium cytoplasm are blue or light blue, and Plasmodium nuclei are purple-red , malarin is brownish yellow, brown or dark brown. Plasmodium can be detected and judged through the morphological characteristics such as the size, nuclear structure, and staining of Plasmodium in thick blood film smears, that is, whether there are Plasmodium in thick blood film blood smears can be detected. Then according to the shape, structure, size, malaria pigment, etc. of the four different types of malaria parasites in Table 1 and the characteristics of the parasited red blood cells, the classification of malaria parasites can be judged, for example: whether there is malaria pigment, the color of malaria pigment, the malaria pigment The size of the particles, the distribution of malaria pigment, etc., the parasited red blood cells include whether the red blood cell "shadow", Scherner's point, Mao's point, etc. are visible, and the type of malaria parasite and its developmental stage in the thick blood film blood smear are detected , so as to realize the automatic detection and classification of malaria parasites.

本申请的技术方案,通过对疟原虫厚血膜血涂片进行图像采集,再通过对疟原虫厚血膜图像进行图像特征的识别和提取,并由卷积神经网络模型进行学习和训练,从而获得疟原虫识别模型。通过该疟原虫识别模型可以对厚血膜下的疟原虫进行检测和鉴别,从而实现对疟原虫在镜下图像的自动分类识别,达到高效、准确识别疟原虫种类及所处发育阶段的效果,减小疟疾快速诊断对具有熟练技术的专业人员的依赖。另一方面,与通过薄血膜进行疟原虫的鉴别相比,厚血膜血涂片用血量大,可观察视野大,检出率较薄血膜高,扫描拍照用时短,可以缩短检测时间,提高检测效率;且不需要先进行红细胞的识别标定,可以直接识别疟原虫形态,直接对疟原虫进行分类,完成是否存在疟原虫、判断疟原虫种类及疟原虫所处发育阶段的检测,精简检测步骤,进一步缩短检测时间,提高检测效率。The technical solution of the present application is to collect images of Plasmodium thick blood film blood smears, then identify and extract image features of Plasmodium thick blood film images, and learn and train by the convolutional neural network model, thereby Obtain a Plasmodium recognition model. The Plasmodium identification model can detect and identify the Plasmodium under the thick blood film, so as to realize the automatic classification and recognition of the Plasmodium under the microscope image, and achieve the effect of efficient and accurate identification of the Plasmodium species and their developmental stages. Reduce reliance on skilled professionals for rapid malaria diagnosis. On the other hand, compared with the identification of Plasmodium through thin blood film, thick blood film blood smear requires more blood, has a larger field of view, has a higher detection rate than thin blood film, and takes less time for scanning and photographing, which can shorten the detection time. time, improve the detection efficiency; and do not need to identify and calibrate the red blood cells first, can directly identify the shape of the malaria parasite, directly classify the malaria parasite, and complete the detection of the presence or absence of the malaria parasite, the determination of the type of the malaria parasite and the developmental stage of the malaria parasite, The detection steps are simplified, the detection time is further shortened, and the detection efficiency is improved.

与前述应用功能实现方法实施例相对应,本申请还提供了一种识别疟原虫的检测装置、电子设备及相应的实施例。Corresponding to the foregoing embodiment of the method for implementing application functions, the present application also provides a detection device for identifying malaria parasites, electronic equipment, and corresponding embodiments.

图5是本申请实施例示出的识别疟原虫的检测装置的结构示意图。Fig. 5 is a schematic structural diagram of a detection device for identifying malaria parasites shown in an embodiment of the present application.

参见图5,识别疟原虫的检测装置500包括图像获取模块510、检测模块520、结果输出模块530。Referring to FIG. 5 , a detection device 500 for identifying malaria parasites includes an image acquisition module 510 , a detection module 520 , and a result output module 530 .

图像获取模块510,用于获取待检测血涂片图像。An image acquisition module 510, configured to acquire an image of the blood smear to be detected.

其中,图像采集模块510可用于对待检测血涂片进行扫描,获取待检测血涂片图像;其中,待检测血涂片可以为待检测厚血膜涂片。Wherein, the image acquisition module 510 can be used to scan the blood smear to be detected, and acquire the image of the blood smear to be detected; wherein, the blood smear to be detected can be a thick blood film smear to be detected.

检测模块520,用于将图像获取模块510获取的待检测血涂片图像输入疟原虫识别模型,由疟原虫识别模型进行疟原虫种类及所处发育阶段的检测。The detection module 520 is configured to input the image of the blood smear to be detected acquired by the image acquisition module 510 into the Plasmodium identification model, and the Plasmodium identification model detects the type and development stage of the Plasmodium.

其中,疟原虫识别模型可以根据疟原虫在血涂片中的形态特征对待检测血涂片图像进行疟原虫种类及所处发育阶段的检测;其中,疟原虫在血涂片中的形态特征包括疟原虫的形状、结构、大小、染色情况;疟原虫的染色情况包括疟原虫的细胞核、细胞质和疟色素的染色情况,或疟原虫的染色情况包括疟原虫的细胞核和细胞质的染色情况。Among them, the Plasmodium identification model can detect the type of Plasmodium and its developmental stage according to the morphological characteristics of Plasmodium in the blood smear to be detected; wherein, the morphological characteristics of Plasmodium in the blood smear include Plasmodium The shape, structure, size, and staining of the parasite; the staining of the malaria parasite includes the staining of the nucleus, cytoplasm, and malarin of the malaria parasite, or the staining of the malaria parasite includes the nucleus and cytoplasm of the malaria parasite.

结果输出模块330,用于获取疟原虫识别模型输出的检测结果。The result output module 330 is configured to obtain the detection result output by the malaria parasite identification model.

本申请的技术方案,首先通过扫描获取待检测血涂片图像,再由疟原虫识别模型对待检测血涂片图像进行检测,从而实现对疟原虫在镜下图像的自动分类识别,达到高效、准确识别疟原虫种类及所处发育阶段的效果,减小疟疾快速诊断对具有熟练技术的专业人员的依赖。According to the technical solution of the present application, the image of the blood smear to be detected is obtained by scanning first, and then the image of the blood smear to be detected is detected by the Plasmodium recognition model, so as to realize the automatic classification and identification of the Plasmodium under the microscope, achieving high efficiency and accuracy The effect of identifying the species of Plasmodium and its developmental stage reduces the reliance on skilled professionals for the rapid diagnosis of malaria.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不再做详细阐述说明。Regarding the apparatus in the above embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

图6是本申请实施例示出的电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device shown in an embodiment of the present application.

参见图6,电子设备600包括存储器610和处理器620。Referring to FIG. 6 , an electronic device 600 includes a memory 610 and a processor 620 .

处理器620可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 620 can be a central processing unit (Central Processing Unit, CPU), and can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), on-site Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.

存储器610可以包括各种类型的存储单元,例如系统内存、只读存储器(ROM)和永久存储装置。其中,ROM可以存储处理器620或者计算机的其他模块需要的静态数据或者指令。永久存储装置可以是可读写的存储装置。永久存储装置可以是即使计算机断电后也不会失去存储的指令和数据的非易失性存储设备。在一些实施方式中,永久性存储装置采用大容量存储装置(例如磁或光盘、闪存)作为永久存储装置。另外一些实施方式中,永久性存储装置可以是可移除的存储设备(例如软盘、光驱)。系统内存可以是可读写存储设备或者易失性可读写存储设备,例如动态随机访问内存。系统内存可以存储一些或者所有处理器在运行时需要的指令和数据。此外,存储器610可以包括任意计算机可读存储媒介的组合,包括各种类型的半导体存储芯片(例如DRAM,SRAM,SDRAM,闪存,可编程只读存储器),磁盘和/或光盘也可以采用。在一些实施方式中,存储器610可以包括可读和/或写的可移除的存储设备,例如激光唱片(CD)、只读数字多功能光盘(例如DVD-ROM,双层DVD-ROM)、只读蓝光光盘、超密度光盘、闪存卡(例如SD卡、min SD卡、Micro-SD卡等)、磁性软盘等。计算机可读存储媒介不包含载波和通过无线或有线传输的瞬间电子信号。The memory 610 may include various types of storage units such as system memory, read only memory (ROM), and persistent storage. Wherein, the ROM may store static data or instructions required by the processor 620 or other modules of the computer. The persistent storage device may be a readable and writable storage device. Persistent storage may be a non-volatile storage device that does not lose stored instructions and data even if the computer is powered off. In some embodiments, the permanent storage device adopts a large-capacity storage device (such as a magnetic or optical disk, flash memory) as the permanent storage device. In some other implementations, the permanent storage device may be a removable storage device (such as a floppy disk, an optical drive). The system memory can be a readable and writable storage device or a volatile readable and writable storage device, such as dynamic random access memory. System memory can store some or all of the instructions and data that the processor needs at runtime. In addition, the memory 610 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (such as DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and magnetic disks and/or optical disks may also be used. In some embodiments, memory 610 may include a readable and/or writable removable storage device, such as a compact disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, dual-layer DVD-ROM), Read-only Blu-ray Disc, Super Density Disc, Flash memory card (such as SD card, min SD card, Micro-SD card, etc.), magnetic floppy disk, etc. Computer-readable storage media do not contain carrier waves and transient electronic signals transmitted by wireless or wire.

存储器610上存储有可执行代码,当可执行代码被处理器620处理时,可以使处理器620执行上文述及的方法中的部分或全部。Executable codes are stored in the memory 610 , and when the executable codes are processed by the processor 620 , the processor 620 may execute part or all of the methods mentioned above.

此外,根据本申请的方法还可以实现为一种计算机程序或计算机程序产品,该计算机程序或计算机程序产品包括用于执行本申请的上述方法中部分或全部步骤的计算机程序代码指令。In addition, the method according to the present application can also be implemented as a computer program or computer program product, which includes computer program code instructions for executing some or all of the steps in the above-mentioned method of the present application.

或者,本申请还可以实施为一种计算机可读存储介质(或非暂时性机器可读存储介质或机器可读存储介质),其上存储有可执行代码(或计算机程序或计算机指令代码),当可执行代码(或计算机程序或计算机指令代码)被电子设备(或服务器等)的处理器执行时,使处理器执行根据本申请的上述方法的各个步骤的部分或全部。Alternatively, the present application may also be implemented as a computer-readable storage medium (or a non-transitory machine-readable storage medium or a machine-readable storage medium), on which executable code (or computer program or computer instruction code) is stored, When the executable code (or computer program or computer instruction code) is executed by the processor of the electronic device (or server, etc.), the processor is made to perform part or all of the steps of the above-mentioned method according to the present application.

以上已经描述了本申请的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其他普通技术人员能理解本文披露的各实施例。Having described various embodiments of the present application above, the foregoing description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and alterations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principle of each embodiment, practical application or improvement of technology in the market, or to enable other ordinary skilled in the art to understand each embodiment disclosed herein.

Claims (10)

1.一种识别疟原虫的检测方法,其特征在于,包括:1. A detection method for identifying malaria parasites, comprising: 获取待检测血涂片图像;Obtain the image of the blood smear to be detected; 将所述待检测血涂片图像输入疟原虫识别模型,由所述疟原虫识别模型进行疟原虫种类及所处发育阶段的检测;Input the image of the blood smear to be detected into the malaria parasite recognition model, and the malaria parasite species and development stage are detected by the malaria parasite recognition model; 获取疟原虫识别模型输出的检测结果。Obtain the detection results output by the Plasmodium identification model. 2.根据权利要求1所述的检测方法,其特征在于:所述疟原虫识别模型按以下方式训练获得:2. The detection method according to claim 1, characterized in that: the malaria parasite identification model is trained and obtained in the following manner: 采集疟原虫血涂片图像,和所述疟原虫血涂片图像对应的疟原虫种类及所处发育阶段的标注;Collecting a Plasmodium blood smear image, marking the type of Plasmodium corresponding to the Plasmodium blood smear image and its developmental stage; 采用卷积神经网络模型对所述疟原虫血涂片图像和所述疟原虫血涂片图像对应的疟原虫种类及所处发育阶段的标注进行学习和训练,获得疟原虫识别模型。A convolutional neural network model is used to learn and train the Plasmodium blood smear image and the Plasmodium species and developmental stages corresponding to the Plasmodium blood smear image to obtain a Plasmodium identification model. 3.根据权利要求2所述的检测方法,其特征在于:3. The detection method according to claim 2, characterized in that: 所述获取待检测血涂片图像,包括:The acquisition of the image of the blood smear to be detected includes: 对所述待检测血涂片进行扫描,获取待检测血涂片图像;其中,所述待检测血涂片为待检测厚血膜血涂片;Scanning the blood smear to be detected to obtain an image of the blood smear to be detected; wherein, the blood smear to be detected is a thick blood film blood smear to be detected; 所述采集疟原虫血涂片图像,包括:The collection of Plasmodium blood smear images includes: 对所述疟原虫血涂片进行扫描,获取疟原虫血涂片图像;其中,所述疟原虫血涂片为疟原虫厚血膜血涂片。The Plasmodium blood smear is scanned to obtain a Plasmodium blood smear image; wherein, the Plasmodium blood smear is a Plasmodium thick blood film blood smear. 4.根据权利要求2所述的检测方法,其特征在于:所述采用卷积神经网络模型对所述疟原虫血涂片图像和所述疟原虫血涂片图像对应的疟原虫种类及所处发育阶段的标注进行学习和训练,获得疟原虫识别模型,包括:4. The detection method according to claim 2, characterized in that: said Plasmodium blood smear image and the Plasmodium species corresponding to the Plasmodium blood smear image and their location The labeling of the developmental stage is used for learning and training, and the identification model of malaria parasites is obtained, including: 对所述疟原虫血涂片图像进行图像特征识别和提取,并与所述疟原虫血涂片图像对应的疟原虫种类及所处发育阶段的标注进行匹配,获得训练集;Carrying out image feature recognition and extraction on the Plasmodium blood smear image, and matching with the Plasmodium species corresponding to the Plasmodium blood smear image and the label of its developmental stage to obtain a training set; 采用卷积神经网络模型对所述训练集进行学习和训练,获得疟原虫识别模型。A convolutional neural network model is used to learn and train the training set to obtain a malaria parasite identification model. 5.根据权利要求4所述的检测方法,其特征在于:所述采用卷积神经网络模型对所述训练集进行学习和训练,获得疟原虫识别模型,包括:5. detection method according to claim 4, is characterized in that: described training set is studied and trained by adopting convolutional neural network model, obtains malaria parasite identification model, comprises: 采用Faster-RCNN对所述训练集进行学习和训练,获得疟原虫识别模型。Using Faster-RCNN to learn and train the training set to obtain a malaria parasite identification model. 6.根据权利要求1-5任一所述的检测方法,其特征在于:所述将所述待检测血涂片图像输入疟原虫识别模型,由所述疟原虫识别模型进行疟原虫种类及所处发育阶段的检测,包括:6. The detection method according to any one of claims 1-5, characterized in that: the blood smear image to be detected is input into a Plasmodium recognition model, and the Plasmodium species and the detected Plasmodium are determined by the Plasmodium recognition model. Detection at developmental stages, including: 根据所述疟原虫在血涂片中的形态特征对所述待检测血涂片图像进行疟原虫种类及所处发育阶段的检测;其中,所述疟原虫在血涂片中的形态特征包括疟原虫的形状、结构、大小、染色情况。According to the morphological characteristics of the malaria parasites in the blood smear, the blood smear image to be detected is detected for the species of the malaria parasite and its developmental stage; wherein, the morphological characteristics of the malaria parasites in the blood smear include Plasmodium The shape, structure, size and staining of protozoa. 7.根据权利要求6所述的检测方法,其特征在于:所述疟原虫的染色情况包括疟原虫的细胞核、细胞质和疟色素的染色情况;或,7. The detection method according to claim 6, characterized in that: the staining situation of the malaria parasite comprises the staining situation of the nucleus of the malaria parasite, cytoplasm and malaria pigment; or, 所述疟原虫的染色情况包括疟原虫的细胞核和细胞质的染色情况。The staining of the malaria parasite includes the staining of the nucleus and cytoplasm of the malaria parasite. 8.一种识别疟原虫的检测装置,其特征在于,包括:8. A detection device for identifying malaria parasites, comprising: 图像获取模块,用于获取待检测血涂片图像;An image acquisition module, configured to acquire an image of a blood smear to be detected; 检测模块,用于将所述图像获取模块获取的待检测血涂片图像输入疟原虫识别模型,由所述疟原虫识别模型进行疟原虫种类及所处发育阶段的检测;A detection module, configured to input the image of the blood smear to be detected obtained by the image acquisition module into the malaria parasite identification model, and the malaria parasite identification model is used to detect the type of malaria parasite and its developmental stage; 结果输出模块,用于获取疟原虫识别模型输出的检测结果。The result output module is used to obtain the detection result output by the malaria parasite identification model. 9.一种电子设备,其特征在于,包括:9. An electronic device, characterized in that it comprises: 处理器;以及processor; and 存储器,其上存储有可执行代码,当所述可执行代码被所述处理器执行时,使所述处理器执行如权利要求1-7中任一项所述的方法。A memory on which executable code is stored, and when the executable code is executed by the processor, causes the processor to execute the method according to any one of claims 1-7. 10.一种计算机可读存储介质,其特征在于,其上存储有可执行代码,当所述可执行代码被电子设备的处理器执行时,使所述处理器执行如权利要求1-7中任一项所述的方法。10. A computer-readable storage medium, characterized in that executable code is stored thereon, and when the executable code is executed by a processor of an electronic device, the processor executes the any one of the methods described.
CN202310080292.3A 2023-01-17 2023-01-17 Detection method, device and storage medium for recognizing malaria parasites Pending CN116030459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310080292.3A CN116030459A (en) 2023-01-17 2023-01-17 Detection method, device and storage medium for recognizing malaria parasites

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310080292.3A CN116030459A (en) 2023-01-17 2023-01-17 Detection method, device and storage medium for recognizing malaria parasites

Publications (1)

Publication Number Publication Date
CN116030459A true CN116030459A (en) 2023-04-28

Family

ID=86079423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310080292.3A Pending CN116030459A (en) 2023-01-17 2023-01-17 Detection method, device and storage medium for recognizing malaria parasites

Country Status (1)

Country Link
CN (1) CN116030459A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118962097A (en) * 2024-10-12 2024-11-15 中国科学院生态环境研究中心 Efficient protozoan identification method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111340019A (en) * 2019-11-29 2020-06-26 浙江农林大学 Detection method of granary pests based on Faster R-CNN
CN112257704A (en) * 2020-09-15 2021-01-22 深圳视见医疗科技有限公司 Cervical liquid-based cell digital image classification method based on deep learning detection model
CN113256636A (en) * 2021-07-15 2021-08-13 北京小蝇科技有限责任公司 Bottom-up parasite species development stage and image pixel classification method
CN115049613A (en) * 2022-06-14 2022-09-13 云南大学 Mask R-CNN-based malaria blood smear cell detection and segmentation method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111340019A (en) * 2019-11-29 2020-06-26 浙江农林大学 Detection method of granary pests based on Faster R-CNN
CN112257704A (en) * 2020-09-15 2021-01-22 深圳视见医疗科技有限公司 Cervical liquid-based cell digital image classification method based on deep learning detection model
CN113256636A (en) * 2021-07-15 2021-08-13 北京小蝇科技有限责任公司 Bottom-up parasite species development stage and image pixel classification method
CN115049613A (en) * 2022-06-14 2022-09-13 云南大学 Mask R-CNN-based malaria blood smear cell detection and segmentation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118962097A (en) * 2024-10-12 2024-11-15 中国科学院生态环境研究中心 Efficient protozoan identification method and electronic device

Similar Documents

Publication Publication Date Title
US11796788B2 (en) Detecting a defect within a bodily sample
US11226280B2 (en) Automated slide assessments and tracking in digital microscopy
JP7197584B2 (en) Methods for storing and retrieving digital pathology analysis results
EP2798350B1 (en) Methods and systems for detecting a pathogen in a biological sample
Mohammed et al. Detection and classification of malaria in thin blood slide images
US9196036B2 (en) Device and method for determining objects in a color recording
Panchbhai et al. RBCs and parasites segmentation from thin smear blood cell images
CN115439398A (en) Method and apparatus for detecting microscopic examination objects in image data
WO2014066231A1 (en) Cell identification method and device, and urine analyzer
Kareem et al. A novel method to count the red blood cells in thin blood films
WO2023031622A1 (en) System and method for identifying and counting biological species
CN107367456B (en) Washing-free image class flow type fluorescence detection method and system
CN116030459A (en) Detection method, device and storage medium for recognizing malaria parasites
Srivastava et al. Detection of Malaria using Machine Learning
Shubhangi et al. Plasmodium Infection Detection Using Machine Learning Algorithms
CN117831031A (en) A platelet microtubule structure recognition method and system
Salih et al. Detection of White Blood Cells Using Algorithms that Analyze the Binary Properties of Red, Blue, and Hue Components
Sorgedragera High sensitive malaria diagnosis using convolutional neural networks in an on-field setting

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