[go: up one dir, main page]

CN111904469A - Heart section detection method and system capable of realizing parallel processing - Google Patents

Heart section detection method and system capable of realizing parallel processing Download PDF

Info

Publication number
CN111904469A
CN111904469A CN202010789423.1A CN202010789423A CN111904469A CN 111904469 A CN111904469 A CN 111904469A CN 202010789423 A CN202010789423 A CN 202010789423A CN 111904469 A CN111904469 A CN 111904469A
Authority
CN
China
Prior art keywords
target
cardiac
slice
image
information
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
CN202010789423.1A
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.)
Shenzhen Lanxiang Zhiying Technology Co ltd
Original Assignee
Changsha Datang Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changsha Datang Information Technology Co ltd filed Critical Changsha Datang Information Technology Co ltd
Priority to CN202010789423.1A priority Critical patent/CN111904469A/en
Publication of CN111904469A publication Critical patent/CN111904469A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B8/00Diagnosis using ultrasonic, sonic or infrasonic waves
    • A61B8/08Clinical applications
    • A61B8/0883Clinical applications for diagnosis of the heart
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B8/00Diagnosis using ultrasonic, sonic or infrasonic waves
    • A61B8/52Devices using data or image processing specially adapted for diagnosis using ultrasonic, sonic or infrasonic waves
    • A61B8/5215Devices using data or image processing specially adapted for diagnosis using ultrasonic, sonic or infrasonic waves involving processing of medical diagnostic data

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Molecular Biology (AREA)
  • Biophysics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Pathology (AREA)
  • Radiology & Medical Imaging (AREA)
  • Biomedical Technology (AREA)
  • Veterinary Medicine (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Cardiology (AREA)
  • Ultra Sonic Daignosis Equipment (AREA)

Abstract

本申请涉及一种可并行处理的心脏切面检测方法及系统。所述方法包括:获取待检测心脏图像;对待检测心脏图像进行目标检测,获得对应的目标信息,目标信息包括:待检测心脏图像中各目标心脏结构的结构类型及对应的置信度,以及待检测心脏图像对应的目标心脏切面的切面类型;根据目标信息,确定目标心脏切面是否为标准切面。采用本方法能够提高心脏标准切面检测结果可信度。

Figure 202010789423

The present application relates to a method and system for detecting a cardiac slice that can be processed in parallel. The method includes: acquiring a heart image to be detected; performing target detection on the heart image to be detected, and obtaining corresponding target information, the target information includes: the structural type and corresponding confidence level of each target cardiac structure in the heart image to be detected, and the information to be detected. The slice type of the target cardiac slice corresponding to the cardiac image; according to the target information, determine whether the target cardiac slice is a standard slice. The method can improve the reliability of the detection result of the standard slice of the heart.

Figure 202010789423

Description

可并行处理的心脏切面检测方法及系统Cardiac slice detection method and system capable of parallel processing

技术领域technical field

本申请涉及产前超声检查技术领域,特别是涉及一种可并行处理的心脏切面检测方法及系统。The present application relates to the technical field of prenatal ultrasound examination, and in particular, to a method and system for detecting cardiac slices that can be processed in parallel.

背景技术Background technique

检测胎儿心脏发育情况对于检测胎儿心脏发育不良、先天性心脏病等有着重要的意义。现阶段主要通过超声检查方式获取胎儿的心脏切面图像,对心脏切面图像进行检测获得心脏标准切面,然后基于心脏标准切面分析胎儿发育情况。目前的心脏标准切面检测方法存在可解释性较差、可信度不高的问题。The detection of fetal cardiac development is of great significance for the detection of fetal cardiac dysplasia and congenital heart disease. At this stage, the fetal heart section images are mainly obtained by ultrasound examination, and the cardiac section images are detected to obtain the cardiac standard section, and then the fetal development is analyzed based on the cardiac standard section. Current standard cardiac slice detection methods have problems of poor interpretability and low reliability.

发明内容SUMMARY OF THE INVENTION

基于此,有必要针对上述技术问题,提供一种能够提高心脏标准切面检测结果可信度的心脏切面检测方法、系统、计算机设备和存储介质。Based on this, it is necessary to provide a cardiac slice detection method, system, computer equipment and storage medium that can improve the reliability of the cardiac standard slice detection results in view of the above technical problems.

一种心脏切面检测方法,所述方法包括:A method for detecting a cardiac section, the method comprising:

获取待检测心脏图像;Obtain the heart image to be detected;

对所述待检测心脏图像进行目标检测,获得对应的目标信息,所述目标信息包括:所述待检测心脏图像中各目标心脏结构的结构类型及对应的置信度,以及所述待检测心脏图像对应的目标心脏切面的切面类型;Perform target detection on the to-be-detected cardiac image to obtain corresponding target information, where the target information includes: the structural type and corresponding confidence level of each target cardiac structure in the to-be-detected cardiac image, and the to-be-detected cardiac image The slice type of the corresponding target cardiac slice;

根据所述目标信息,确定所述目标心脏切面是否为标准切面。According to the target information, it is determined whether the target cardiac slice is a standard slice.

一种心脏切面检测系统,所述系统包括:A cardiac section detection system, the system includes:

图像获取模块,用于获取待检测心脏图像;an image acquisition module for acquiring the heart image to be detected;

目标检测模块,用于对所述待检测心脏图像进行目标检测,获得对应的目标信息,所述目标信息包括:所述待检测心脏图像中各目标心脏结构的结构类型及对应的置信度,以及所述待检测心脏图像对应的目标心脏切面的切面类型;a target detection module, configured to perform target detection on the to-be-detected cardiac image to obtain corresponding target information, where the target information includes: the structural type and corresponding confidence level of each target cardiac structure in the to-be-detected cardiac image, and The slice type of the target cardiac slice corresponding to the cardiac image to be detected;

标准切面确定模块,用于根据所述目标信息,确定所述目标心脏切面是否为标准切面。A standard slice determination module, configured to determine whether the target cardiac slice is a standard slice according to the target information.

一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:A computer device, comprising a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

获取待检测心脏图像;Obtain the heart image to be detected;

对所述待检测心脏图像进行目标检测,获得对应的目标信息,所述目标信息包括:所述待检测心脏图像中各目标心脏结构的结构类型及对应的置信度,以及所述待检测心脏图像对应的目标心脏切面的切面类型;Perform target detection on the to-be-detected cardiac image to obtain corresponding target information, where the target information includes: the structural type and corresponding confidence level of each target cardiac structure in the to-be-detected cardiac image, and the to-be-detected cardiac image The slice type of the corresponding target cardiac slice;

根据所述目标信息,确定所述目标心脏切面是否为标准切面。According to the target information, it is determined whether the target cardiac slice is a standard slice.

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

获取待检测心脏图像;Obtain the heart image to be detected;

对所述待检测心脏图像进行目标检测,获得对应的目标信息,所述目标信息包括:所述待检测心脏图像中各目标心脏结构的结构类型及对应的置信度,以及所述待检测心脏图像对应的目标心脏切面的切面类型;Perform target detection on the to-be-detected cardiac image to obtain corresponding target information, where the target information includes: the structural type and corresponding confidence level of each target cardiac structure in the to-be-detected cardiac image, and the to-be-detected cardiac image The slice type of the corresponding target cardiac slice;

根据所述目标信息,确定所述目标心脏切面是否为标准切面。According to the target information, it is determined whether the target cardiac slice is a standard slice.

上述心脏切面检测方法、系统、计算机设备和存储介质,获取待检测心脏图像;对待检测心脏图像进行目标检测,获得对应的目标信息,目标信息包括:待检测心脏图像中各目标心脏结构的结构类型及对应的置信度,以及待检测心脏图像对应的目标心脏切面的切面类型;根据目标信息,确定目标心脏切面是否为标准切面。从而,根据从待检测心脏图像中检测出的各目标心脏结构的结构类型及对应的置信度、以及检测出的目标心脏切面的切面类型,综合判定目标心脏切面是否为标准切面,具有较好的可解释性,从而提高检测结果可信度。The above-mentioned cardiac section detection method, system, computer equipment and storage medium obtain the cardiac image to be detected; perform target detection on the cardiac image to be detected to obtain corresponding target information, and the target information includes: the structural type of each target cardiac structure in the cardiac image to be detected and the corresponding confidence level, and the slice type of the target cardiac slice corresponding to the cardiac image to be detected; according to the target information, determine whether the target cardiac slice is a standard slice. Therefore, according to the structure type and corresponding confidence level of each target cardiac structure detected from the cardiac image to be detected, as well as the detected slice type of the target cardiac slice, it is comprehensively determined whether the target cardiac slice is a standard slice, which has better results. Interpretability, thereby increasing the reliability of detection results.

附图说明Description of drawings

图1为一个实施例中心脏切面检测方法的流程示意图;1 is a schematic flowchart of a method for detecting a cardiac section in one embodiment;

图2为一个实施例中目标检测模型的结构示意图;2 is a schematic structural diagram of a target detection model in one embodiment;

图3为一个实施例中各种心脏切面的标注示意图;Fig. 3 is the labeling schematic diagram of various cardiac slices in one embodiment;

图4为一个实施例中标准四腔心切面的检测结果和打分结果的示意图;4 is a schematic diagram of the detection results and scoring results of a standard four-chamber slice in one embodiment;

图5为一个实施例中非标准四腔心切面的检测结果和打分结果的示意图;5 is a schematic diagram of the detection results and scoring results of a non-standard four-chamber slice in one embodiment;

图6为一个实施例中标准3VT切面的检测结果和打分结果的示意图;Fig. 6 is the schematic diagram of the detection result and scoring result of the standard 3VT section in one embodiment;

图7为一个实施例中非标准3VT切面的检测结果和打分结果的示意图;Fig. 7 is the schematic diagram of the detection result and scoring result of non-standard 3VT section in one embodiment;

图8为一个实施例中标准右室流出道切面的检测结果和打分结果的示意图;8 is a schematic diagram of the detection results and scoring results of a standard right ventricular outflow tract section in one embodiment;

图9为一个实施例中非标准右室流出道切面的检测结果和打分结果的示意图;9 is a schematic diagram of the detection results and scoring results of a non-standard right ventricular outflow tract section in one embodiment;

图10为一个实施例中标准左室流出道切面的检测结果和打分结果的示意图;10 is a schematic diagram of the detection results and scoring results of a standard left ventricular outflow tract section in one embodiment;

图11为一个实施例中非标准左室流出道切面的检测结果和打分结果的示意图;11 is a schematic diagram of the detection results and scoring results of a non-standard left ventricular outflow tract section in one embodiment;

图12为一个实施例中四腔心标准切面中各关键心脏结构的分割结果示意图;12 is a schematic diagram of the segmentation result of each key cardiac structure in the standard view of a four-chamber heart in one embodiment;

图13为一个实施例中心脏切面检测方法的流程示意图;13 is a schematic flowchart of a method for detecting a cardiac slice in one embodiment;

图14为一个实施例中并行化的流水线方式的示意图;14 is a schematic diagram of a parallelized pipeline method in one embodiment;

图15为一个实施例中心脏切面检测系统的结构框图;15 is a structural block diagram of a cardiac slice detection system in one embodiment;

图16为一个实施例中计算机设备的内部结构图;Figure 16 is an internal structure diagram of a computer device in one embodiment;

图17为一个实施例中计算机设备的内部结构图。Figure 17 is a diagram of the internal structure of a computer device in one embodiment.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

在一个实施例中,如图1所示,提供了一种心脏切面检测方法,包括以下步骤S102至步骤S106。In one embodiment, as shown in FIG. 1 , a method for detecting a cardiac slice is provided, including the following steps S102 to S106 .

S102,获取待检测心脏图像。S102, acquiring a heart image to be detected.

具体地,可以获取被检测对象的心脏超声视频,对心脏超声视频进行解析,获得各种心脏切面对应的帧图片,作为待检测心脏图像。在应用于产检时,被检测对象表示胎儿,待检测心脏图像表示胎儿心脏图像。Specifically, the cardiac ultrasound video of the detected object may be acquired, the cardiac ultrasound video may be analyzed, and frame pictures corresponding to various cardiac slices may be obtained as the cardiac image to be detected. When applied to obstetric inspection, the detected object represents the fetus, and the heart image to be detected represents the fetal heart image.

S104,对待检测心脏图像进行目标检测,获得对应的目标信息,目标信息包括:待检测心脏图像中各目标心脏结构的结构类型及对应的置信度,以及待检测心脏图像对应的目标心脏切面的切面类型。S104, perform target detection on the cardiac image to be detected to obtain corresponding target information, where the target information includes: the structural type and corresponding confidence level of each target cardiac structure in the cardiac image to be detected, and the slice of the target cardiac slice corresponding to the cardiac image to be detected type.

其中,目标心脏结构表示检测出的心脏结构,目标心脏结构的结构类型表示检测出的心脏结构的类型(如左心房、右心房等),置信度可以理解为目标心脏结构属于对应的结构类型的概率。目标心脏切面表示检测出的心脏切面,目标心脏切面的切面类型表示检测出的心脏切面的类型(如四腔心切面、3VT切面等)。Among them, the target cardiac structure represents the detected cardiac structure, the structure type of the target cardiac structure represents the detected cardiac structure type (such as left atrium, right atrium, etc.), and the confidence level can be understood as the target cardiac structure belongs to the corresponding structure type. probability. The target cardiac slice represents the detected cardiac slice, and the slice type of the target cardiac slice represents the type of the detected cardiac slice (eg, four-chamber slice, 3VT slice, etc.).

具体地,心脏切面的类型可以包括四腔心切面、3VT切面、右室流出道切面和左室流出道切面。其中,四腔心切面可以包括以下类型的心脏结构:左心室、左心房、右心室、右心房、肋骨、降主动脉、脊柱。3VT切面可以包括以下类型的心脏结构:主肺动脉及动脉导管、主动脉弓、上腔静脉、气管、降主动脉、脊柱。右室流出道切面可以包括以下类型的心脏结构:主肺动脉及动脉导管、主动脉弓、右心室、上腔静脉、降主动脉、脊柱。左室流出道切面可以包括以下类型的心脏结构:左心室、左室流出道及主动脉、右心室、室间隔、脊柱。Specifically, the types of cardiac views may include a four-chamber view, a 3VT view, a right ventricular outflow tract view, and a left ventricular outflow tract view. Among them, the four-chamber view may include the following types of cardiac structures: left ventricle, left atrium, right ventricle, right atrium, ribs, descending aorta, spine. 3VT views can include the following types of cardiac structures: main pulmonary artery and ductus arteriosus, aortic arch, superior vena cava, trachea, descending aorta, spine. The right ventricular outflow tract view can include the following types of cardiac structures: main pulmonary artery and ductus arteriosus, aortic arch, right ventricle, superior vena cava, descending aorta, spine. Left ventricular outflow tract views can include the following types of cardiac structures: left ventricle, left ventricular outflow tract and aorta, right ventricle, interventricular septum, spine.

S106,根据目标信息,确定目标心脏切面是否为标准切面。S106, according to the target information, determine whether the target cardiac slice is a standard slice.

对于任一待检测心脏图像,根据检测出的各目标心脏结构的结构类型及对应的置信度、以及检测出的目标心脏切面的切面类型,判定目标心脏切面是否为标准切面。For any cardiac image to be detected, it is determined whether the target cardiac slice is a standard slice according to the detected structural type and corresponding confidence level of each target cardiac structure, and the detected slice type of the target cardiac slice.

举例来说,假设检测出的目标心脏切面的切面类型为四腔心切面,可以根据检测出的各目标心脏结构的结构类型及对应的置信度,判断是否满足四腔心切面对应的标准条件,若满足,则确定检测出的目标心脏切面为标准的四腔心切面。其中,标准条件可以包括:检测出的各目标心脏结构的结构类型包含四腔心切面的关键心脏结构(左心室、左心房、右心室、右心房、脊柱、降主动脉、肋骨),还可以进一步包括:根据各目标心脏结构的结构类型及对应的置信度进行打分得到的分数超过一定阈值。For example, assuming that the slice type of the detected target cardiac slice is a four-chamber slice, it can be determined whether the standard conditions corresponding to the four-chamber slice are satisfied according to the detected structural type and corresponding confidence level of each target cardiac slice. , if it is satisfied, the detected target cardiac slice is determined as the standard four-chamber slice. The standard conditions may include: the detected structure type of each target cardiac structure includes the key cardiac structures (left ventricle, left atrium, right ventricle, right atrium, spine, descending aorta, and ribs) of the four-chamber cardiac view, or The method further includes: the score obtained by scoring according to the structure type of each target cardiac structure and the corresponding confidence level exceeds a certain threshold.

上述心脏切面检测方法中,获取待检测心脏图像;对待检测心脏图像进行目标检测,获得对应的目标信息,目标信息包括:待检测心脏图像中各目标心脏结构的结构类型及对应的置信度,以及待检测心脏图像对应的目标心脏切面的切面类型;根据目标信息,确定目标心脏切面是否为标准切面。从而,根据从待检测心脏图像中检测出的各目标心脏结构的结构类型及对应的置信度、以及检测出的目标心脏切面的切面类型,综合判定目标心脏切面是否为标准切面,具有较好的可解释性,从而提高检测结果可信度。In the above-mentioned cardiac slice detection method, the cardiac image to be detected is obtained; the target detection is performed on the cardiac image to be detected, and corresponding target information is obtained, and the target information includes: the structural type and corresponding confidence level of each target cardiac structure in the cardiac image to be detected, and The slice type of the target cardiac slice corresponding to the heart image to be detected; according to the target information, it is determined whether the target cardiac slice is a standard slice. Therefore, according to the structure type and corresponding confidence level of each target cardiac structure detected from the cardiac image to be detected, as well as the detected slice type of the target cardiac slice, it is comprehensively determined whether the target cardiac slice is a standard slice, which has better results. Interpretability, thereby increasing the reliability of detection results.

在一个实施例中,对待检测心脏图像进行目标检测,获得对应的目标信息的步骤,具体可以是:采用训练好的目标检测模型,对检测心脏图像进行目标检测,获得对应的目标信息。In one embodiment, the step of performing target detection on the heart image to be detected and obtaining corresponding target information may specifically be: using a trained target detection model to perform target detection on the detected heart image to obtain corresponding target information.

如图2所示,目标检测模型的结构可以包括由卷积层、残差层顺次连接构成的骨干网和由卷积层、上采样层和连接层构成的三个分支网络。其中,卷积层使用SAME方式填充。卷积层具体可以是Darknetconv2D_BN_Leaky型卷积层,使用SAME方式填充,然后采用批标准化处理(BatchNormalization),并采用带泄露线性整流函数(Leaky ReLU)作为激活函数。As shown in Figure 2, the structure of the target detection model can include a backbone network composed of convolutional layers and residual layers connected in sequence, and three branch networks composed of convolutional layers, upsampling layers and connection layers. Among them, the convolutional layer is filled with SAME method. Specifically, the convolutional layer can be a Darknetconv2D_BN_Leaky-type convolutional layer, which is filled in the SAME method, and then uses BatchNormalization, and uses a leaky linear rectification function (Leaky ReLU) as the activation function.

具体地,骨干网的网络架构如下:Specifically, the network architecture of the backbone network is as follows:

第一层是输入层,其输入是大小为800*800*3的图像;The first layer is the input layer, whose input is an image of size 800*800*3;

第二层是Darknetconv2D_BN_Leaky型卷积层,其接收来自输入层的图像,该层卷积核大小为3*3,数量为32,步长为1,输出大小为800*800*32的矩阵,记该层为C1;The second layer is the Darknetconv2D_BN_Leaky type convolutional layer, which receives the image from the input layer. The convolution kernel size of this layer is 3*3, the number is 32, the stride is 1, and the output size is a matrix of 800*800*32, denoted The layer is C1;

第三层是Darknetconv2D_BN_Leaky型卷积层,其接收来自输入层的图像,该层卷积核大小为3*3,数量为64,步长为2,输出大小为400*400*64的矩阵,记该层为C2;The third layer is the Darknetconv2D_BN_Leaky type convolutional layer, which receives the image from the input layer. The convolution kernel size of this layer is 3*3, the number is 64, the stride is 2, and the output size is a matrix of 400*400*64, denoted This layer is C2;

第四层是残差块(res1),首先该层接收第三层输出的大小为400*400*64的矩阵经过两个C1卷积层(卷积核数量分别为32和64),输出大小为400*400*64的矩阵,之后将该矩阵与第三层输出的大小为400*400*64的矩阵进行相加操作(Add),得到大小为400*400*64的矩阵,记该残差块为R1;The fourth layer is the residual block (res1). First, this layer receives a matrix of size 400*400*64 output by the third layer and passes through two C1 convolution layers (the number of convolution kernels is 32 and 64 respectively), and the output size is It is a matrix of 400*400*64, and then the matrix is added with the matrix of size 400*400*64 output by the third layer to obtain a matrix of size 400*400*64, record the residual The difference block is R1;

第五层是残差块(res2),首先该层接收第四层输出的大小为400*400*64的矩阵,经过C2卷积层(卷积核数量为128)得到大小为200*200*128的矩阵,之后再经过两个残差块R1(两个残差块R1所使用的两个C1卷积层的卷积核数量均分别为64和128),得到大小为200*200*128大小的矩阵;The fifth layer is the residual block (res2). First, this layer receives a matrix of size 400*400*64 output by the fourth layer. After the C2 convolution layer (the number of convolution kernels is 128), the size is 200*200* 128 matrix, and then after two residual blocks R1 (the number of convolution kernels of the two C1 convolutional layers used by the two residual blocks R1 are 64 and 128 respectively), the size is 200*200*128 the size of the matrix;

第六层是残差块(res8),首先该层接收第五层输出的大小为200*200*128的矩阵,经过C2卷积层(卷积核数量为256)得到大小为100*100*256的矩阵,之后再经过八个残差块R1(八个残差块R1所使用的两个C1卷积层的卷积核数量均分别为128和256),得到大小为100*100*256大小的矩阵;The sixth layer is the residual block (res8). First, this layer receives a matrix of size 200*200*128 output by the fifth layer. After the C2 convolution layer (the number of convolution kernels is 256), the size is 100*100* 256 matrix, and then after eight residual blocks R1 (the number of convolution kernels of the two C1 convolutional layers used by the eight residual blocks R1 are 128 and 256 respectively), the size is 100*100*256 the size of the matrix;

第七层是残差块(res8),首先该层接收第六层输出的大小为100*100*256的矩阵,经过C2卷积层(卷积核数量为512)得到大小为50*50*512的矩阵,之后再经过八个残差块R1(八个残差块R1所使用的两个C1卷积层的卷积核数量均分别为256和512),得到大小为50*50*512大小的矩阵;The seventh layer is the residual block (res8). First, this layer receives a matrix of size 100*100*256 output by the sixth layer. After the C2 convolution layer (the number of convolution kernels is 512), the size is 50*50* 512 matrix, and then after eight residual blocks R1 (the number of convolution kernels of the two C1 convolutional layers used by the eight residual blocks R1 are 256 and 512 respectively), the size is 50*50*512 the size of the matrix;

第八层是残差块(res4),首先该层接收第七层输出的大小为50*50*512的矩阵,经过C2卷积层(卷积核数量为1024)得到大小为25*25*1024的矩阵,之后再经过八个残差块R1(八个残差块R1所使用的两个C1卷积层的卷积核数量均分别为512和1024),得到大小为25*25*1024的矩阵。The eighth layer is the residual block (res4). First, this layer receives a matrix of size 50*50*512 output by the seventh layer. After the C2 convolution layer (the number of convolution kernels is 1024), the size is 25*25* 1024 matrix, and then after eight residual blocks R1 (the number of convolution kernels of the two C1 convolutional layers used by the eight residual blocks R1 are 512 and 1024 respectively), the size is 25*25*1024 matrix.

分支网络的网络架构如下:The network architecture of the branch network is as follows:

第一层为Darknetconv2D_BN_Leaky型卷积层,该层接收骨干网输出的大小为25*25*1024的矩阵,该层卷积核大小为1*1,数量为512,步长为1,输出大小为25*25*512的矩阵;The first layer is the Darknetconv2D_BN_Leaky type convolutional layer. This layer receives a matrix of size 25*25*1024 output by the backbone network. The size of the convolution kernel of this layer is 1*1, the number is 512, the step size is 1, and the output size is 25*25*512 matrix;

第二层为Darknetconv2D_BN_Leaky型卷积层,该层卷积核大小为3*3,数量为1024,步长为1,输出大小为25*25*1024的矩阵;The second layer is the Darknetconv2D_BN_Leaky convolutional layer, the convolution kernel size of this layer is 3*3, the number is 1024, the stride is 1, and the output size is a matrix of 25*25*1024;

第三层为Darknetconv2D_BN_Leaky型卷积层,该层卷积核大小为1*1,数量为512,步长为1,输出大小为25*25*512的矩阵;The third layer is the Darknetconv2D_BN_Leaky convolutional layer, the convolution kernel size of this layer is 1*1, the number is 512, the stride is 1, and the output size is a matrix of 25*25*512;

第四层为Darknetconv2D_BN_Leaky型卷积层,该层卷积核大小为3*3,数量为1024,步长为1,输出大小为25*25*1024的矩阵;The fourth layer is the Darknetconv2D_BN_Leaky convolutional layer, the convolution kernel size of this layer is 3*3, the number is 1024, the stride is 1, and the output size is a matrix of 25*25*1024;

第五层为Darknetconv2D_BN_Leaky型卷积层,该层卷积核大小为1*1,数量为512,步长为1,输出大小为25*25*512的矩阵;The fifth layer is the Darknetconv2D_BN_Leaky convolutional layer, the convolution kernel size of this layer is 1*1, the number is 512, the stride is 1, and the output size is a matrix of 25*25*512;

第六层为Darknetconv2D_BN_Leaky型卷积层,该层卷积核大小为3*3,数量为256,步长为1,输出大小为25*25*256的矩阵;The sixth layer is the Darknetconv2D_BN_Leaky convolutional layer, the convolution kernel size of this layer is 3*3, the number is 256, the stride is 1, and the output size is a matrix of 25*25*256;

第七层为卷积层,该层卷积核大小为1*1,数量为60,步长为1,输出大小为25*25*60的矩阵,该层的输出即为第一个分支子网络的输出,从第一层至第七层即为第一个分支子网络的网络架构;The seventh layer is the convolution layer. The size of the convolution kernel of this layer is 1*1, the number is 60, the step size is 1, and the output size is a matrix of 25*25*60. The output of this layer is the first branch child. The output of the network, from the first layer to the seventh layer is the network structure of the first branch sub-network;

第八层为Darknetconv2D_BN_Leaky型卷积层,该层接收第五层输出的大小为25*25*512的矩阵,该层卷积核大小为1*1,数量为256,步长为1,输出大小为25*25*256的矩阵;The eighth layer is the Darknetconv2D_BN_Leaky type convolutional layer. This layer receives a matrix of size 25*25*512 output by the fifth layer. The size of the convolution kernel of this layer is 1*1, the number is 256, the step size is 1, and the output size is 1. is a matrix of 25*25*256;

第九层为上采样层,该层接收第八层输出的大小为25*25*256的矩阵,该层上采样倍数为2*2,输出大小为50*50*256的矩阵;The ninth layer is an upsampling layer, which receives a matrix with a size of 25*25*256 output by the eighth layer, the upsampling multiple of this layer is 2*2, and the output size is a matrix of 50*50*256;

第十层为连接层(Concatenate),该层将第九层输出的大小为50*50*256的矩阵和骨干网中的第七层残差块输出的大小为50*50*512的矩阵进行连接,得到大小为50*50*768的矩阵;The tenth layer is the connection layer (Concatenate), which combines the output of the ninth layer with a matrix of size 50*50*256 and the output of the seventh-layer residual block in the backbone network with a size of 50*50*512. Connect to get a matrix of size 50*50*768;

第十一层为Darknetconv2D_BN_Leaky型卷积层,该层接收第十层输出的大小为50*50*768的矩阵,该层卷积核大小为1*1,数量为256,步长为1,输出大小为50*50*256的矩阵;The eleventh layer is the Darknetconv2D_BN_Leaky type convolutional layer. This layer receives a matrix of size 50*50*768 output by the tenth layer. The size of the convolution kernel of this layer is 1*1, the number is 256, the step size is 1, and the output A matrix of size 50*50*256;

第十二层为Darknetconv2D_BN_Leaky型卷积层,该层卷积核大小为3*3,数量为512,步长为1,输出大小为50*50*512的矩阵;The twelfth layer is the Darknetconv2D_BN_Leaky type convolutional layer, the convolution kernel size of this layer is 3*3, the number is 512, the stride is 1, and the output size is a matrix of 50*50*512;

第十三层为Darknetconv2D_BN_Leaky型卷积层,该层卷积核大小为1*1,数量为256,步长为1,输出大小为50*50*256的矩阵;The thirteenth layer is the Darknetconv2D_BN_Leaky convolutional layer, the convolution kernel size of this layer is 1*1, the number is 256, the stride is 1, and the output size is a matrix of 50*50*256;

第十四层为Darknetconv2D_BN_Leaky型卷积层,该层卷积核大小为3*3,数量为512,步长为1,输出大小为50*50*512的矩阵;The fourteenth layer is the Darknetconv2D_BN_Leaky convolutional layer, the convolution kernel size of this layer is 3*3, the number is 512, the stride is 1, and the output size is a matrix of 50*50*512;

第十五层为Darknetconv2D_BN_Leaky型卷积层,该层卷积核大小为1*1,数量为256,步长为1,输出大小为50*50*256的矩阵;The fifteenth layer is the Darknetconv2D_BN_Leaky convolutional layer, the convolution kernel size of this layer is 1*1, the number is 256, the stride is 1, and the output size is a matrix of 50*50*256;

第十六层为Darknetconv2D_BN_Leaky型卷积层,该层卷积核大小为3*3,数量为128,步长为1,输出大小为50*50*128的矩阵;The sixteenth layer is the Darknetconv2D_BN_Leaky type convolution layer, the convolution kernel size of this layer is 3*3, the number is 128, the stride is 1, and the output size is a matrix of 50*50*128;

第十七层为卷积层,该层卷积核大小为1*1,数量为60,步长为1,输出大小为50*50*60的矩阵,该层的输出即为第二个分支子网络的输出,从第一层至第五层和第八层至第十七层即为第二个分支子网络的网络架构;The seventeenth layer is a convolutional layer. The size of the convolution kernel of this layer is 1*1, the number is 60, the stride is 1, and the output size is a matrix of 50*50*60. The output of this layer is the second branch. The output of the sub-network, from the first layer to the fifth layer and the eighth layer to the seventeenth layer is the network structure of the second branch sub-network;

第十八层为Darknetconv2D_BN_Leaky型卷积层,该层接收第十五层输出的大小为50*50*256的矩阵,该层卷积核大小为1*1,数量为128,步长为1,输出大小为50*50*128的矩阵;The eighteenth layer is a Darknetconv2D_BN_Leaky convolutional layer, which receives a matrix of size 50*50*256 output by the fifteenth layer. The size of the convolution kernel of this layer is 1*1, the number is 128, and the step size is 1. Output a matrix of size 50*50*128;

第十九层为上采样层,该层接收第十八层输出的大小为50*50*128的矩阵,该层上采样倍数为2*2,输出大小为100*100*128的矩阵;The nineteenth layer is an upsampling layer, which receives a matrix of size 50*50*128 output by the eighteenth layer, the upsampling multiple of this layer is 2*2, and the output size is a matrix of 100*100*128;

第二十层为连接层(Concatenate),该层将第十九层输出大小为100*100*128的矩阵和骨干网中的第六层残差块输出的大小为100*100*256的矩阵进行连接,得到大小为100*100*384的矩阵;The twentieth layer is the connection layer (Concatenate), which outputs a matrix of size 100*100*128 output by the nineteenth layer and a matrix of size 100*100*256 output by the sixth layer of residual blocks in the backbone network Connect to get a matrix of size 100*100*384;

第二十一层为Darknetconv2D_BN_Leaky型卷积层,该层接收第二十层输出的大小为100*100*384的矩阵,该层卷积核大小为1*1,数量为128,步长为1,输出大小为100*100*128的矩阵;The twenty-first layer is a Darknetconv2D_BN_Leaky convolutional layer, which receives a matrix of size 100*100*384 output by the twenty-first layer. The size of the convolution kernel of this layer is 1*1, the number is 128, and the stride is 1. , the output size is a matrix of 100*100*128;

第二十二层为Darknetconv2D_BN_Leaky型卷积层,该层卷积核大小为3*3,数量为256,步长为1,输出大小为100*100*256的矩阵;The twenty-second layer is the Darknetconv2D_BN_Leaky convolutional layer. The convolution kernel size of this layer is 3*3, the number is 256, the stride is 1, and the output size is a matrix of 100*100*256;

第二十三层为Darknetconv2D_BN_Leaky型卷积层,该层卷积核大小为1*1,数量为128,步长为1,输出大小为100*100*128的矩阵;The twenty-third layer is the Darknetconv2D_BN_Leaky convolutional layer, the convolution kernel size of this layer is 1*1, the number is 128, the stride is 1, and the output size is a matrix of 100*100*128;

第二十四层为Darknetconv2D_BN_Leaky型卷积层,该层卷积核大小为3*3,数量为256,步长为1,输出大小为100*100*256的矩阵;The twenty-fourth layer is the Darknetconv2D_BN_Leaky convolutional layer, the convolution kernel size of this layer is 3*3, the number is 256, the stride is 1, and the output size is a matrix of 100*100*256;

第二十五层为Darknetconv2D_BN_Leaky型卷积层,该层卷积核大小为1*1,数量为128,步长为1,输出大小为100*100*128的矩阵;The twenty-fifth layer is the Darknetconv2D_BN_Leaky type convolutional layer. The convolution kernel size of this layer is 1*1, the number is 128, the stride is 1, and the output size is a matrix of 100*100*128;

第二十六层为Darknetconv2D_BN_Leaky型卷积层,该层卷积核大小为3*3,数量为64,步长为1,输出大小为100*100*64的矩阵;The twenty-sixth layer is a Darknetconv2D_BN_Leaky convolutional layer. The convolution kernel size of this layer is 3*3, the number is 64, the stride is 1, and the output size is a matrix of 100*100*64;

第二十七层为卷积层,该层卷积核大小为1*1,数量为60,步长为1,输出大小为100*100*60的矩阵,该层的输出即为第三个分支子网络的输出,从第一层至第五层、第八层至第十五层和第十八至第二十七层即为第三个分支子网络的网络架构。The twenty-seventh layer is a convolutional layer. The size of the convolution kernel of this layer is 1*1, the number is 60, the stride is 1, and the output size is a matrix of 100*100*60. The output of this layer is the third one. The output of the branch sub-network, from the first layer to the fifth layer, the eighth layer to the fifteenth layer and the eighteenth to the twenty-seventh layer, is the network structure of the third branch sub-network.

目标检测模型可以通过以下步骤训练得到:获取心脏样本图像以及对应的标注信息,标注信息包括:心脏样本图像中各心脏结构的位置标注信息和结构标注类型,以及心脏样本图像对应的心脏切面的位置标注信息和切面标注类型;将心脏样本图像输入待训练目标检测模型,得到心脏样本图像对应的检测信息,检测信息包括:心脏样本图像中各心脏结构的位置检测信息、结构检测类型及对应的检测置信度,以及心脏样本图像对应的心脏切面的切面位置检测信息、切面检测类型及对应的检测置信度;基于检测信息与标注信息,调整待训练目标检测模型的参数,直至满足模型训练结束条件,获得训练好的目标检测模型。The target detection model can be trained by the following steps: acquiring the heart sample image and the corresponding labeling information, the labeling information includes: the position labeling information and structure labeling type of each cardiac structure in the heart sample image, and the position of the cardiac slice corresponding to the heart sample image Labeling information and slice labeling type; input the cardiac sample image into the target detection model to be trained to obtain the detection information corresponding to the cardiac sample image, the detection information includes: the position detection information of each cardiac structure in the cardiac sample image, the structure detection type and the corresponding detection information Confidence, as well as the slice position detection information, slice detection type and corresponding detection confidence of the cardiac slice corresponding to the heart sample image; based on the detection information and label information, adjust the parameters of the target detection model to be trained until the model training end condition is met, Obtain the trained object detection model.

心脏样本图像包括各种心脏切面类型对应的心脏图像,心脏切面类型包括:四腔心切面、3VT切面、右室流出道切面和左室流出道切面。对于任一心脏样本图像,可以由专业医师对其进行标注,具体标注方法可以是将心脏样本图像中的各心脏结构分别用矩形框进行标注,心脏结构的位置标注信息包括对应标注框的对角点坐标,结构标注类型表示对应标注框指示的心脏结构类型。标注好各心脏结构后,可以采用包围所有心脏结构标注框的矩形框对心脏切面进行标注,心脏切面的位置标注信息包括对应标注框的对角点坐标,切面标注类型表示对应标注框指示的心脏切面类型。The cardiac sample images include cardiac images corresponding to various cardiac view types, including four-chamber cardiac view, 3VT view, right ventricular outflow tract view and left ventricular outflow tract view. For any heart sample image, it can be marked by a professional doctor. The specific marking method can be to mark each heart structure in the heart sample image with a rectangular frame, and the position marking information of the heart structure includes the diagonal corners of the corresponding marked frame. Point coordinates, structure annotation type indicates the cardiac structure type indicated by the corresponding annotation box. After labeling each cardiac structure, a rectangular frame can be used to mark the cardiac section. The position labeling information of the cardiac section includes the coordinates of the diagonal points of the corresponding labeling box. The labeling type of the section indicates the heart indicated by the corresponding labeling box. Slice type.

具体地,图3示出了一个实施例中标准四腔心切面、非标准四腔心切面、标准3VT切面和非标准3VT切面、右室流出道切面、非标准右室流出道切面、左室流出道切面、非标准左室流出道切面的标注图。Specifically, FIG. 3 shows a standard four-chamber view, a non-standard four-chamber view, a standard 3VT view and a non-standard 3VT view, a right ventricular outflow tract view, a non-standard right ventricular outflow tract view, a left ventricular Annotated diagram of outflow tract view, non-standard left ventricular outflow tract view.

获得心脏样本图像后,可以对每一个心脏样本图像进行归一化处理,例如将图像的像素范围从0~255转换为0~1,以提高模型训练时的收敛速度。对归一化处理后的心脏样本图像按照8:1:1的比例划分成训练集、验证集和测试集。After the heart sample images are obtained, each heart sample image can be normalized, for example, the pixel range of the image is converted from 0 to 255 to 0 to 1, so as to improve the convergence speed during model training. The normalized heart sample images are divided into training set, validation set and test set according to the ratio of 8:1:1.

将训练集输入待训练目标检测模型,得到心脏样本图像对应的检测信息,对于任一心脏样本图像,检测信息包括心脏样本图像中各检测框对应的信息,外围检测框对应检测出的心脏切面,外围检测框中包含的每一检测框对应一个检测出的心脏结构,心脏结构的位置检测信息包括对应检测框的对角点坐标,结构检测类型表示对应检测框指示的心脏结构类型,置信度表示对应检测框的置信度。心脏切面的切面位置检测信息包括对应检测框的对角点坐标,切面检测类型表示对应检测框指示的心脏切面类型,置信度表示对应检测框的置信度。Input the training set into the target detection model to be trained, and obtain the detection information corresponding to the cardiac sample image. For any cardiac sample image, the detection information includes the information corresponding to each detection frame in the cardiac sample image, and the peripheral detection frame corresponds to the detected cardiac section, Each detection frame included in the peripheral detection frame corresponds to a detected cardiac structure, the position detection information of the cardiac structure includes the coordinates of the diagonal points of the corresponding detection frame, the structure detection type indicates the cardiac structure type indicated by the corresponding detection frame, and the confidence level indicates The confidence level of the corresponding detection box. The slice position detection information of the cardiac slice includes the coordinates of the diagonal points of the corresponding detection frame, the slice detection type indicates the cardiac slice type indicated by the corresponding detection frame, and the confidence level indicates the confidence level of the corresponding detection frame.

采用Adam优化器对待训练目标检测模型进行迭代训练,基于检测信息与标注信息的差异计算损失值,调整待训练目标检测模型的参数,直至满足模型训练结束条件,从而获得训练好的目标检测模型。可以是当达到预设迭代次数,或损失值小于预设阈值时,判定满足模型训练结束条件。在一个实施例中,迭代训练过程中的初始学习率(LearningRate)设为0.0001,批量大小(BatchSize)设为4,迭代次数设为50。The Adam optimizer is used to iteratively train the target detection model to be trained, the loss value is calculated based on the difference between the detection information and the labeling information, and the parameters of the target detection model to be trained are adjusted until the end condition of the model training is met, thereby obtaining a trained target detection model. It may be that when the preset number of iterations is reached, or the loss value is less than the preset threshold, it is determined that the model training end condition is satisfied. In one embodiment, the initial learning rate (LearningRate) in the iterative training process is set to 0.0001, the batch size (BatchSize) is set to 4, and the number of iterations is set to 50.

上述实施例中,采用一个目标检测模型既能检测出心脏图像中包含的心脏结构也能检测出该心脏图像的切面类型,从而能够达到较快的检测速度,缩短检测时间,提高检测效率。In the above embodiment, a target detection model can be used to detect both the cardiac structure contained in the cardiac image and the slice type of the cardiac image, thereby achieving a faster detection speed, shortening the detection time, and improving the detection efficiency.

利用测试集进行模型测试,测试检测出的心脏切面中各个心脏结构的效果,以准确率(Precision)、召回率(Recall)、平均准确率(mAP)作为评价标准来衡量模型的检测结果,如下表1所示。此外,进一步测试了检测标准切面与非标准切面的准确率(Precision)和召回率(Recall),用来衡量标准切面和非标准切面的检测效果,如下表2所示。Use the test set to test the model, test the effect of each cardiac structure in the detected cardiac section, and use the accuracy rate (Precision), the recall rate (Recall), and the average accuracy rate (mAP) as the evaluation criteria to measure the detection results of the model, as follows shown in Table 1. In addition, the precision and recall rate (Recall) of detecting standard and non-standard sections are further tested to measure the detection effect of standard and non-standard sections, as shown in Table 2 below.

表1Table 1

切面section PrecisionPrecision RecallRecall mAPmAP 四腔心切面Four-chamber view 0.8720.872 0.9680.968 0.9580.958 3VT切面3VT slice 0.9180.918 0.9510.951 0.9640.964 右室流出道切面Right ventricular outflow tract view 0.8050.805 0.960.96 0.9160.916 左室流出道切面Left ventricular outflow tract view 0.9020.902 0.9230.923 0.9370.937

表2Table 2

切面section PrecisionPrecision RecallRecall 标准四腔心切面Standard four-chamber view 0.8920.892 0.9530.953 非标准四腔心切面Non-standard four-chamber view 0.9110.911 0.9610.961 标准3VT切面Standard 3VT slice 0.9570.957 0.9290.929 非标准3VT切面Non-standard 3VT slices 0.9860.986 0.9320.932 标准右室流出道切面Standard right ventricular outflow tract view 0.9270.927 0.9480.948 非标准右室流出道切面Nonstandard right ventricular outflow tract view 0.9720.972 0.9150.915 标准左室流出道切面Standard left ventricular outflow tract view 0.9140.914 0.9680.968 非标准左室流出道切面Nonstandard left ventricular outflow tract view 0.8990.899 0.9740.974

通过上表1可以看出四腔心切面、3VT切面、右室流出道切面和左室流出道切面的准确率都较高,基本上能够达到临床的需求;通过上表2可以看出上述四个切面对应的标准及非标准切面的准确率和召回率都较高,检测效果较好。From the above table 1, it can be seen that the four-chamber view, 3VT view, right ventricular outflow tract view and left ventricular outflow tract view have high accuracy and can basically meet the clinical needs; The standard and non-standard aspects corresponding to each aspect have higher accuracy and recall rate, and the detection effect is better.

在一个实施例中,根据目标信息,确定目标心脏切面是否为标准切面的步骤,具体可以包括以下步骤:根据各目标心脏结构的结构类型,判断目标心脏切面是否包含切面类型对应的基本心脏结构;当目标心脏切面包含对应的基本心脏结构时,根据各目标心脏结构的结构类型及对应的置信度,计算得到目标心脏切面的评估分数;根据评估分数,确定目标心脏切面是否为标准切面。In one embodiment, the step of determining whether the target cardiac section is a standard section according to the target information may specifically include the following steps: according to the structural type of each target cardiac structure, judging whether the target cardiac section includes the basic cardiac structure corresponding to the section type; When the target cardiac section contains the corresponding basic cardiac structure, the evaluation score of the target cardiac section is calculated according to the structure type and corresponding confidence level of each target cardiac structure; according to the evaluation score, it is determined whether the target cardiac section is a standard section.

在一个实施例中,对于一待检测心脏图像,若检测出的目标心脏切面的切面类型为四腔心切面,则通过以下方式判断其是否为标准四腔心切面:根据检测出的各目标心脏结构的结构类型,判断检测出的所有目标心脏结构中是否包括至少一个左心室、左心房、右心室、右心房、脊柱、降主动脉以及至少两个肋骨,若否,则判定该目标心脏切面为非标准四腔心切面,若是,则根据各目标心脏结构的结构类型及对应的置信度进行打分,具体打分规则如下:In one embodiment, for a heart image to be detected, if the slice type of the detected target cardiac slice is a four-chamber slice, it is determined whether it is a standard four-chamber slice by the following method: according to each detected target heart slice The structure type of the structure, determine whether all the detected target cardiac structures include at least one left ventricle, left atrium, right ventricle, right atrium, spine, descending aorta and at least two ribs, if not, determine the target cardiac section It is a non-standard four-chamber view. If it is, it will be scored according to the structural type of each target cardiac structure and the corresponding confidence. The specific scoring rules are as follows:

Score=confidence(左心室)*factor(左心室)+confidence(左心房)*factor(左心房)+confidence(右心室)*factor(右心室)+confidence(右心房)*factor(右心房)+confidence(脊柱)*factor(脊柱)+confidence(降主动脉)*factor(降主动脉)+confidence(肋骨)*factor(肋骨);Score=confidence(left ventricle)*factor(left ventricle)+confidence(left atrium)*factor(left atrium)+confidence(right ventricle)*factor(right ventricle)+confidence(right atrium)*factor(right atrium)+ confidence(spine)*factor(spine)+confidence(descending aorta)*factor(descending aorta)+confidence(rib)*factor(rib);

其中,confidence表示各心脏结构检测框的目标置信度,肋骨选取置信度最高的两个检测框,将其置信度平均值作为目标置信度,其他心脏结构(左心室、左心房、右心室、右心房、脊柱、降主动脉)选取置信度最高的一个检测框,将其置信度作为目标置信度。factor表示各心脏结构在四腔心切面中的所占权重,在一个实施例中,左心室、左心房、右心室、右心房、脊柱、降主动脉、肋骨在四腔心切面中的所占权重分别设为15、15、15、15、10、10、20。Score表示评估分数,若评估分数高于预设分数阈值,则判定上述四腔心切面为标准四腔心切面,若低于或等于预设分数阈值,则判定上述四腔心切面为非标准四腔心切面。在一个实施例中,预设分数阈值可以设为70。图4示出了一个实施例中标准四腔心切面的检测结果和打分结果的示意图。图5示出了一个实施例中非标准四腔心切面的检测结果和打分结果的示意图。Among them, confidence represents the target confidence of each cardiac structure detection frame, the ribs select the two detection frames with the highest confidence, and the average of their confidences is used as the target confidence. Other cardiac structures (left ventricle, left atrium, right ventricle, right Atrium, spine, descending aorta) select a detection frame with the highest confidence, and use its confidence as the target confidence. factor represents the weight of each cardiac structure in the four-chamber view. In one embodiment, the proportions of the left ventricle, left atrium, right ventricle, right atrium, spine, descending aorta, and ribs in the four-chamber view The weights are set to 15, 15, 15, 15, 10, 10, 20, respectively. Score represents the evaluation score. If the evaluation score is higher than the preset score threshold, it is determined that the above four-chamber view is a standard four-chamber view. If it is lower than or equal to the preset score threshold, it is determined that the four-chamber view is a non-standard four-chamber view. Cavity section. In one embodiment, the preset score threshold may be set to 70. FIG. 4 shows a schematic diagram of the detection results and scoring results of the standard four-chamber slice in one embodiment. FIG. 5 shows a schematic diagram of the detection results and scoring results of the non-standard four-chamber slice in one embodiment.

在一个实施例中,对于一待检测心脏图像,若检测出的目标心脏切面的切面类型为3VT切面,则通过以下方式判断其是否为标准3VT切面:根据检测出的各目标心脏结构的结构类型,判断检测出的所有目标心脏结构中是否包括至少一个主动脉及动脉导管、主动脉弓、上腔静脉、气管、降主动脉和脊柱,若否,则判定该目标心脏切面为非标准3VT切面,若是,则根据各目标心脏结构的结构类型及对应的置信度进行打分,具体打分规则如下:In one embodiment, for a heart image to be detected, if the detected slice type of the target cardiac slice is a 3VT slice, it is determined whether it is a standard 3VT slice by the following method: according to the detected structural type of each target cardiac structure , determine whether all the detected target cardiac structures include at least one aorta and ductus arteriosus, aortic arch, superior vena cava, trachea, descending aorta and spine, if not, determine that the target cardiac view is a non-standard 3VT view, if so , then the scoring is performed according to the structural type and corresponding confidence of each target cardiac structure. The specific scoring rules are as follows:

Score=confidence(主动脉及动脉导管)*factor(主动脉及动脉导管)+confidence(主动脉弓)*factor(主动脉弓)+confidence(上腔静脉)*factor(上腔静脉)+confidence(气管)*factor(气管)+confidence(降主动脉)*factor(降主动脉)+confidence(脊柱)*factor(脊柱);Score=confidence (aorta and ductus arteriosus)*factor (aorta and ductus arteriosus)+confidence (aortic arch)*factor (aortic arch)+confidence (superior vena cava)*factor (superior vena cava)+confidence (trachea)*factor (trachea)+confidence(descending aorta)*factor(descending aorta)+confidence(spine)*factor(spine);

其中,confidence表示各心脏结构检测框的目标置信度,主动脉及动脉导管、主动脉弓、上腔静脉、气管、降主动脉和脊柱均选取置信度最高的一个检测框,将其置信度作为目标置信度。factor表示各心脏结构在3VT切面中的所占权重,在一个实施例中,主动脉及动脉导管、主动脉弓、上腔静脉、气管、降主动脉、脊柱在3VT切面中的所占权重分别设为20、20、15、20、15、10。Score表示评估分数,若评估分数高于预设分数阈值,则判定上述3VT切面为标准3VT切面,若低于或等于预设分数阈值,则判定上述3VT切面为非标准3VT切面。在一个实施例中,预设分数阈值可以设为70。图6示出了一个实施例中标准3VT切面的检测结果和打分结果的示意图。图7示出了一个实施例中非标准3VT切面的检测结果和打分结果的示意图。Among them, confidence represents the target confidence of each cardiac structure detection frame. The aorta and arterial duct, aortic arch, superior vena cava, trachea, descending aorta and spine all select the detection frame with the highest confidence and take its confidence as the target confidence. Spend. factor represents the weight of each cardiac structure in the 3VT view. In one embodiment, the weights of the aorta and the ductus arteriosus, the aortic arch, the superior vena cava, the trachea, the descending aorta, and the spine in the 3VT view are respectively set as 20, 20, 15, 20, 15, 10. Score represents the evaluation score. If the evaluation score is higher than the preset score threshold, it is determined that the above-mentioned 3VT slice is a standard 3VT slice, and if it is lower than or equal to the preset score threshold, it is determined that the above-mentioned 3VT slice is a non-standard 3VT slice. In one embodiment, the preset score threshold may be set to 70. FIG. 6 shows a schematic diagram of the detection results and scoring results of standard 3VT slices in one embodiment. FIG. 7 shows a schematic diagram of the detection results and scoring results of non-standard 3VT slices in one embodiment.

在一个实施例中,对于一待检测心脏图像,若检测出的目标心脏切面的切面类型为右室流出道切面,则通过以下方式判断其是否为标准右室流出道切面:根据检测出的各目标心脏结构的结构类型,判断检测出的所有目标心脏结构中是否包括至少一个主动脉及动脉导管、右心室、脊柱、主动脉弓、降主动脉和上腔静脉,若否,则判定该目标心脏切面为非标准右室流出道切面,若是,则根据各目标心脏结构的结构类型及对应的置信度进行打分,具体打分规则如下:In one embodiment, for a heart image to be detected, if the detected slice type of the target cardiac slice is a right ventricular outflow tract slice, it is determined whether it is a standard right ventricular outflow tract slice by the following method: The structure type of the target cardiac structure, determine whether all the detected target cardiac structures include at least one aorta and ductus arteriosus, right ventricle, spine, aortic arch, descending aorta and superior vena cava, if not, determine the target cardiac section It is a non-standard right ventricular outflow tract view. If it is, it will be scored according to the structural type of each target cardiac structure and the corresponding confidence. The specific scoring rules are as follows:

Score=confidence(主动脉及动脉导管)*factor(主动脉及动脉导管)+confidence(右心室)*factor(右心室)+confidence(脊柱)*factor(脊柱)+confidence(主动脉弓)*factor(主动脉弓)+confidence(降主动脉)*factor(降主动脉)+confidence(上腔静脉)*factor(上腔静脉);Score=confidence(aorta and ductus arteriosus)*factor(aorta and ductus arteriosus)+confidence(right ventricle)*factor(right ventricle)+confidence(spine)*factor(spine)+confidence(aortic arch)*factor(aortic arch) )+confidence(descending aorta)*factor(descending aorta)+confidence(superior vena cava)*factor(superior vena cava);

其中,confidence表示各心脏结构检测框的目标置信度,主动脉及动脉导管、右心室、脊柱、主动脉弓、降主动脉、上腔静脉均选取置信度最高的一个检测框,将其置信度作为目标置信度。factor表示各心脏结构在右室流出道切面中的所占权重,在一个实施例中,主动脉及动脉导管、右心室、脊柱、主动脉弓、降主动脉、上腔静脉在右室流出道切面中的所占权重分别设为15、20、20、15、15、15。Score表示评估分数,若评估分数高于预设分数阈值,则判定上述右室流出道切面为标准右室流出道切面,若低于或等于预设分数阈值,则判定上述右室流出道切面为非标准右室流出道切面。在一个实施例中,预设分数阈值可以设为70。图8示出了一个实施例中标准右室流出道切面的检测结果和打分结果的示意图。图9示出了一个实施例中非标准右室流出道切面的检测结果和打分结果的示意图。Among them, confidence represents the target confidence of each cardiac structure detection frame. The aorta and ductus arteriosus, right ventricle, spine, aortic arch, descending aorta, and superior vena cava all select the detection frame with the highest confidence, and take its confidence as the target. Confidence. The factor represents the weight of each cardiac structure in the right ventricular outflow tract view. In one embodiment, the aorta and the ductus arteriosus, the right ventricle, the spine, the aortic arch, the descending aorta, and the superior vena cava are in the right ventricular outflow tract view. The occupied weights are set to 15, 20, 20, 15, 15, and 15, respectively. Score represents the evaluation score. If the evaluation score is higher than the preset score threshold, it is determined that the above RV outflow tract section is a standard RV outflow tract section. If it is lower than or equal to the preset score threshold, it is determined that the above RV outflow tract section is Nonstandard right ventricular outflow tract view. In one embodiment, the preset score threshold may be set to 70. FIG. 8 shows a schematic diagram of the detection results and scoring results of a standard right ventricular outflow tract section in one embodiment. FIG. 9 shows a schematic diagram of the detection results and scoring results of a non-standard right ventricular outflow tract section in one embodiment.

在一个实施例中,对于一待检测心脏图像,若检测出的目标心脏切面的切面类型为左室流出道切面,则通过以下方式判断其是否为标准左室流出道切面:根据检测出的各目标心脏结构的结构类型,判断检测出的所有目标心脏结构中是否包括至少一个左心室、右心室、左室流出道及主动脉、脊柱和室间隔,若否,则判定该目标心脏切面为非标准左室流出道切面,若是,则根据各目标心脏结构的结构类型及对应的置信度进行打分,具体打分规则如下:In one embodiment, for a heart image to be detected, if the slice type of the detected target cardiac slice is a left ventricular outflow tract slice, it is determined whether it is a standard left ventricular outflow tract slice by the following method: Structural type of the target cardiac structure, determine whether all detected target cardiac structures include at least one left ventricle, right ventricle, left ventricular outflow tract, aorta, spine and ventricular septum, if not, determine that the target cardiac section is non-standard The left ventricular outflow tract section, if yes, will be scored according to the structural type of each target cardiac structure and the corresponding confidence. The specific scoring rules are as follows:

Score=confidence(左心室)*factor(左心室)+confidence(右心室)*factor(右心室)+confidence(左室流出道及主动脉)*factor(左室流出道及主动脉)+confidence(脊柱)*factor(脊柱)+confidence(室间隔)*factor(室间隔);Score=confidence(left ventricle)*factor(left ventricle)+confidence(right ventricle)*factor(right ventricle)+confidence(left ventricular outflow tract and aorta)*factor(left ventricular outflow tract and aorta)+confidence( spine)*factor(spine)+confidence(ventricular septum)*factor(ventricular septum);

其中,confidence表示各心脏结构检测框的目标置信度,左心室、右心室、左室流出道及主动脉、脊柱、室间隔均选取置信度最高的一个检测框,将其置信度作为目标置信度。factor表示各心脏结构在左室流出道切面中的所占权重,在一个实施例中,左心室、右心室、左室流出道及主动脉、脊柱、室间隔在左室流出道切面中的所占权重分别设为25、25、20、15、15。Score表示评估分数,若评估分数高于预设分数阈值,则判定上述左室流出道切面为标准左室流出道切面,若低于或等于预设分数阈值,则判定上述左室流出道切面为非标准左室流出道切面。在一个实施例中,预设分数阈值可以设为70。图10示出了一个实施例中标准左室流出道切面的检测结果和打分结果的示意图。图11示出了一个实施例中非标准左室流出道切面的检测结果和打分结果的示意图。Among them, confidence represents the target confidence level of each cardiac structure detection frame. The left ventricle, right ventricle, left ventricular outflow tract, aorta, spine, and interventricular septum are selected for the detection frame with the highest confidence level, and its confidence level is used as the target confidence level. . factor represents the weight of each cardiac structure in the left ventricular outflow tract view. In one embodiment, the left ventricle, right ventricle, left ventricular outflow tract, and the aorta, spine, and ventricular septum in the left ventricular outflow tract view are all weights. The weights are set to 25, 25, 20, 15, and 15, respectively. Score represents the evaluation score. If the evaluation score is higher than the preset score threshold, it is determined that the above-mentioned left ventricular outflow tract view is a standard left ventricular outflow tract view. Nonstandard left ventricular outflow tract view. In one embodiment, the preset score threshold may be set to 70. Figure 10 shows a schematic diagram of the detection results and scoring results of a standard left ventricular outflow tract section in one embodiment. FIG. 11 shows a schematic diagram of the detection results and scoring results of a non-standard left ventricular outflow tract section in one embodiment.

上述实施例中,基于详细的结构打分机制,获得检测出的各目标心脏切面是否为标准切面的具体得分值,在超声产前医学上具有很高的可解释性,提高心脏标准切面检测结果可信度。In the above embodiment, based on the detailed structure scoring mechanism, the specific score value of whether each target cardiac section detected is a standard section is obtained, which has high interpretability in ultrasound prenatal medicine, and improves the detection results of the standard cardiac section. credibility.

在一个实施例中,对待检测心脏图像进行目标检测获得的目标信息中还包括各目标心脏结构的位置信息,当判定目标心脏切面为标准切面时,还包括以下步骤:根据各目标心脏结构的位置信息,从待检测心脏图像中提取各目标心脏结构对应的目标心脏结构图像;对各目标心脏结构图像进行分割,获得各目标心脏结构图像中目标心脏结构的轮廓信息。In one embodiment, the target information obtained by performing target detection on the heart image to be detected further includes position information of each target cardiac structure, and when it is determined that the target cardiac slice is a standard slice, the following steps are also included: according to the position of each target cardiac structure The target cardiac structure image corresponding to each target cardiac structure is extracted from the to-be-detected cardiac image; each target cardiac structure image is segmented to obtain contour information of the target cardiac structure in each target cardiac structure image.

对于任一检测出的目标心脏结构,其位置信息包括对应检测框的对角点坐标,假设分别用(xmin,ymin)和(xmax,ymax)表示,将对角点坐标向外四周扩展N个像素,获得裁剪框的对角点坐标,分别用(xmin-N,ymin-N)和(xmax+N,ymax+N)表示,其中N可以根据实际情况进行设置,例如可以设为10。根据裁剪框的对角点坐标将该目标心脏结构从待检测心脏图像中裁剪出来,获得该目标心脏结构对应的目标心脏结构图像。For any detected target heart structure, its position information includes the coordinates of the diagonal points of the corresponding detection frame, which are assumed to be represented by (x min , y min ) and (x max , y max ) respectively, and the coordinates of the diagonal points are outward Expand N pixels around to obtain the coordinates of the diagonal points of the cropping frame, which are represented by (x min -N, y min -N) and (x max +N, y max +N) respectively, where N can be set according to the actual situation , for example, it can be set to 10. The target cardiac structure is cropped from the to-be-detected cardiac image according to the coordinates of the diagonal points of the cropping frame, and a target cardiac structure image corresponding to the target cardiac structure is obtained.

在一个实施例中,对各目标心脏结构图像进行分割,获得各目标心脏结构图像中目标心脏结构的轮廓信息的步骤,具体可以是:对于任一目标心脏结构图像,采用对应的训练好的图像分割模型,对目标心脏结构图像进行分割,获得各目标心脏结构图像中目标心脏结构的轮廓信息。In one embodiment, the step of segmenting each target cardiac structure image to obtain contour information of the target cardiac structure in each target cardiac structure image may specifically be: for any target cardiac structure image, use the corresponding trained image The segmentation model is used to segment the target cardiac structure image to obtain contour information of the target cardiac structure in each target cardiac structure image.

图像分割模型的结构可以包括卷积层、池化层、正则化层、上采样层和特征融合层。其中,卷积层使用SAME方式填充,并采用线性整流函数(ReLU)作为激活函数。The structure of the image segmentation model can include convolutional layers, pooling layers, regularization layers, upsampling layers and feature fusion layers. Among them, the convolutional layer is filled with the SAME method, and the linear rectification function (ReLU) is used as the activation function.

具体地,图像分割网络模型的架构如下:Specifically, the architecture of the image segmentation network model is as follows:

第一层是输入层,其输入是大小为128*128*3的图像;The first layer is the input layer, whose input is an image of size 128*128*3;

第二层是第一层卷积层,其接收来自输入层的图像,该层卷积核大小为3*3,数量为64,步长为1,输出大小为128*128*64的矩阵;The second layer is the first convolutional layer, which receives the image from the input layer, the convolution kernel size of this layer is 3*3, the number is 64, the stride is 1, and the output size is a matrix of 128*128*64;

第三层是第二层卷积层,该层卷积核大小为3*3,数量为64,步长为1,输出大小为128*128*64的矩阵;The third layer is the second layer of convolution layer, the size of the convolution kernel of this layer is 3*3, the number is 64, the stride is 1, and the output size is a matrix of 128*128*64;

第四层是第一层池化层,池化大小为2*2,输出大小为64*64*64的矩阵;The fourth layer is the first pooling layer, the pooling size is 2*2, and the output size is a matrix of 64*64*64;

第五层是第三层卷积层,该层卷积核大小为3*3,数量为128,步长为1,输出大小为64*64*128的矩阵;The fifth layer is the third convolutional layer, the convolution kernel size of this layer is 3*3, the number is 128, the stride is 1, and the output size is a matrix of 64*64*128;

第六层是第四层卷积层,该层卷积核大小为3*3,数量为128,步长为1,输出大小为64*64*128的矩阵;The sixth layer is the fourth layer of convolutional layer. The size of the convolution kernel of this layer is 3*3, the number is 128, the stride is 1, and the output size is a matrix of 64*64*128;

第七层是第二层池化层,池化大小为2*2,输出大小为32*32*128的矩阵;The seventh layer is the second pooling layer, the pooling size is 2*2, and the output size is a matrix of 32*32*128;

第八层是第五层卷积层,该层卷积核大小为3*3,数量为256,步长为1,输出大小为32*32*256的矩阵;The eighth layer is the fifth convolutional layer, the convolution kernel size of this layer is 3*3, the number is 256, the stride is 1, and the output size is a matrix of 32*32*256;

第九层是第六层卷积层,该层卷积核大小为3*3,数量为256,步长为1,输出大小为32*32*256的矩阵;The ninth layer is the sixth convolution layer. The size of the convolution kernel of this layer is 3*3, the number is 256, the stride is 1, and the output size is a matrix of 32*32*256;

第十层是第三层池化层,池化大小为2*2,输出大小为16*16*256的矩阵;The tenth layer is the third pooling layer, the pooling size is 2*2, and the output size is a matrix of 16*16*256;

第十一层是第七层卷积层,该层卷积核大小为3*3,数量为512,步长为1,输出大小为16*16*512的矩阵;The eleventh layer is the seventh layer of convolutional layer. The size of the convolution kernel of this layer is 3*3, the number is 512, the stride is 1, and the output size is a matrix of 16*16*512;

第十二层是第八层卷积层,该层卷积核大小为3*3,数量为512,步长为1,输出大小为16*16*512的矩阵;The twelfth layer is the eighth convolution layer. The size of the convolution kernel of this layer is 3*3, the number is 512, the stride is 1, and the output size is a matrix of 16*16*512;

第十三层是第一层丢弃正则化层(Dropout),丢弃率为0.5,输出大小为16*16*512的矩阵;The thirteenth layer is the first dropout regularization layer (Dropout), the dropout rate is 0.5, and the output size is a matrix of 16*16*512;

第十四层是第四层池化层,池化大小为2*2,输出大小为8*8*512的矩阵;The fourteenth layer is the fourth pooling layer, the pooling size is 2*2, and the output size is a matrix of 8*8*512;

第十五层是第九层卷积层,该层卷积核大小为3*3,数量为1024,步长为1,输出大小为8*8*1024的矩阵;The fifteenth layer is the ninth convolution layer. The size of the convolution kernel of this layer is 3*3, the number is 1024, the stride is 1, and the output size is a matrix of 8*8*1024;

第十六层是第十层卷积层,该层卷积核大小为3*3,数量为1024,步长为1,输出大小为8*8*1024的矩阵;The sixteenth layer is the tenth convolution layer. The size of the convolution kernel of this layer is 3*3, the number is 1024, the stride is 1, and the output size is a matrix of 8*8*1024;

第十七层是第二层丢弃正则化层(Dropout),丢弃率为0.5,输出大小为8*8*1024的矩阵;The seventeenth layer is the second layer dropout regularization layer (Dropout), the dropout rate is 0.5, and the output size is a matrix of 8*8*1024;

第十八层是第一层上采样层(UpSampling),上采样因子为2*2,输出大小为16*16*1024的矩阵;The eighteenth layer is the first layer upsampling layer (UpSampling), the upsampling factor is 2*2, and the output size is a matrix of 16*16*1024;

第十九层是第十一层卷积层,该层卷积核大小为2*2,数量为512,步长为1,输出大小为16*16*512的矩阵,;The nineteenth layer is the eleventh convolutional layer, the convolution kernel size of this layer is 2*2, the number is 512, the stride is 1, and the output size is a matrix of 16*16*512;

第二十层是第一层特征融合层,该层对第一层丢弃正则化层和第十一层卷积层的输出进行特征融合,轴参数axis为3,输出大小为16*16*1024的矩阵;The twentieth layer is the first feature fusion layer. This layer performs feature fusion on the output of the first layer discarding regularization layer and the eleventh layer convolution layer. The axis parameter axis is 3, and the output size is 16*16*1024 the matrix;

第二十一层是第十二层卷积层,该层卷积核大小为3*3,数量为512,步长为1,输出大小为16*16*512的矩阵;The twenty-first layer is the twelfth convolutional layer. The size of the convolution kernel of this layer is 3*3, the number is 512, the stride is 1, and the output size is a matrix of 16*16*512;

第二十二层是第十三层卷积层,该层卷积核大小为3*3,数量为512,步长为1,输出大小为16*16*512的矩阵;The twenty-second layer is the thirteenth convolutional layer. The size of the convolution kernel of this layer is 3*3, the number is 512, the stride is 1, and the output size is a matrix of 16*16*512;

第二十三层是第二层上采样层,上采样因子为2*2,输出大小为32*32*512的矩阵;The twenty-third layer is the second upsampling layer, the upsampling factor is 2*2, and the output size is a matrix of 32*32*512;

第二十四层是第十四层卷积层,该层卷积核大小为2*2,数量为256,步长为1,输出大小为32*32*256的矩阵;The twenty-fourth layer is the fourteenth convolutional layer. The size of the convolution kernel of this layer is 2*2, the number is 256, the stride is 1, and the output size is a matrix of 32*32*256;

第二十五层是第二层特征融合层,该层对第六层卷积层和第十四层卷积层的输出进行特征融合,轴参数axis为3,输出大小为32*32*512;The twenty-fifth layer is the second feature fusion layer. This layer performs feature fusion on the outputs of the sixth convolutional layer and the fourteenth convolutional layer. The axis parameter axis is 3, and the output size is 32*32*512 ;

第二十六层是第十五层卷积层,该层卷积核大小为3*3,数量为256,步长为1,输出大小为32*32*256的矩阵;The twenty-sixth layer is the fifteenth convolutional layer. The size of the convolution kernel of this layer is 3*3, the number is 256, the stride is 1, and the output size is a matrix of 32*32*256;

第二十七层是第十六层卷积层,该层卷积核大小为3*3,数量为256,步长为1,输出大小为32*32*256的矩阵;The twenty-seventh layer is the sixteenth convolutional layer. The size of the convolution kernel of this layer is 3*3, the number is 256, the stride is 1, and the output size is a matrix of 32*32*256;

第二十八层是第三层上采样层,上采样因子为2*2,输出大小为64*64*256的矩阵;The twenty-eighth layer is the third upsampling layer, the upsampling factor is 2*2, and the output size is a matrix of 64*64*256;

第二十九层是第十七层卷积层,该层卷积核大小为2*2,数量为128,步长为1,输出大小为64*64*128的矩阵;The twenty-ninth layer is the seventeenth convolutional layer. The size of the convolution kernel of this layer is 2*2, the number is 128, the stride is 1, and the output size is a matrix of 64*64*128;

第三十层是第三层特征融合层,该层对第四层卷积层和第十七层卷积层的输出进行特征融合,轴参数axis为3,输出大小为64*64*256的矩阵;The thirtieth layer is the third feature fusion layer, which performs feature fusion on the outputs of the fourth convolutional layer and the seventeenth convolutional layer. The axis parameter axis is 3, and the output size is 64*64*256. matrix;

第三十一层是第十八层卷积层,该层卷积核大小为3*3,数量为128,步长为1,输出大小为64*64*128的矩阵;The thirty-first layer is the eighteenth convolution layer. The size of the convolution kernel of this layer is 3*3, the number is 128, the stride is 1, and the output size is a matrix of 64*64*128;

第三十二层是第十九层卷积层,该层卷积核大小为3*3,数量为128,步长为1,输出大小为64*64*128的矩阵;The thirty-second layer is the nineteenth convolutional layer. The size of the convolution kernel of this layer is 3*3, the number is 128, the stride is 1, and the output size is a matrix of 64*64*128;

第三十三层是第四层上采样层,上采样因子为2*2,输出大小为128*128*128的矩阵;The thirty-third layer is the fourth upsampling layer, the upsampling factor is 2*2, and the output size is a matrix of 128*128*128;

第三十四层是第二十层卷积层,该层卷积核大小为2*2,数量为64,步长为1,输出大小为128*128*64的矩阵;The thirty-fourth layer is the twentieth convolutional layer. The size of the convolution kernel of this layer is 2*2, the number is 64, the stride is 1, and the output size is a matrix of 128*128*64;

第三十五层是第四层特征融合层,该层对第二层卷积层和第二十层卷积层的输出进行特征融合,轴参数axis为3,输出大小为128*128*128的矩阵;The thirty-fifth layer is the fourth feature fusion layer. This layer performs feature fusion on the outputs of the second convolutional layer and the twentieth convolutional layer. The axis parameter axis is 3, and the output size is 128*128*128 the matrix;

第三十六层是第二十一层卷积层,该层卷积核大小为3*3,数量为64,步长为1,输出大小为128*128*64的矩阵;The thirty-sixth layer is the twenty-first convolutional layer. The size of the convolution kernel of this layer is 3*3, the number is 64, the stride is 1, and the output size is a matrix of 128*128*64;

第三十七层是第二十二层卷积层,该层卷积核大小为3*3,数量为64,步长为1,输出大小为128*128*64的矩阵;The thirty-seventh layer is the twenty-second convolutional layer. The size of the convolution kernel of this layer is 3*3, the number is 64, the stride is 1, and the output size is a matrix of 128*128*64;

第三十八层是第二十三层卷积层,该层卷积核大小为3*3,数量为2,步长为1,输出大小为128*128*2的矩阵;The thirty-eighth layer is the twenty-third convolution layer. The size of the convolution kernel of this layer is 3*3, the number is 2, the stride is 1, and the output size is a matrix of 128*128*2;

第三十九层是第二十四层卷积层,该层卷积核大小为1*1,数量为1,步长为1,输出大小为128*128*1的矩阵。The thirty-ninth layer is the twenty-fourth convolutional layer. The convolution kernel size of this layer is 1*1, the number is 1, the stride is 1, and the output size is a matrix of 128*128*1.

图像分割模型可以通过以下步骤训练得到:获取心脏结构样本图像以及对应的标注信息,标注信息包括:心脏结构样本图像中心脏结构的轮廓标注信息和结构标注类型;将心脏结构样本图像输入待训练图像分割模型,得到心脏结构样本图像对应的分割信息,分割信息包括:心脏结构样本图像中心脏结构的轮廓分割信息、结构分割类型及对应的分割置信度;基于分割信息与标注信息,调整待训练图像分割模型的参数,直至满足模型训练结束条件,获得训练好的图像分割模型。The image segmentation model can be trained by the following steps: acquiring the cardiac structure sample image and corresponding annotation information, the annotation information includes: the outline annotation information and structure annotation type of the cardiac structure in the cardiac structure sample image; input the cardiac structure sample image into the image to be trained The segmentation model is used to obtain segmentation information corresponding to the cardiac structure sample image, and the segmentation information includes: contour segmentation information, structure segmentation type and corresponding segmentation confidence of the cardiac structure in the cardiac structure sample image; based on the segmentation information and label information, adjust the image to be trained The parameters of the segmentation model are obtained until the end condition of the model training is met, and the trained image segmentation model is obtained.

心脏结构样本图像为包含有相应心脏结构的图像,举例来说,心脏结构为左心室时,对应的心脏结构样本图像为包含有左心室结构的图像。对于任一心脏结构样本图像,可以由专业医师对其进行标注,具体标注方法可以是将心脏结构样本图像中的心脏结构的轮廓及类型标注出来,作为轮廓标注信息和结构标注类型。将心脏结构样本图像输入待训练图像分割模型,得到心脏结构样本图像对应的分割信息,其中心脏结构的轮廓分割信息表示图像分割模型输出的轮廓信息,结构分割类型表示图像分割模型输出的结构类型,分割置信度表示图像分割模型输出结果的置信度。基于分割信息与标注信息,调整待训练图像分割模型的参数,直至满足模型训练结束条件,获得训练好的图像分割模型。The cardiac structure sample image is an image including a corresponding cardiac structure. For example, when the cardiac structure is a left ventricle, the corresponding cardiac structure sample image is an image including a left ventricular structure. For any cardiac structure sample image, it can be marked by a professional physician, and the specific marking method can be to mark the outline and type of the cardiac structure in the cardiac structure sample image as the outline annotation information and structure annotation type. Input the cardiac structure sample image into the image segmentation model to be trained, and obtain the segmentation information corresponding to the cardiac structure sample image, wherein the outline segmentation information of the cardiac structure represents the outline information output by the image segmentation model, and the structure segmentation type represents the structure type output by the image segmentation model, The segmentation confidence represents the confidence in the output of the image segmentation model. Based on the segmentation information and the labeling information, the parameters of the image segmentation model to be trained are adjusted until the end condition of the model training is satisfied, and the trained image segmentation model is obtained.

采用随机剃度下降法(Stochastic gradient descent,简称SGD)对待训练图像分割模型进行迭代训练,基于分割信息与标注信息的差异计算损失值,调整待训练图像分割模型的参数,直至满足模型训练结束条件,从而获得训练好的图像分割模型。可以是当达到预设迭代次数,或损失值小于预设阈值时,判定满足模型训练结束条件。在一个实施例中,迭代训练过程中的初始学习率(LearningRate)设为0.002,批量大小(BatchSize)设为32,冲量ξ设为0.8,迭代次数设为60。Stochastic gradient descent (SGD) is used to iteratively train the image segmentation model to be trained, and the loss value is calculated based on the difference between the segmentation information and the annotation information, and the parameters of the image segmentation model to be trained are adjusted until the end condition of the model training is met. Thereby, a trained image segmentation model is obtained. It may be that when the preset number of iterations is reached, or the loss value is less than the preset threshold, it is determined that the model training end condition is satisfied. In one embodiment, the initial learning rate (LearningRate) in the iterative training process is set to 0.002, the batch size (BatchSize) is set to 32, the impulse ξ is set to 0.8, and the number of iterations is set to 60.

上述实施例中,利用目标检测模型检测结果中各目标心脏结构的具体位置,对每个目标检测框中的结构再进行语义分割,相比于直接对整个心脏图像的多个结构进行分割,可提高分割结果准确率。In the above embodiment, using the specific positions of the target cardiac structures in the detection results of the target detection model to perform semantic segmentation on the structures in each target detection frame, compared to directly segmenting multiple structures in the entire cardiac image, it can be Improve the accuracy of segmentation results.

在一个实施例中,获得各目标心脏结构的轮廓信息后,还可以包括以下步骤:根据各目标心脏结构的轮廓信息,对各目标心脏结构进行测量。In one embodiment, after obtaining the contour information of each target cardiac structure, the following step may be further included: measuring each target cardiac structure according to the contour information of each target cardiac structure.

如图12所示,其示出了一个实施例中四腔心标准切面中各关键心脏结构(左心房、左心室、右心房、右心室、脊柱、降主动脉、肋骨)的分割结果示意图。具体而言,测量方式可以根据结构的类型而定,例如对于左心房,可以根据分割得到的左心房轮廓信息,测量轮廓周长和面积;对于肋骨,可以根据分割得到的肋骨轮廓信息,测量轮廓长度。获得测量结果后,可以根据测量结果评估各心脏结构的发育情况。As shown in FIG. 12, it shows a schematic diagram of the segmentation result of each key cardiac structure (left atrium, left ventricle, right atrium, right ventricle, spine, descending aorta, rib) in the standard view of the four-chamber heart in one embodiment. Specifically, the measurement method can be determined according to the type of structure. For example, for the left atrium, the contour circumference and area can be measured according to the left atrial contour information obtained by segmentation; for ribs, the contour can be measured according to the rib contour information obtained by segmentation. length. Once the measurements are obtained, the development of individual cardiac structures can be assessed based on the measurements.

在一个实施例中,如图13所示,提供了一种心脏切面检测方法,包括以下步骤S1301至步骤S1308。In one embodiment, as shown in FIG. 13 , a method for detecting a cardiac slice is provided, including the following steps S1301 to S1308 .

S1301,获取待检测心脏图像。S1301, acquiring a heart image to be detected.

S1302,采用训练好的目标检测模型,对待检测心脏图像进行目标检测,获得对应的目标信息,目标信息包括:待检测心脏图像中各目标心脏结构的位置信息、结构类型及对应的置信度,以及待检测心脏图像对应的目标心脏切面的切面类型。S1302, using the trained target detection model, perform target detection on the heart image to be detected, and obtain corresponding target information, where the target information includes: position information, structure type and corresponding confidence level of each target cardiac structure in the heart image to be detected, and The slice type of the target cardiac slice corresponding to the cardiac image to be detected.

S1303,根据各目标心脏结构的结构类型,判断目标心脏切面是否包含切面类型对应的基本心脏结构,若是,进入步骤S1304。S1303, according to the structure type of each target cardiac structure, determine whether the target cardiac slice contains the basic cardiac structure corresponding to the slice type, and if so, go to step S1304.

S1304,根据各目标心脏结构的结构类型及对应的置信度,计算得到目标心脏切面的评估分数。S1304, according to the structure type of each target cardiac structure and the corresponding confidence level, calculate and obtain the evaluation score of the target cardiac slice.

S1305,判断评估分数是否高于预设分数阈值,若是,确定目标心脏切面是为标准切面,进入步骤S1306。S1305, determine whether the evaluation score is higher than the preset score threshold, and if so, determine that the target cardiac slice is a standard slice, and proceed to step S1306.

S1306,根据各目标心脏结构的位置信息,从待检测心脏图像中提取各目标心脏结构对应的目标心脏结构图像。S1306 , according to the position information of each target cardiac structure, extract a target cardiac structure image corresponding to each target cardiac structure from the cardiac image to be detected.

S1307,采用训练好的图像分割模型,对各目标心脏结构图像进行分割,获得各目标心脏结构图像中目标心脏结构的轮廓信息。S1307 , using the trained image segmentation model, segment each target cardiac structure image, and obtain contour information of the target cardiac structure in each target cardiac structure image.

S1308,根据各目标心脏结构的轮廓信息,对各目标心脏结构进行测量。S1308, measure each target cardiac structure according to the contour information of each target cardiac structure.

关于上述步骤S1301~S1308的具体限定可以参考前文实施例。本实施例中,采用一个目标检测模型既能检测出心脏图像中包含的心脏结构也能检测出该心脏图像的切面类型,从而能够达到较快的检测速度,缩短检测时间,提高检测效率。基于详细的结构打分机制,获得检测出的各目标心脏切面是否为标准切面的具体得分值,在超声产前医学上具有很高的可解释性,提高心脏标准切面检测结果可信度。利用目标检测模型检测结果中各目标心脏结构的具体位置,对每个目标检测框中的结构再进行语义分割,相比于直接对整个心脏图像的多个结构进行分割,可提高分割结果准确率。For the specific limitations of the foregoing steps S1301 to S1308, reference may be made to the foregoing embodiments. In this embodiment, a target detection model can be used to detect both the cardiac structure contained in the cardiac image and the slice type of the cardiac image, thereby achieving faster detection speed, shortening detection time, and improving detection efficiency. Based on the detailed structure scoring mechanism, the specific score value of whether each target cardiac section detected is a standard section can be obtained, which has high interpretability in prenatal ultrasound and improves the reliability of the detection results of the standard cardiac section. Using the specific position of each target cardiac structure in the detection result of the target detection model, semantic segmentation is performed on the structure in each target detection frame, which can improve the accuracy of segmentation results compared to directly segmenting multiple structures in the entire cardiac image. .

在一个实施例中,如图14所示,可以利用并行化的流水线方式,进行前述实施例中的图像预处理、目标检测、基于打分规则的预测、图像分割以及结构测量的过程。具体地,并行流水线由图像预处理、目标检测、基于打分规则的预测、图像分割、结构测量五个阶段构成,当第一帧图像处于结构测量阶段,第二帧图像处于图像分割阶段,第三帧图像处于基于打分规则的预测阶段,第四帧图像处于目标检测阶段,第五帧图像处于图像预处理阶段,这五帧图像可以同时进行处理,由此实现了五级流水线。由于不同图像帧所处的不同步骤之间是互不干扰的,因此并行流水线的方式得以实现。据此,可大大加快处理速度,一定程度上保证心脏标准切面的获取和测量的实时性。In one embodiment, as shown in FIG. 14 , the processes of image preprocessing, target detection, prediction based on scoring rules, image segmentation, and structure measurement in the foregoing embodiment can be performed by using a parallelized pipeline method. Specifically, the parallel pipeline consists of five stages: image preprocessing, target detection, prediction based on scoring rules, image segmentation, and structure measurement. When the first frame of image is in the structure measurement stage, the second frame of image is in the image segmentation stage, and the third The frame image is in the prediction stage based on scoring rules, the fourth frame image is in the target detection stage, and the fifth frame image is in the image preprocessing stage. These five frame images can be processed at the same time, thus realizing a five-stage pipeline. Since the different steps in different image frames do not interfere with each other, the parallel pipeline method can be realized. Accordingly, the processing speed can be greatly accelerated, and the real-time acquisition and measurement of the standard slice of the heart can be guaranteed to a certain extent.

应该理解的是,虽然图1、13的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1、13中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the steps in the flowcharts of FIGS. 1 and 13 are sequentially displayed according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 1 and 13 may include multiple steps or multiple stages. These steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The execution of these steps or stages The order is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or phases within the other steps.

在一个实施例中,如图15所示,提供了一种心脏切面检测系统1500,包括:图像获取模块1510、目标检测模块1520和标准切面确定模块1530,其中:In one embodiment, as shown in FIG. 15, a cardiac slice detection system 1500 is provided, including: an image acquisition module 1510, a target detection module 1520 and a standard slice determination module 1530, wherein:

图像获取模块1510,用于获取待检测心脏图像。The image acquisition module 1510 is used for acquiring the heart image to be detected.

目标检测模块1520,用于对待检测心脏图像进行目标检测,获得对应的目标信息,目标信息包括:待检测心脏图像中各目标心脏结构的结构类型及对应的置信度,以及待检测心脏图像对应的目标心脏切面的切面类型。The target detection module 1520 is used to perform target detection on the heart image to be detected, and obtain corresponding target information. The target information includes: the structural type and corresponding confidence level of each target cardiac structure in the heart image to be detected, and the corresponding confidence level of the heart image to be detected. The slice type of the target cardiac slice.

标准切面确定模块1530,用于根据目标信息,确定目标心脏切面是否为标准切面。The standard slice determination module 1530 is configured to determine whether the target cardiac slice is a standard slice according to the target information.

在一个实施例中,目标检测模块1520,具体用于采用训练好的目标检测模型,对待检测心脏图像进行目标检测,获得对应的目标信息。In one embodiment, the target detection module 1520 is specifically configured to use a trained target detection model to perform target detection on the heart image to be detected to obtain corresponding target information.

在一个实施例中,目标检测模块1520包括第一训练单元,用于训练得到目标检测模型,具体用于:获取心脏样本图像以及对应的标注信息,标注信息包括:心脏样本图像中各心脏结构的位置标注信息和结构标注类型,以及心脏样本图像对应的心脏切面的位置标注信息和切面标注类型;将心脏样本图像输入待训练目标检测模型,得到心脏样本图像对应的检测信息,检测信息包括:心脏样本图像中各心脏结构的位置检测信息、结构检测类型及对应的检测置信度,以及心脏样本图像对应的心脏切面的切面位置检测信息、切面检测类型及对应的检测置信度;基于检测信息与标注信息,调整待训练目标检测模型的参数,直至满足模型训练结束条件,获得训练好的目标检测模型。In one embodiment, the target detection module 1520 includes a first training unit, which is used for training to obtain a target detection model, and is specifically used for: acquiring a heart sample image and corresponding labeling information, where the labeling information includes: each cardiac structure in the heart sample image Location annotation information and structure annotation type, as well as the location annotation information and slice annotation type of the cardiac slice corresponding to the cardiac sample image; input the cardiac sample image into the target detection model to be trained to obtain the detection information corresponding to the cardiac sample image, and the detection information includes: heart The position detection information, structure detection type and corresponding detection confidence of each cardiac structure in the sample image, as well as the slice position detection information, slice detection type and corresponding detection confidence of the cardiac slice corresponding to the cardiac sample image; based on the detection information and annotations information, adjust the parameters of the target detection model to be trained until the end condition of the model training is met, and obtain the trained target detection model.

在一个实施例中,标准切面确定模块1530包括:判断单元、打分单元和确定单元。判断单元,用于根据各目标心脏结构的结构类型,判断目标心脏切面是否包含切面类型对应的基本心脏结构。打分单元,用于当目标心脏切面包含对应的基本心脏结构时,根据各目标心脏结构的结构类型及对应的置信度,计算得到目标心脏切面的评估分数。确定单元,用于根据评估分数,确定目标心脏切面是否为标准切面。In one embodiment, the standard slice determination module 1530 includes: a judgment unit, a scoring unit, and a determination unit. The judgment unit is used for judging whether the target cardiac slice contains the basic cardiac structure corresponding to the slice type according to the structure type of each target cardiac structure. The scoring unit is used for calculating the evaluation score of the target cardiac section according to the structure type of each target cardiac structure and the corresponding confidence when the target cardiac section includes the corresponding basic cardiac structure. The determining unit is used for determining whether the target cardiac slice is a standard slice according to the evaluation score.

在一个实施例中,目标心脏切面的切面类型为四腔心切面,判断单元具体用于:当各目标心脏结构中包括至少一个左心室、左心房、右心室、右心房、脊柱、降主动脉以及至少两个肋骨时,判定目标心脏切面包含四腔心切面对应的基本心脏结构。打分单元具体用于:对于结构类型为左心室、左心房、右心室、右心房、脊柱、降主动脉中任意一种的目标心脏结构,从对应的置信度中选取最高的一个置信度,作为对应的目标置信度;对于结构类型为肋骨的目标心脏结构,从对应的置信度中选取最高的两个置信度,将两者平均值作为对应的目标置信度;基于左心室、左心房、右心室、右心房、脊柱、降主动脉、肋骨对应的目标置信度与预设权重的乘积之和,得到四腔心切面的评估分数。In one embodiment, the slice type of the target cardiac slice is a four-chamber slice, and the judging unit is specifically configured to: when each target cardiac structure includes at least one left ventricle, left atrium, right ventricle, right atrium, spine, descending aorta and at least two ribs, it is determined that the target cardiac section contains the basic cardiac structure corresponding to the four-chamber cardiac section. The scoring unit is specifically used for: for the target heart structure whose structure type is any one of left ventricle, left atrium, right ventricle, right atrium, spine, and descending aorta, select the highest confidence level from the corresponding confidence level, as Corresponding target confidence; for the target heart structure whose structure type is rib, the highest two confidences are selected from the corresponding confidences, and the average of the two is used as the corresponding target confidence; based on the left ventricle, left atrium, right The sum of the products of the target confidence levels corresponding to the ventricle, right atrium, spine, descending aorta, and ribs and the preset weights was used to obtain the evaluation score of the four-chamber view.

在一个实施例中,目标心脏切面的切面类型为3VT切面,判断单元具体用于:当各目标心脏结构中包括至少一个主动脉及动脉导管、主动脉弓、上腔静脉、气管、降主动脉和脊柱时,判定目标心脏切面包含3VT切面对应的基本心脏结构。打分单元具体用于:对于结构类型为主动脉及动脉导管、主动脉弓、上腔静脉、气管、降主动脉、脊柱中任意一种的目标心脏结构,从对应的置信度中选取最高的一个置信度,作为对应的目标置信度;基于主动脉及动脉导管、主动脉弓、上腔静脉、气管、降主动脉、脊柱对应的目标置信度与预设权重的乘积之和,得到3VT切面的评估分数。In one embodiment, the slice type of the target cardiac slice is a 3VT slice, and the judging unit is specifically configured to: when each target cardiac structure includes at least one aorta and ductus arteriosus, aortic arch, superior vena cava, trachea, descending aorta, and spine When , it is determined that the target cardiac slice contains the basic cardiac structure corresponding to the 3VT slice. The scoring unit is specifically used to select the highest confidence level from the corresponding confidence levels for the target heart structure of any structure type: aorta and ductus arteriosus, aortic arch, superior vena cava, trachea, descending aorta, and spine. , as the corresponding target confidence; based on the sum of the products of the corresponding target confidence and the preset weight of the aorta and ductus arteriosus, aortic arch, superior vena cava, trachea, descending aorta, and spine, the evaluation score of the 3VT slice was obtained.

在一个实施例中,目标心脏切面的切面类型为右室流出道切面,判断单元具体用于:当各目标心脏结构中包括至少一个主动脉及动脉导管、右心室、脊柱、主动脉弓、降主动脉和上腔静脉时,判定目标心脏切面包含右室流出道切面对应的基本心脏结构。打分单元具体用于:对于结构类型为主动脉及动脉导管、右心室、脊柱、主动脉弓、降主动脉、上腔静脉中任意一种的目标心脏结构,从对应的置信度中选取最高的一个置信度,作为对应的目标置信度;基于主动脉及动脉导管、右心室、脊柱、主动脉弓、降主动脉、上腔静脉对应的目标置信度与预设权重的乘积之和,得到右室流出道切面的评估分数。In one embodiment, the slice type of the target cardiac slice is a right ventricular outflow tract slice, and the judging unit is specifically configured to: when each target cardiac structure includes at least one aorta and ductus arteriosus, right ventricle, spine, aortic arch, descending aorta and superior vena cava, it is determined that the target cardiac view contains the basic cardiac structure corresponding to the right ventricular outflow tract view. The scoring unit is specifically used for: for the target heart structure of any one of the structure types of aorta and ductus arteriosus, right ventricle, spine, aortic arch, descending aorta, and superior vena cava, select the highest confidence level from the corresponding confidence levels. The right ventricular outflow tract section is obtained based on the sum of the products of the corresponding target confidence levels of the aorta and the ductus arteriosus, the right ventricle, the spine, the aortic arch, the descending aorta, and the superior vena cava and the preset weights evaluation score.

在一个实施例中,目标心脏切面的切面类型为左室流出道切面,判断单元具体用于:当各目标心脏结构中包括至少一个左心室、右心室、左室流出道及主动脉、脊柱和室间隔时,判定目标心脏切面包含左室流出道切面对应的基本心脏结构。打分单元具体用于:对于结构类型为左心室、右心室、左室流出道及主动脉、脊柱、室间隔中任意一种的目标心脏结构,从对应的置信度中选取最高的一个置信度,作为对应的目标置信度;基于左心室、右心室、左室流出道及主动脉、脊柱、室间隔对应的目标置信度与预设权重的乘积之和,得到左室流出道切面的评估分数。In one embodiment, the slice type of the target cardiac slice is a left ventricular outflow tract slice, and the judging unit is specifically configured to: when each target cardiac structure includes at least one left ventricle, right ventricle, left ventricular outflow tract and aorta, spine and ventricle During the interval, it is determined that the target cardiac view contains the basic cardiac structure corresponding to the left ventricular outflow tract view. The scoring unit is specifically used to select the highest confidence level from the corresponding confidence levels for the target cardiac structure whose structure type is any one of left ventricle, right ventricle, left ventricular outflow tract, aorta, spine, and interventricular septum. As the corresponding target confidence; based on the sum of the products of the corresponding target confidences of the left ventricle, right ventricle, left ventricular outflow tract, aorta, spine, and interventricular septum and the preset weight, the evaluation score of the left ventricular outflow tract section is obtained.

在一个实施例中,目标信息还包括:待检测心脏图像中各目标心脏结构的位置信息。该系统还包括:提取模块和分割模块。提取模块,用于当目标心脏切面为标准切面时,根据各目标心脏结构的位置信息,从待检测心脏图像中提取各目标心脏结构对应的目标心脏结构图像。分割模块,用于对各目标心脏结构图像进行分割,获得各目标心脏结构图像中目标心脏结构的轮廓信息。In one embodiment, the target information further includes: position information of each target cardiac structure in the cardiac image to be detected. The system also includes: an extraction module and a segmentation module. The extraction module is used for extracting the target cardiac structure image corresponding to each target cardiac structure from the to-be-detected cardiac image according to the position information of each target cardiac structure when the target cardiac slice is a standard slice. The segmentation module is used for segmenting each target cardiac structure image to obtain contour information of the target cardiac structure in each target cardiac structure image.

在一个实施例中,分割模块具体用于:对于任一目标心脏结构图像,采用对应的训练好的图像分割模型,对目标心脏结构图像进行分割,获得各目标心脏结构图像中目标心脏结构的轮廓信息。In one embodiment, the segmentation module is specifically used to: for any target cardiac structure image, use a corresponding trained image segmentation model to segment the target cardiac structure image to obtain the contour of the target cardiac structure in each target cardiac structure image information.

在一个实施例中,分割模块包括第二训练单元,用于训练得到图像分割模型,具体用于:获取心脏结构样本图像以及对应的标注信息,标注信息包括:心脏结构样本图像中心脏结构的轮廓标注信息和结构标注类型;将心脏结构样本图像输入待训练图像分割模型,得到心脏结构样本图像对应的分割信息,分割信息包括:心脏结构样本图像中心脏结构的轮廓分割信息、结构分割类型及对应的分割置信度;基于分割信息与标注信息,调整待训练图像分割模型的参数,直至满足模型训练结束条件,获得训练好的图像分割模型。In one embodiment, the segmentation module includes a second training unit, which is used for training to obtain an image segmentation model, and is specifically used for: acquiring a cardiac structure sample image and corresponding labeling information, where the labeling information includes: the outline of the cardiac structure in the cardiac structure sample image Labeling information and structure labeling type; input the cardiac structure sample image into the image segmentation model to be trained to obtain the segmentation information corresponding to the cardiac structure sample image, and the segmentation information includes: the outline segmentation information of the cardiac structure in the cardiac structure sample image, the structure segmentation type and corresponding based on the segmentation information and labeling information, adjust the parameters of the image segmentation model to be trained until the end condition of the model training is satisfied, and obtain the trained image segmentation model.

在一个实施例中,该系统还包括:测量模块,用于根据各目标心脏结构的轮廓信息,对各目标心脏结构进行测量。In one embodiment, the system further includes: a measurement module, configured to measure each target cardiac structure according to the contour information of each target cardiac structure.

关于心脏切面检测系统的具体限定可以参见上文中对于心脏切面检测方法的限定,在此不再赘述。上述心脏切面检测系统中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the cardiac slice detection system, reference may be made to the above limitation on the cardiac slice detection method, which will not be repeated here. Each module in the above-mentioned cardiac slice detection system may be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图16所示。该计算机设备包括通过系统总线连接的处理器、存储器和网络接口。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种心脏切面检测方法。In one embodiment, a computer device is provided, and the computer device may be a server, and its internal structure diagram may be as shown in FIG. 16 . The computer device includes a processor, memory, and a network interface connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program, when executed by a processor, implements a cardiac slice detection method.

在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图17所示。该计算机设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种心脏切面检测方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided, and the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 17 . The computer equipment includes a processor, memory, a communication interface, a display screen, and an input device connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies. The computer program, when executed by a processor, implements a cardiac slice detection method. The display screen of the computer equipment may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the computer equipment , or an external keyboard, trackpad, or mouse.

本领域技术人员可以理解,图16或图17中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 16 or FIG. 17 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. A computer device may include more or fewer components than those shown in the figures, or combine certain components, or have a different arrangement of components.

在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述各方法实施例中的步骤。In one embodiment, a computer device is provided, including a memory and a processor, where a computer program is stored in the memory, and the processor implements the steps in the foregoing method embodiments when the processor executes the computer program.

在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现。In one embodiment, there is provided a computer-readable storage medium having a computer program stored thereon, the computer program being implemented when executed by a processor.

在一个实施例中,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述各方法实施例中的步骤。In one embodiment, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps in the foregoing method embodiments.

需要理解的是,上述实施例中的术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。It should be understood that the terms "first", "second", etc. in the above embodiments are only used for description purposes, and cannot be interpreted as indicating or implying relative importance or implicitly indicating the number of indicated technical features.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and 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 various embodiments provided in this application may include at least one of non-volatile and volatile memory. The non-volatile memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, and the like. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, the RAM may be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM).

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

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

Claims (10)

1.一种心脏切面检测方法,其特征在于,所述方法包括:1. a cardiac section detection method, is characterized in that, described method comprises: 获取待检测心脏图像;Obtain the heart image to be detected; 对所述待检测心脏图像进行目标检测,获得对应的目标信息,所述目标信息包括:所述待检测心脏图像中各目标心脏结构的结构类型及对应的置信度,以及所述待检测心脏图像对应的目标心脏切面的切面类型;Perform target detection on the to-be-detected cardiac image to obtain corresponding target information, where the target information includes: the structural type and corresponding confidence level of each target cardiac structure in the to-be-detected cardiac image, and the to-be-detected cardiac image The slice type of the corresponding target cardiac slice; 根据所述目标信息,确定所述目标心脏切面是否为标准切面。According to the target information, it is determined whether the target cardiac slice is a standard slice. 2.根据权利要求1所述的方法,其特征在于,对所述待检测心脏图像进行目标检测,获得对应的目标信息,包括:2. The method according to claim 1, wherein, performing target detection on the to-be-detected heart image to obtain corresponding target information, comprising: 采用训练好的目标检测模型,对所述待检测心脏图像进行目标检测,获得对应的目标信息;Using the trained target detection model, perform target detection on the to-be-detected heart image to obtain corresponding target information; 训练得到所述目标检测模型的方法包括:The method for obtaining the target detection model by training includes: 获取心脏样本图像以及对应的标注信息,所述标注信息包括:所述心脏样本图像中各心脏结构的位置标注信息和结构标注类型,以及所述心脏样本图像对应的心脏切面的位置标注信息和切面标注类型;Obtain a cardiac sample image and corresponding annotation information, where the annotation information includes: position annotation information and structure annotation type of each cardiac structure in the cardiac sample image, and position annotation information and slice of the cardiac slice corresponding to the cardiac sample image label type; 将所述心脏样本图像输入待训练目标检测模型,得到所述心脏样本图像对应的检测信息,所述检测信息包括:所述心脏样本图像中各心脏结构的位置检测信息、结构检测类型及对应的检测置信度,以及所述心脏样本图像对应的心脏切面的切面位置检测信息、切面检测类型及对应的检测置信度;Inputting the heart sample image into the target detection model to be trained, to obtain detection information corresponding to the heart sample image, the detection information includes: position detection information of each cardiac structure in the heart sample image, structure detection type and corresponding Detection confidence, as well as slice position detection information, slice detection type, and corresponding detection confidence of the cardiac slice corresponding to the cardiac sample image; 基于所述检测信息与所述标注信息,调整所述待训练目标检测模型的参数,直至满足模型训练结束条件,获得训练好的目标检测模型。Based on the detection information and the label information, the parameters of the target detection model to be trained are adjusted until the model training end condition is satisfied, and a trained target detection model is obtained. 3.根据权利要求1所述的方法,其特征在于,根据所述目标信息,确定所述目标心脏切面是否为标准切面,包括:3. The method according to claim 1, wherein, according to the target information, determining whether the target cardiac slice is a standard slice, comprising: 根据各所述目标心脏结构的结构类型,判断所述目标心脏切面是否包含所述切面类型对应的基本心脏结构;According to the structure type of each target cardiac structure, determine whether the target cardiac slice contains the basic cardiac structure corresponding to the slice type; 当所述目标心脏切面包含对应的基本心脏结构时,根据各所述目标心脏结构的结构类型及对应的置信度,计算得到所述目标心脏切面的评估分数;When the target cardiac section includes a corresponding basic cardiac structure, calculating the evaluation score of the target cardiac section according to the structure type and corresponding confidence level of each of the target cardiac structures; 根据所述评估分数,确定所述目标心脏切面是否为标准切面。According to the evaluation score, it is determined whether the target cardiac view is a standard view. 4.根据权利要求3所述的方法,其特征在于,根据各所述目标心脏结构的结构类型,判断所述目标心脏切面是否包含所述切面类型对应的基本心脏结构,包括下述各项中的任意一项:4 . The method according to claim 3 , wherein, according to the structure type of each target cardiac structure, it is determined whether the target cardiac slice contains the basic cardiac structure corresponding to the slice type, including the following items: 5 . any one of: 第一项:the first item: 所述目标心脏切面的切面类型为四腔心切面,当各所述目标心脏结构中包括至少一个左心室、左心房、右心室、右心房、脊柱、降主动脉以及至少两个肋骨时,判定所述目标心脏切面包含四腔心切面对应的基本心脏结构;The slice type of the target cardiac slice is a four-chamber slice, and when each of the target cardiac structures includes at least one left ventricle, left atrium, right ventricle, right atrium, spine, descending aorta, and at least two ribs, it is determined. The target cardiac view includes the basic cardiac structure corresponding to the four-chamber view; 根据各所述目标心脏结构的结构类型及对应的置信度,计算得到所述目标心脏切面的评估分数,包括:According to the structure type and corresponding confidence level of each target cardiac structure, the evaluation score of the target cardiac section is calculated, including: 对于结构类型为左心室、左心房、右心室、右心房、脊柱、降主动脉中任意一种的目标心脏结构,从对应的置信度中选取最高的一个置信度,作为对应的目标置信度;For the target heart structure whose structure type is any one of left ventricle, left atrium, right ventricle, right atrium, spine, and descending aorta, select the highest confidence level from the corresponding confidence level as the corresponding target confidence level; 对于结构类型为肋骨的目标心脏结构,从对应的置信度中选取最高的两个置信度,将两者平均值作为对应的目标置信度;For the target heart structure whose structure type is rib, the two highest confidence levels are selected from the corresponding confidence levels, and the average of the two is used as the corresponding target confidence level; 基于左心室、左心房、右心室、右心房、脊柱、降主动脉、肋骨对应的目标置信度与预设权重的乘积之和,得到所述四腔心切面的评估分数;Based on the sum of the products of the target confidence levels corresponding to the left ventricle, the left atrium, the right ventricle, the right atrium, the spine, the descending aorta, and the rib and a preset weight, the evaluation score of the four-chamber view is obtained; 第二项:second section: 所述目标心脏切面的切面类型为3VT切面,当各所述目标心脏结构中包括至少一个主动脉及动脉导管、主动脉弓、上腔静脉、气管、降主动脉和脊柱时,判定所述目标心脏切面包含3VT切面对应的基本心脏结构;The section type of the target cardiac section is a 3VT section. When each of the target cardiac structures includes at least one aorta and ductus arteriosus, aortic arch, superior vena cava, trachea, descending aorta and spine, the target cardiac section is determined. Contains the basic cardiac structure corresponding to the 3VT section; 根据各所述目标心脏结构的结构类型及对应的置信度,计算得到所述目标心脏切面的评估分数,包括:According to the structure type and corresponding confidence level of each target cardiac structure, the evaluation score of the target cardiac section is calculated, including: 对于结构类型为主动脉及动脉导管、主动脉弓、上腔静脉、气管、降主动脉、脊柱中任意一种的目标心脏结构,从对应的置信度中选取最高的一个置信度,作为对应的目标置信度;For the target heart structure of any one of the aorta and ductus arteriosus, aortic arch, superior vena cava, trachea, descending aorta, and spine, select the highest confidence level from the corresponding confidence levels as the corresponding target confidence level Spend; 基于主动脉及动脉导管、主动脉弓、上腔静脉、气管、降主动脉、脊柱对应的目标置信度与预设权重的乘积之和,得到所述3VT切面的评估分数;Based on the sum of the products of the corresponding target confidence levels of the aorta and the ductus arteriosus, the aortic arch, the superior vena cava, the trachea, the descending aorta, and the spine and the preset weight, the evaluation score of the 3VT slice is obtained; 第三项:the third item: 所述目标心脏切面的切面类型为右室流出道切面,当各所述目标心脏结构中包括至少一个主动脉及动脉导管、右心室、脊柱、主动脉弓、降主动脉和上腔静脉时,判定所述目标心脏切面包含右室流出道切面对应的基本心脏结构;The slice type of the target cardiac slice is the right ventricular outflow tract slice. When each of the target cardiac structures includes at least one aorta and ductus arteriosus, the right ventricle, the spine, the aortic arch, the descending aorta and the superior vena cava, it is determined that the The target cardiac view contains the basic cardiac structure corresponding to the right ventricular outflow tract view; 根据各所述目标心脏结构的结构类型及对应的置信度,计算得到所述目标心脏切面的评估分数,包括:According to the structure type and corresponding confidence level of each target cardiac structure, the evaluation score of the target cardiac section is calculated, including: 对于结构类型为主动脉及动脉导管、右心室、脊柱、主动脉弓、降主动脉、上腔静脉中任意一种的目标心脏结构,从对应的置信度中选取最高的一个置信度,作为对应的目标置信度;For the target heart structure of any one of the aorta and ductus arteriosus, right ventricle, spine, aortic arch, descending aorta, and superior vena cava, select the highest confidence level from the corresponding confidence levels as the corresponding target Confidence; 基于主动脉及动脉导管、右心室、脊柱、主动脉弓、降主动脉、上腔静脉对应的目标置信度与预设权重的乘积之和,得到所述右室流出道切面的评估分数;Based on the sum of the products of the target confidence levels corresponding to the aorta and the ductus arteriosus, the right ventricle, the spine, the aortic arch, the descending aorta, and the superior vena cava and the preset weight, the evaluation score of the right ventricular outflow tract section is obtained; 第四项:Fourth item: 所述目标心脏切面的切面类型为左室流出道切面,当各所述目标心脏结构中包括至少一个左心室、右心室、左室流出道及主动脉、脊柱和室间隔时,判定所述目标心脏切面包含左室流出道切面对应的基本心脏结构;The slice type of the target cardiac slice is the left ventricular outflow tract slice. When each of the target cardiac structures includes at least one left ventricle, right ventricle, left ventricular outflow tract, aorta, spine and ventricular septum, the target heart is determined. The view contains the basic cardiac structure corresponding to the left ventricular outflow tract view; 根据各所述目标心脏结构的结构类型及对应的置信度,计算得到所述目标心脏切面的评估分数,包括:According to the structure type and corresponding confidence level of each target cardiac structure, the evaluation score of the target cardiac section is calculated, including: 对于结构类型为左心室、右心室、左室流出道及主动脉、脊柱、室间隔中任意一种的目标心脏结构,从对应的置信度中选取最高的一个置信度,作为对应的目标置信度;For the target heart structure whose structure type is left ventricle, right ventricle, left ventricular outflow tract, aorta, spine, and interventricular septum, select the highest confidence level from the corresponding confidence level as the corresponding target confidence level ; 基于左心室、右心室、左室流出道及主动脉、脊柱、室间隔对应的目标置信度与预设权重的乘积之和,得到所述左室流出道切面的评估分数。Based on the sum of the products of the target confidence levels corresponding to the left ventricle, the right ventricle, the left ventricular outflow tract, the aorta, the spine, and the interventricular septum and a preset weight, the evaluation score of the left ventricular outflow tract section is obtained. 5.根据权利要求1至4任意一项所述的方法,其特征在于,所述目标信息还包括:所述待检测心脏图像中各目标心脏结构的位置信息;5. The method according to any one of claims 1 to 4, wherein the target information further comprises: position information of each target cardiac structure in the cardiac image to be detected; 所述方法还包括:The method also includes: 当所述目标心脏切面为标准切面时,根据各目标心脏结构的位置信息,从所述待检测心脏图像中提取各目标心脏结构对应的目标心脏结构图像;When the target cardiac section is a standard section, extract the target cardiac structure image corresponding to each target cardiac structure from the to-be-detected cardiac image according to the position information of each target cardiac structure; 对各所述目标心脏结构图像进行分割,获得各所述目标心脏结构图像中目标心脏结构的轮廓信息。Each of the target cardiac structure images is segmented to obtain contour information of the target cardiac structure in each of the target cardiac structure images. 6.根据权利要求5所述的方法,其特征在于,对各所述目标心脏结构图像进行分割,获得各所述目标心脏结构图像中目标心脏结构的轮廓信息,包括:6. The method according to claim 5, wherein, segmenting each of the target cardiac structure images to obtain contour information of the target cardiac structure in each of the target cardiac structure images, comprising: 对于任一所述目标心脏结构图像,采用对应的训练好的图像分割模型,对所述目标心脏结构图像进行分割,获得各所述目标心脏结构图像中目标心脏结构的轮廓信息;For any of the target cardiac structure images, use a corresponding trained image segmentation model to segment the target cardiac structure images to obtain contour information of the target cardiac structure in each of the target cardiac structure images; 训练得到所述图像分割模型的方法包括:The method for obtaining the image segmentation model by training includes: 获取心脏结构样本图像以及对应的标注信息,所述标注信息包括:所述心脏结构样本图像中心脏结构的轮廓标注信息和结构标注类型;Obtain a cardiac structure sample image and corresponding annotation information, where the annotation information includes: outline annotation information and a structure annotation type of the cardiac structure in the cardiac structure sample image; 将所述心脏结构样本图像输入待训练图像分割模型,得到所述心脏结构样本图像对应的分割信息,所述分割信息包括:所述心脏结构样本图像中心脏结构的轮廓分割信息、结构分割类型及对应的分割置信度;Input the cardiac structure sample image into the image segmentation model to be trained, and obtain the segmentation information corresponding to the cardiac structure sample image, and the segmentation information includes: the contour segmentation information of the cardiac structure in the cardiac structure sample image, the structure segmentation type and the Corresponding segmentation confidence; 基于所述分割信息与所述标注信息,调整所述待训练图像分割模型的参数,直至满足模型训练结束条件,获得训练好的图像分割模型。Based on the segmentation information and the labeling information, the parameters of the image segmentation model to be trained are adjusted until the model training end condition is satisfied, and a trained image segmentation model is obtained. 7.根据权利要求5所述的方法,其特征在于,所述方法还包括:7. The method according to claim 5, wherein the method further comprises: 根据各所述目标心脏结构的轮廓信息,对各所述目标心脏结构进行测量。Each of the target cardiac structures is measured based on the contour information of each of the target cardiac structures. 8.一种心脏切面检测系统,其特征在于,所述系统包括:8. A cardiac section detection system, wherein the system comprises: 图像获取模块,用于获取待检测心脏图像;an image acquisition module for acquiring the heart image to be detected; 目标检测模块,用于对所述待检测心脏图像进行目标检测,获得对应的目标信息,所述目标信息包括:所述待检测心脏图像中各目标心脏结构的结构类型及对应的置信度,以及所述待检测心脏图像对应的目标心脏切面的切面类型;a target detection module, configured to perform target detection on the to-be-detected cardiac image to obtain corresponding target information, where the target information includes: the structural type and corresponding confidence level of each target cardiac structure in the to-be-detected cardiac image, and The slice type of the target cardiac slice corresponding to the cardiac image to be detected; 标准切面确定模块,用于根据所述目标信息,确定所述目标心脏切面是否为标准切面。A standard slice determination module, configured to determine whether the target cardiac slice is a standard slice according to the target information. 9.一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述的方法的步骤。9. A computer device, comprising a memory and a processor, wherein the memory stores a computer program, wherein the processor implements the method according to any one of claims 1 to 7 when the processor executes the computer program. step. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的方法的步骤。10. A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
CN202010789423.1A 2020-08-07 2020-08-07 Heart section detection method and system capable of realizing parallel processing Pending CN111904469A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010789423.1A CN111904469A (en) 2020-08-07 2020-08-07 Heart section detection method and system capable of realizing parallel processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010789423.1A CN111904469A (en) 2020-08-07 2020-08-07 Heart section detection method and system capable of realizing parallel processing

Publications (1)

Publication Number Publication Date
CN111904469A true CN111904469A (en) 2020-11-10

Family

ID=73283250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010789423.1A Pending CN111904469A (en) 2020-08-07 2020-08-07 Heart section detection method and system capable of realizing parallel processing

Country Status (1)

Country Link
CN (1) CN111904469A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114521914A (en) * 2020-11-23 2022-05-24 深圳迈瑞生物医疗电子股份有限公司 Ultrasonic parameter measuring method and ultrasonic parameter measuring system
CN114569159A (en) * 2022-03-11 2022-06-03 汕头市超声仪器研究所股份有限公司 Method for rapidly positioning standard section for ultrasonic sequence section image of fetus
CN115482190A (en) * 2021-11-10 2022-12-16 中山大学附属第七医院(深圳) A fetal heart structure segmentation measurement method, device and computer storage medium
CN115797278A (en) * 2022-11-23 2023-03-14 乐普(北京)医疗器械股份有限公司 A processing method and device for classifying cardiac ultrasound images
CN115869012A (en) * 2022-11-15 2023-03-31 牡丹江医学院 Ultrasonic imaging method, system and computer-readable storage medium
CN116363041A (en) * 2021-12-27 2023-06-30 深圳开立生物医疗科技股份有限公司 Measurement method, device, ultrasonic equipment and medium of fetal four-chamber heart standard section
CN116687446A (en) * 2022-02-23 2023-09-05 深圳市理邦精密仪器股份有限公司 Cardiac ultrasound data detection method, device, ultrasound equipment and storage medium
CN116958007A (en) * 2022-03-30 2023-10-27 上海微创卜算子医疗科技有限公司 Ultrasonic cardiac image section type identification method, electronic device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030053667A1 (en) * 2001-05-17 2003-03-20 Nikolaos Paragios Variational approach for the segmentation of the left ventricle in MR cardiac images
CN109925002A (en) * 2019-01-15 2019-06-25 胡秋明 Artificial intelligence echocardiogram data collection system and its collecting method
US20190205606A1 (en) * 2016-07-21 2019-07-04 Siemens Healthcare Gmbh Method and system for artificial intelligence based medical image segmentation
CN110464380A (en) * 2019-09-12 2019-11-19 李肯立 A kind of method that the ultrasound cross-section image of the late pregnancy period fetus of centering carries out quality control
CN110680399A (en) * 2019-10-25 2020-01-14 深圳度影医疗科技有限公司 Automatic measurement method of prenatal ultrasound image, storage medium and ultrasound equipment
CN110930419A (en) * 2020-02-13 2020-03-27 北京海天瑞声科技股份有限公司 Image segmentation method and device, electronic equipment and computer storage medium
CN111340775A (en) * 2020-02-25 2020-06-26 湖南大学 Parallel method, apparatus and computer equipment for obtaining ultrasound standard slices
CN111449684A (en) * 2020-04-09 2020-07-28 济南康硕生物技术有限公司 Method and system for quickly acquiring cardiac ultrasound standard scanning section

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030053667A1 (en) * 2001-05-17 2003-03-20 Nikolaos Paragios Variational approach for the segmentation of the left ventricle in MR cardiac images
US20190205606A1 (en) * 2016-07-21 2019-07-04 Siemens Healthcare Gmbh Method and system for artificial intelligence based medical image segmentation
CN109925002A (en) * 2019-01-15 2019-06-25 胡秋明 Artificial intelligence echocardiogram data collection system and its collecting method
CN110464380A (en) * 2019-09-12 2019-11-19 李肯立 A kind of method that the ultrasound cross-section image of the late pregnancy period fetus of centering carries out quality control
CN110680399A (en) * 2019-10-25 2020-01-14 深圳度影医疗科技有限公司 Automatic measurement method of prenatal ultrasound image, storage medium and ultrasound equipment
CN110930419A (en) * 2020-02-13 2020-03-27 北京海天瑞声科技股份有限公司 Image segmentation method and device, electronic equipment and computer storage medium
CN111340775A (en) * 2020-02-25 2020-06-26 湖南大学 Parallel method, apparatus and computer equipment for obtaining ultrasound standard slices
CN111449684A (en) * 2020-04-09 2020-07-28 济南康硕生物技术有限公司 Method and system for quickly acquiring cardiac ultrasound standard scanning section

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李胜利,文华轩: "中孕期胎儿系统超声检查切面及临床意义", 《中华医学超声杂志(电子版)》 *
李胜利: "胎儿先天性心脏病的筛查和诊断", 《中国实用妇科与产科杂志》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114521914A (en) * 2020-11-23 2022-05-24 深圳迈瑞生物医疗电子股份有限公司 Ultrasonic parameter measuring method and ultrasonic parameter measuring system
CN115482190A (en) * 2021-11-10 2022-12-16 中山大学附属第七医院(深圳) A fetal heart structure segmentation measurement method, device and computer storage medium
CN116363041A (en) * 2021-12-27 2023-06-30 深圳开立生物医疗科技股份有限公司 Measurement method, device, ultrasonic equipment and medium of fetal four-chamber heart standard section
CN116687446A (en) * 2022-02-23 2023-09-05 深圳市理邦精密仪器股份有限公司 Cardiac ultrasound data detection method, device, ultrasound equipment and storage medium
CN114569159A (en) * 2022-03-11 2022-06-03 汕头市超声仪器研究所股份有限公司 Method for rapidly positioning standard section for ultrasonic sequence section image of fetus
CN116958007A (en) * 2022-03-30 2023-10-27 上海微创卜算子医疗科技有限公司 Ultrasonic cardiac image section type identification method, electronic device and storage medium
CN115869012A (en) * 2022-11-15 2023-03-31 牡丹江医学院 Ultrasonic imaging method, system and computer-readable storage medium
CN115797278A (en) * 2022-11-23 2023-03-14 乐普(北京)医疗器械股份有限公司 A processing method and device for classifying cardiac ultrasound images

Similar Documents

Publication Publication Date Title
CN111904469A (en) Heart section detection method and system capable of realizing parallel processing
CN111292314B (en) Coronary artery segmentation method, device, image processing system and storage medium
US8605978B2 (en) Medical image processing apparatus and method, and computer readable recording medium on which is recorded program for the same
CN109741312B (en) A method, device, equipment and medium for identifying pulmonary nodules
CN110807764A (en) Lung cancer screening method based on neural network
WO2021233021A1 (en) Method for training image region segmentation model, and segmentation method and apparatus
CN111583199B (en) Sample image labeling method, device, computer equipment and storage medium
CN110059697A (en) A kind of Lung neoplasm automatic division method based on deep learning
CN110310256A (en) Coronary stenosis detection method, device, computer equipment and storage medium
CN111640120A (en) An automatic segmentation method for pancreatic CT based on saliency densely connected dilated convolutional networks
WO2018108129A1 (en) Method and apparatus for use in identifying object type, and electronic device
EP3872755B1 (en) Method for providing airway information
CN111445449A (en) Classification method, apparatus, computer equipment and storage medium of region of interest
CN111340756B (en) Medical image lesion detection merging method, system, terminal and storage medium
CN111260701B (en) Multimodal retinal fundus image registration method and device
JP2022111357A (en) Method, image processing device and storage medium for determining midsagittal plane in magnetic resonance images
CN111899273A (en) Image segmentation method, computer device and storage medium
CN116130090A (en) Ejection fraction measuring method and device, electronic device, and storage medium
CN115775233A (en) Processing method and device for measuring characteristic dimension based on cardiac ultrasound video
CN114881976A (en) Method and device for determining standard cut plane image of femoral humerus and computer equipment
US9483705B2 (en) Image processing device, image processing method, and image processing program
CN114298999A (en) Method for detecting vascular structure variation, readable storage medium, and program product
JP2018077667A (en) Image processing apparatus, image processing method, image processing system and program
CN115937163B (en) Method and system for extracting target region of SPECT (single photon emission computed tomography) lung perfusion imaging
CN113962948A (en) Plaque stability detection method and device, computer equipment and readable storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20211122

Address after: No.1023-1063, shatai South Road, Guangzhou, Guangdong 510515

Applicant after: SOUTHERN MEDICAL University

Applicant after: Hunan University

Address before: 410000 room 515a266, block BCD, Lugu business center, No. 199 Lulong Road, Changsha high tech Development Zone, Changsha, Hunan (cluster registration)

Applicant before: Changsha Datang Information Technology Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230606

Address after: 518000, 6th Floor, Building A3, Nanshan Zhiyuan, No. 1001 Xueyuan Avenue, Changyuan Community, Taoyuan Street, Nanshan District, Shenzhen, Guangdong Province

Applicant after: Shenzhen Lanxiang Zhiying Technology Co.,Ltd.

Address before: No.1023-1063, shatai South Road, Guangzhou, Guangdong 510515

Applicant before: SOUTHERN MEDICAL University

Applicant before: HUNAN University

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20201110

RJ01 Rejection of invention patent application after publication