CN117765330A - MRI image-based data labeling method and system - Google Patents

MRI image-based data labeling method and system Download PDF

Info

Publication number
CN117765330A
CN117765330A CN202311810565.1A CN202311810565A CN117765330A CN 117765330 A CN117765330 A CN 117765330A CN 202311810565 A CN202311810565 A CN 202311810565A CN 117765330 A CN117765330 A CN 117765330A
Authority
CN
China
Prior art keywords
image
mri
target area
annotation
original
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.)
Withdrawn
Application number
CN202311810565.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.)
Renmin Hospital of Wuhan University
Original Assignee
Renmin Hospital of Wuhan University
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 Renmin Hospital of Wuhan University filed Critical Renmin Hospital of Wuhan University
Priority to CN202311810565.1A priority Critical patent/CN117765330A/en
Publication of CN117765330A publication Critical patent/CN117765330A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Magnetic Resonance Imaging Apparatus (AREA)

Abstract

本发明涉及数据标注领域,提出了基于MRI图像的数据标注方法及系统,所述方法包括:通过图像去噪和平滑处理得到MRI去噪图像和MRI平滑图像,对MRI平滑图像进行目标区域分割,并提取该区域的参数,计算目标区域的边缘强度,基于边缘强度,在MRI平滑图像的剩余区域进行角点检测,提取角点抑制值和信息因子,用于识别剩余区域的纹理特征,根据纹理特征构建原始MRI图像的图像标注模型,并使用训练集对模型进行训练,得到训练好的图像标注模型,利用训练好的模型对原始MRI图像进行标注预测,得到预测标注图像,并去除重叠部分,得到最终的图像标注结果。本发明可以提高MRI图像数据标注的准确率。

The present invention relates to the field of data annotation, and proposes a data annotation method and system based on MRI images. The method includes: obtaining an MRI denoised image and an MRI smoothed image through image denoising and smoothing processing, and performing target area segmentation on the MRI smoothed image. And extract the parameters of the area, calculate the edge intensity of the target area, based on the edge intensity, perform corner detection in the remaining area of the MRI smooth image, extract the corner suppression value and information factor, and use it to identify the texture features of the remaining area. According to the texture Features construct an image annotation model of the original MRI image, and use the training set to train the model to obtain a trained image annotation model. Use the trained model to annotate and predict the original MRI image, obtain the predicted annotated image, and remove the overlapping parts. Get the final image annotation result. The invention can improve the accuracy of MRI image data annotation.

Description

基于MRI图像的数据标注方法及系统Data annotation method and system based on MRI images

技术领域Technical field

本发明涉及数据标注领域,尤其涉及基于MRI图像的数据标注方法及系统。The present invention relates to the field of data annotation, and in particular to a data annotation method and system based on MRI images.

背景技术Background technique

MRI图像是一种医学影像技术,通过利用原子核在强磁场和射频脉冲的作用下发生共振现象获取图像,并且MRI图像用于观察人体内部组织和器官的结构和功能,对于诊断疾病具有重要的临床价值,MRI图像还可以呈现出高对比度和高清晰度的解剖信息,同时还能提供功能性信息和动态过程的观察。MRI image is a medical imaging technology that obtains images by utilizing the resonance phenomenon of atomic nuclei under the action of strong magnetic fields and radio frequency pulses. MRI images are used to observe the structure and function of internal tissues and organs of the human body, and are of clinical importance in diagnosing diseases. Value, MRI images can also present high-contrast and high-definition anatomical information, while also providing functional information and observation of dynamic processes.

目前,实现MRI图像中的数据标注方法可以使用自动化标注方法实现,其主要通过利用计算机视觉技术和机器学习算法对MRI图像进行自动识别和标注,并且需要大量的带有标注的训练数据来训练模型,来学习特定病变或结构的特征,从而实现自动标注图像中对应的区域,但是,在处理复杂的MRI图像时,因为不同类型的病变和结构之间存在差异,会导致存在一定的误差,因此,需要一种基于MRI图像的数据标注方法及系统,以提高MRI图像数据标注的准确率。Currently, the method of data annotation in MRI images can be implemented using automated annotation methods, which mainly use computer vision technology and machine learning algorithms to automatically identify and annotate MRI images, and require a large amount of annotated training data to train the model. , to learn the characteristics of specific lesions or structures, so as to automatically label the corresponding areas in the image. However, when processing complex MRI images, due to the differences between different types of lesions and structures, there will be certain errors, so , a data annotation method and system based on MRI images is needed to improve the accuracy of MRI image data annotation.

发明内容Contents of the invention

本发明提供基于MRI图像的数据标注方法及系统,其主要目的在于提高MRI图像数据标注的准确率。The present invention provides a data annotation method and system based on MRI images, and its main purpose is to improve the accuracy of MRI image data annotation.

为实现上述目的,本发明提供的基于MRI图像的数据标注方法,包括:In order to achieve the above objectives, the data annotation method based on MRI images provided by the present invention includes:

获取原始MRI图像,对所述原始MRI图像进行图像去噪,得到MRI去噪图像,对所述MRI去噪图像进行平滑处理,得到MRI平滑图像;Obtain an original MRI image, perform image denoising on the original MRI image to obtain an MRI denoised image, and smooth the MRI denoised image to obtain a smoothed MRI image;

分割所述MRI平滑图像中的目标区域,提取所述目标区域对应的区域参数,基于所述区域参数,计算所述目标区域对应的图像梯度,查询所述图像梯度对应的梯度因子,基于所述梯度因子,计算所述目标区域的边缘强度;Segment the target area in the MRI smooth image, extract the area parameters corresponding to the target area, calculate the image gradient corresponding to the target area based on the area parameters, query the gradient factor corresponding to the image gradient, and based on the Gradient factor, calculates the edge strength of the target area;

基于所述边缘强度,对所述MRI平滑图像的剩余区域进行角点检测,得到角点抑制值,提取所述角点抑制值对应的信息因子,基于所述信息因子,识别所述剩余区域对应的纹理特征;Based on the edge intensity, corner detection is performed on the remaining area of the MRI smooth image to obtain corner suppression values, information factors corresponding to the corner suppression values are extracted, and based on the information factors, the corresponding remaining areas are identified texture characteristics;

基于所述纹理特征,构建所述原始MRI图像对应的图像标注模型,利用所述图像标注模型划分所述MRI平滑图像对应的图像训练集,并利用所述训练集对所述图像标注模型进行模型训练,得到训练好的图像标注模型;Based on the texture features, construct an image annotation model corresponding to the original MRI image, use the image annotation model to divide the image training set corresponding to the MRI smooth image, and use the training set to model the image annotation model Train to obtain the trained image annotation model;

利用训练好的模型对所述原始MRI图像进行标注预测,得到预测标注图像,对所述预测标注图像进行重叠去除,得到所述原始MRI图像对应的图像标注结果。The trained model is used to perform annotation prediction on the original MRI image to obtain a predicted annotated image, and the overlap of the predicted annotated image is removed to obtain an image annotation result corresponding to the original MRI image.

可选地,所述获取原始MRI图像,对所述原始MRI图像进行图像去噪,得到MRI去噪图像,包括:Optionally, obtaining an original MRI image, performing image denoising on the original MRI image, and obtaining an MRI denoised image includes:

利用预设的医学设备对患者进行MRI扫描,获得原始MRI图像;Use preset medical equipment to perform an MRI scan on the patient and obtain the original MRI image;

对所述原始MRI图像进行噪声分析,得到噪声数据;Perform noise analysis on the original MRI image to obtain noise data;

识别所述噪声数据对应的噪声方向;Identify the noise direction corresponding to the noise data;

基于所述噪声方向,对所述原始MRI图像进行图像去噪,得到MRI去噪图像。Based on the noise direction, image denoising is performed on the original MRI image to obtain an MRI denoised image.

可选地,所述对所述MRI去噪图像进行平滑处理,得到MRI平滑图像,包括:Optionally, the smoothing process on the MRI denoised image to obtain a smooth MRI image includes:

识别所述MRI去噪图像对应的图像需求;Identify image requirements corresponding to the MRI denoised image;

基于所述图像需求,设置所述MRI去噪图像对应的平滑参数;Based on the image requirements, set the smoothing parameters corresponding to the MRI denoising image;

基于所述平滑参数,启用预设的平滑滤波器对所述MRI去噪图像进行平滑处理,得到MRI平滑图像。Based on the smoothing parameters, a preset smoothing filter is enabled to smooth the MRI denoised image to obtain an MRI smoothed image.

可选地,所述分割所述MRI平滑图像中的目标区域,提取所述目标区域对应的区域参数,包括:Optionally, segmenting the target area in the MRI smooth image and extracting regional parameters corresponding to the target area includes:

识别所述MIR平滑图像对应的目标因子;Identify the target factor corresponding to the MIR smooth image;

基于所述目标因子,确定所述MRI平滑图像对应的目标区域;Based on the target factor, determine the target area corresponding to the MRI smooth image;

利用预设的分割算法分割所述MRI平滑图像中的所述目标区域;Segment the target area in the MRI smooth image using a preset segmentation algorithm;

查询所述目标区域对应的区域需求,提取所述区域需求对应的区域参数。Query the regional requirements corresponding to the target area, and extract the regional parameters corresponding to the regional requirements.

可选地,所述基于所述区域参数,计算所述目标区域对应的图像梯度,包括:Optionally, calculating the image gradient corresponding to the target area based on the area parameters includes:

首先,利用下述公式计算所述目标区域对应的平均灰度值:First, use the following formula to calculate the average gray value corresponding to the target area:

其中,MG表示所述目标区域对应的平均灰度值,N表示所述目标区域中的像素数目,I(x,y)表示坐标为(x,y)处的像素灰度值。Wherein, MG represents the average gray value corresponding to the target area, N represents the number of pixels in the target area, and I(x,y) represents the gray value of the pixel at the coordinate (x, y).

其次,基于所述平均灰度值,计算所述目标区域每个像素与其邻域像素的差值平方和:Secondly, based on the average gray value, calculate the sum of squared differences between each pixel in the target area and its neighbor pixels:

SD=∑[I(x,y)-I(x’,y’)]2 SD=∑[I(x,y)-I(x',y')] 2

其中,SD表示所述目标区域每个像素与其邻域像素的差值平方和,(x',y')表示(x,y)像素的邻域像素位置,I(x,y)和I(x',y')分别表示目标区域内的像素灰度值。Among them, SD represents the sum of squared differences between each pixel in the target area and its neighboring pixels, (x', y') represents the neighborhood pixel position of the (x, y) pixel, I(x, y) and I( x', y') respectively represent the pixel gray value in the target area.

最后,基于所述差值平方和,计算所述目标区域对应的图像梯度:Finally, based on the sum of squared differences, the image gradient corresponding to the target area is calculated:

其中,GT表示所述目标区域对应的图像梯度,N表示所述目标区域中的像素数目。Where, GT represents the image gradient corresponding to the target area, and N represents the number of pixels in the target area.

可选地,所述基于所述梯度因子,计算所述目标区域的边缘强度,包括:Optionally, calculating the edge strength of the target area based on the gradient factor includes:

其中,BQ表示所述目标区域的边缘强度,(i,j)表示图像中的像素坐标,MB表示所述目标区域,Gx(i,j)和Gy(i,j)分别表示像素点(i,j)处的水平和垂直方向上的梯度值,M表示目标区域中像素点的总数。Among them, BQ represents the edge strength of the target area, (i,j) represents the pixel coordinates in the image, MB represents the target area, Gx(i,j) and Gy(i,j) respectively represent the pixel point (i , the gradient values in the horizontal and vertical directions at j), M represents the total number of pixels in the target area.

可选地,所述基于所述边缘强度,对所述MRI平滑图像的剩余区域进行角点检测,得到角点抑制值,包括:Optionally, based on the edge intensity, corner detection is performed on the remaining area of the MRI smooth image to obtain a corner suppression value, including:

基于所述边缘强度,确定所述剩余区域对应的边缘图像;Based on the edge intensity, determine the edge image corresponding to the remaining area;

对所述边缘图像进行角点监测,得到角点参数;Perform corner point monitoring on the edge image to obtain corner point parameters;

基于所述角点参数,计算所述剩余区域对应的角点响应值;Based on the corner point parameters, calculate the corner point response value corresponding to the remaining area;

对所述角点响应值进行非极大值抑制,得到角点抑制值。Perform non-maximum suppression on the corner point response value to obtain a corner point suppression value.

可选地,所述提取所述角点抑制值对应的信息因子,基于所述信息因子,识别所述剩余区域对应的纹理特征,包括:Optionally, extracting information factors corresponding to the corner point suppression values, and identifying texture features corresponding to the remaining areas based on the information factors includes:

确定所述角点抑制值对应的固定邻域,提取所述固定邻域对应的信息因子;Determine the fixed neighborhood corresponding to the corner point suppression value, and extract the information factor corresponding to the fixed neighborhood;

判断所述信息因子对应的纹理类别;Determine the texture category corresponding to the information factor;

基于所述纹理类别,识别所述剩余区域对应的纹理特征。Based on the texture category, texture features corresponding to the remaining area are identified.

可选地,所述利用训练好的模型对所述原始MRI图像进行标注预测,得到预测标注图像,包括:Optionally, using a trained model to perform annotation prediction on the original MRI image to obtain a predicted annotation image includes:

获取所述原始MRI图像对应的MRI图像样本;Obtain MRI image samples corresponding to the original MRI images;

对所述MRI图像样本进行均衡化处理,得到均衡样本;Perform equalization processing on the MRI image samples to obtain equalized samples;

利用训练好的模型对所述均衡样本进行图像预测,得到预测图像;Use the trained model to perform image prediction on the balanced sample to obtain a predicted image;

对所述预测图像进行图像标注,得到预测标注图像。Image annotation is performed on the predicted image to obtain a predicted annotated image.

为了解决上述问题,本发明还提供基于MRI图像的数据标注系统,所述系统包括:In order to solve the above problems, the present invention also provides a data annotation system based on MRI images. The system includes:

平滑处理模块,用于获取原始MRI图像,对所述原始MRI图像进行图像去噪,得到MRI去噪图像,对所述MRI去噪图像进行平滑处理,得到MRI平滑图像;A smoothing processing module, used to obtain an original MRI image, perform image denoising on the original MRI image to obtain an MRI denoised image, and perform smoothing processing on the MRI denoised image to obtain an MRI smoothed image;

边缘计算模块,用于分割所述MRI平滑图像中的目标区域,提取所述目标区域对应的区域参数,基于所述区域参数,计算所述目标区域对应的图像梯度,查询所述图像梯度对应的梯度因子,基于所述梯度因子,计算所述目标区域的边缘强度;An edge calculation module is used to segment the target area in the MRI smooth image, extract the area parameters corresponding to the target area, calculate the image gradient corresponding to the target area based on the area parameters, and query the image gradient corresponding to the Gradient factor, based on the gradient factor, calculate the edge strength of the target area;

纹理识别模块,用于基于所述边缘强度,对所述MRI平滑图像的剩余区域进行角点检测,得到角点抑制值,提取所述角点抑制值对应的信息因子,基于所述信息因子,识别所述剩余区域对应的纹理特征;A texture recognition module, configured to perform corner point detection on the remaining area of the MRI smooth image based on the edge intensity, obtain a corner point suppression value, and extract an information factor corresponding to the corner point suppression value. Based on the information factor, Identify the texture features corresponding to the remaining area;

模型训练模块,用于基于所述纹理特征,构建所述原始MRI图像对应的图像标注模型,利用所述图像标注模型划分所述MRI平滑图像对应的图像训练集,并利用所述训练集对所述图像标注模型进行模型训练,得到训练好的图像标注模型;A model training module, configured to construct an image annotation model corresponding to the original MRI image based on the texture features, use the image annotation model to divide the image training set corresponding to the MRI smooth image, and use the training set to The above image annotation model is used for model training, and a trained image annotation model is obtained;

图像标注模块,用于利用训练好的模型对所述原始MRI图像进行标注预测,得到预测标注图像,对所述预测标注图像进行重叠去除,得到所述原始MRI图像对应的图像标注结果。The image annotation module is used to use the trained model to perform annotation prediction on the original MRI image to obtain a predicted annotated image, and to remove overlaps on the predicted annotated image to obtain an image annotation result corresponding to the original MRI image.

本发明通过获取原始MRI图像,对所述原始MRI图像进行图像去噪,得到MRI去噪图像,能够提高图像质量,改善图像分析和诊断效果,减少误诊率,并优化后续图像处理过程,可以降低噪声的影响,使图像更加清晰、细节更加明确,从而提高提高检测的准确性,本发明通过分割所述MRI平滑图像中的目标区域,提取所述目标区域对应的区域参数,能够帮助准确定位和分析目标区域,为疾病诊断、治疗和研究提供有力支持,并且可以实现自动化的图像分析,从而节省人力物力成本,提高效率,本发明基于所述边缘强度,对所述MRI平滑图像的剩余区域进行角点检测,得到角点抑制值,可以提供更丰富的图像特征,增强目标定位的准确性,辅助图像配准和对齐,以及辅助图像分割等应用,从而有助于提升医学影像处理的效果和质量,本发明基于所述纹理特征,构建所述原始MRI图像对应的图像标注模型,利用所述图像标注模型划分所述MRI平滑图像对应的图像训练集,可以自动化地进行图像标注和分类,提高处理效率,以便更好地分析和处理不同类型的图像,有助于针对性地开展相应的研究和治疗方案,本发明通过对所述预测标注图像进行重叠去除,得到所述原始MRI图像对应的图像标注结果,可以提高图像质量、改善可读性,促进图像分析和处理效果,以及提高病变检测和诊断准确性,对于医学领域的研究和临床实践具有重要的益处。因此本发明提出的基于MRI图像的数据标注方法及系统,以提高MRI图像数据标注的准确率。The present invention obtains original MRI images and performs image denoising on the original MRI images to obtain MRI denoised images, which can improve image quality, improve image analysis and diagnosis effects, reduce misdiagnosis rates, and optimize subsequent image processing processes, which can reduce The influence of noise makes the image clearer and the details clearer, thereby improving the accuracy of detection. The present invention can help accurate positioning and detection by segmenting the target area in the MRI smooth image and extracting the regional parameters corresponding to the target area. Analyze the target area to provide strong support for disease diagnosis, treatment and research, and can realize automated image analysis, thereby saving manpower and material costs and improving efficiency. Based on the edge intensity, the present invention performs an analysis on the remaining area of the MRI smooth image. Corner detection and obtaining corner suppression values can provide richer image features, enhance the accuracy of target positioning, assist image registration and alignment, and assist image segmentation and other applications, thus helping to improve the effect of medical image processing and Quality, the present invention constructs an image annotation model corresponding to the original MRI image based on the texture characteristics, and uses the image annotation model to divide the image training set corresponding to the MRI smooth image, which can automatically perform image annotation and classification, and improve Processing efficiency, in order to better analyze and process different types of images, and help carry out corresponding research and treatment plans in a targeted manner. The present invention obtains the corresponding original MRI image by removing overlaps on the predicted annotated images. Image annotation results can improve image quality, improve readability, promote image analysis and processing effects, and improve lesion detection and diagnostic accuracy, which has important benefits for research and clinical practice in the medical field. Therefore, the present invention proposes a data annotation method and system based on MRI images to improve the accuracy of MRI image data annotation.

附图说明Description of the drawings

图1为本发明一实施例提供的基于MRI图像的数据标注方法的流程示意图;Figure 1 is a schematic flow chart of a data annotation method based on MRI images provided by an embodiment of the present invention;

图2为本发明一实施例提供的一种基于MRI图像的数据标注系统的模块示意图;Figure 2 is a schematic module diagram of a data annotation system based on MRI images provided by an embodiment of the present invention;

图3为本发明一实施例提供的基于MRI图像的数据标注方法的电子设备的内部结构示意图。FIG. 3 is a schematic diagram of the internal structure of an electronic device according to an MRI image-based data annotation method provided by an embodiment of the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functional features and advantages of the present invention will be further described with reference to the embodiments and the accompanying drawings.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention and are not intended to limit the present invention.

本申请实施例提供基于MRI图像的数据标注方法。所述基于MRI图像的数据标注方法的执行主体包括但不限于服务端、终端等能够被配置为执行本申请实施例提供的该方法的电子设备中的至少一种。换言之,所述基于MRI图像的数据标注方法可以由安装在终端设备或服务端设备的软件或硬件来执行,所述软件可以是区块链平台。所述服务端包括但不限于:单台服务器、服务器集群、云端服务器或云端服务器集群等。所述服务器可以是独立的服务器,也可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。The embodiment of the present application provides a data annotation method based on MRI images. The execution subject of the MRI image-based data annotation method includes, but is not limited to, at least one of a server, a terminal, and other electronic devices that can be configured to execute the method provided by the embodiments of the present application. In other words, the MRI image-based data annotation method can be executed by software or hardware installed on the terminal device or the server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server may be an independent server, or may provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, and content delivery networks (Content Delivery Network, CDN), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.

参照图1所示,为本发明一实施例提供的基于MRI图像的数据标注方法的流程示意图。在本实施例中,所述基于MRI图像的数据标注方法包括:Refer to FIG. 1 , which is a schematic flow chart of a data annotation method based on MRI images provided by an embodiment of the present invention. In this embodiment, the data annotation method based on MRI images includes:

S1、获取原始MRI图像,对所述原始MRI图像进行图像去噪,得到MRI去噪图像,对所述MRI去噪图像进行平滑处理,得到MRI平滑图像。S1. Obtain an original MRI image, perform image denoising on the original MRI image to obtain an MRI denoised image, and smooth the MRI denoised image to obtain a smoothed MRI image.

本发明通过获取原始MRI图像,对所述原始MRI图像进行图像去噪,得到MRI去噪图像,能够提高图像质量,改善图像分析和诊断效果,减少误诊率,并优化后续图像处理过程,可以降低噪声的影响,使图像更加清晰、细节更加明确,从而提高提高检测的准确性。The present invention obtains original MRI images and performs image denoising on the original MRI images to obtain MRI denoised images, which can improve image quality, improve image analysis and diagnosis effects, reduce misdiagnosis rates, and optimize subsequent image processing processes, which can reduce The influence of noise makes the image clearer and the details clearer, thereby improving the accuracy of detection.

其中,所述原始MRI图像是指直接从病人采集得到的未经过任何处理的MRI图像;所述MRI去噪图像是指对原始MRI图像应用图像处理算法,以减少或去除图像中的噪声、伪影等不希望出现的图像特征后得到的图像。Wherein, the original MRI image refers to an MRI image collected directly from the patient without any processing; the MRI denoising image refers to applying an image processing algorithm to the original MRI image to reduce or remove noise and artifacts in the image. The image obtained after removing undesirable image features such as shadows.

作为本发明的一个实施例,所述获取原始MRI图像,对所述原始MRI图像进行图像去噪,得到MRI去噪图像,包括:利用预设的医学设备对患者进行MRI扫描,获得原始MRI图像;对所述原始MRI图像进行噪声分析,得到噪声数据;识别所述噪声数据对应的噪声方向;基于所述噪声方向,对所述原始MRI图像进行图像去噪,得到MRI去噪图像。As an embodiment of the present invention, obtaining an original MRI image, performing image denoising on the original MRI image, and obtaining an MRI denoised image includes: using preset medical equipment to perform an MRI scan on the patient to obtain the original MRI image. ; Perform noise analysis on the original MRI image to obtain noise data; identify the noise direction corresponding to the noise data; perform image denoising on the original MRI image based on the noise direction to obtain an MRI denoised image.

其中,所述预设的医学设备是指预先确定好用于对患者进行MRI扫描的医学影像设备,如:磁共振成像机;所述噪声数据是指在所述原始MRI图像中存在的干扰信号;所述噪声方向是指根据噪声数据的特征和分布,确定噪声在图像中的方向性。Wherein, the preset medical equipment refers to the medical imaging equipment predetermined to perform MRI scanning on the patient, such as a magnetic resonance imaging machine; the noise data refers to the interference signal present in the original MRI image. ; The noise direction refers to determining the directionality of the noise in the image based on the characteristics and distribution of the noise data.

进一步地,所述噪声数据可以通过噪声分析工具实现获得,如:Audacity、AdobeAudition等工具;所述噪声方向可以通过波束形成算法实现获得,如:Delay-and-Sum、Beamforming等算法。Further, the noise data can be obtained through noise analysis tools, such as Audacity, Adobe Audition and other tools; the noise direction can be obtained through beamforming algorithms, such as Delay-and-Sum, Beamforming and other algorithms.

本发明通过对所述MRI去噪图像进行平滑处理,得到MRI平滑图像,可以通过增强图像质量,获得更清晰、更具对比度和准确性的图像,有助于获得更准确的信息,从而避免进行重复扫描。The present invention obtains an MRI smoothed image by smoothing the MRI denoised image, and can obtain a clearer, more contrasty and accurate image by enhancing the image quality, which helps to obtain more accurate information, thereby avoiding the need for Repeat the scan.

其中,所述MRI平滑图像是指减少或消除图像中的噪声,同时保留关键图像特征的MRI图像。Wherein, the MRI smooth image refers to an MRI image that reduces or eliminates noise in the image while retaining key image features.

作为本发明的一个实施例,所述对所述MRI去噪图像进行平滑处理,得到MRI平滑图像,包括:识别所述MRI去噪图像对应的图像需求;基于所述图像需求,设置所述MRI去噪图像对应的平滑参数;基于所述平滑参数,启用预设的平滑滤波器对所述MRI去噪图像进行平滑处理,得到MRI平滑图像。As an embodiment of the present invention, smoothing the MRI denoised image to obtain an MRI smoothed image includes: identifying image requirements corresponding to the MRI denoised image; based on the image requirements, setting the MRI Smoothing parameters corresponding to the denoised image; based on the smoothing parameters, enable a preset smoothing filter to smooth the MRI denoised image to obtain an MRI smoothed image.

其中,所述图像需求是指对图像进行处理或分析时所需要的输入图像,可以是原始图像或经过预处理后的图像;所述平滑参数是指用来控制平滑滤波器对图像进行平滑操作的参数,如:窗口大小、卷积核尺寸等;所述预设的平滑滤波器是指根据特定的数学模型设计好的用于图像平滑处理的滤波器,如:均值滤波器、高斯滤波器等。Wherein, the image requirement refers to the input image required for image processing or analysis, which can be an original image or a preprocessed image; the smoothing parameter refers to a smoothing filter used to control the image smoothing operation. parameters, such as: window size, convolution kernel size, etc.; the preset smoothing filter refers to a filter designed according to a specific mathematical model for image smoothing processing, such as: mean filter, Gaussian filter wait.

进一步地,所述图像需求可以通过图像处理工具实现获得,如:OpenCV、Pillow、Scikit-image等;所述平滑参数可以通过统计分析工具实现获得,如:Matplotlib、NumPy和SciPy等。Further, the image requirements can be obtained through image processing tools, such as: OpenCV, Pillow, Scikit-image, etc.; the smoothing parameters can be obtained through statistical analysis tools, such as: Matplotlib, NumPy, SciPy, etc.

S2、分割所述MRI平滑图像中的目标区域,提取所述目标区域对应的区域参数,基于所述区域参数,计算所述目标区域对应的图像梯度,查询所述图像梯度对应的梯度因子,基于所述梯度因子,计算所述目标区域的边缘强度。S2. Segment the target area in the MRI smooth image, extract the area parameters corresponding to the target area, calculate the image gradient corresponding to the target area based on the area parameters, query the gradient factor corresponding to the image gradient, based on The gradient factor calculates the edge strength of the target area.

本发明通过分割所述MRI平滑图像中的目标区域,提取所述目标区域对应的区域参数,能够帮助准确定位和分析目标区域,为疾病诊断、治疗和研究提供有力支持,并且可以实现自动化的图像分析,从而节省人力物力成本,提高效率。By segmenting the target area in the MRI smooth image and extracting the regional parameters corresponding to the target area, the present invention can help accurately locate and analyze the target area, provide strong support for disease diagnosis, treatment and research, and can realize automated image processing. Analysis, thereby saving human and material costs and improving efficiency.

其中,所述目标区域是指在MRI平滑图像中所感兴趣的特定区域,例如:肿瘤区域、脑部结构等区域;所述区域参数是指通过分析目标区域的特征,得出的定量化参数。Wherein, the target area refers to a specific area of interest in the MRI smooth image, such as a tumor area, brain structure, etc.; the area parameters refer to quantitative parameters obtained by analyzing the characteristics of the target area.

作为本发明的一个实施例,所述分割所述MRI平滑图像中的目标区域,提取所述目标区域对应的区域参数,包括:识别所述MIR平滑图像对应的目标因子;基于所述目标因子,确定所述MRI平滑图像对应的目标区域;利用预设的分割算法分割所述MRI平滑图像中的所述目标区域;查询所述目标区域对应的区域需求;提取所述区域需求对应的区域参数。As an embodiment of the present invention, segmenting the target area in the MRI smooth image and extracting the regional parameters corresponding to the target area includes: identifying the target factor corresponding to the MIR smooth image; based on the target factor, Determine the target area corresponding to the MRI smooth image; segment the target area in the MRI smooth image using a preset segmentation algorithm; query the regional requirements corresponding to the target area; and extract the regional parameters corresponding to the regional requirements.

其中,所述目标因子是指用来识别MRI平滑图像中所感兴趣目标的特定因素或特征;所述预设的分割算法是指将MRI平滑图像中的目标区域与背景区域进行分离的特定算法,常用的预设分割算法包括:阈值分割、边缘检测、区域生长、基于图论的方法等;所述区域需求是指在所述目标区域中需要分析、测量或提取的特定属性或参数。Wherein, the target factor refers to a specific factor or feature used to identify the target of interest in the MRI smooth image; the preset segmentation algorithm refers to a specific algorithm that separates the target area and the background area in the MRI smooth image, Commonly used preset segmentation algorithms include: threshold segmentation, edge detection, region growing, graph theory-based methods, etc.; the region requirements refer to specific attributes or parameters that need to be analyzed, measured or extracted in the target region.

进一步地,所述目标因子可以通过机器学习模型实现获得,如:支持向量机SVM、随机森林RF、深度学习模型等;所述区域需求可以通过阈值分割算法实现获得,如:Otsu、自适应阈值等算法。Further, the target factors can be obtained through machine learning models, such as support vector machines SVM, random forest RF, deep learning models, etc.; the regional requirements can be obtained through threshold segmentation algorithms, such as Otsu, adaptive threshold and other algorithms.

可选地,作为本发明的一个实施例,所述基于所述区域参数,计算所述目标区域对应的图像梯度,包括:Optionally, as an embodiment of the present invention, calculating the image gradient corresponding to the target area based on the area parameters includes:

首先,利用下述公式计算所述目标区域对应的平均灰度值:First, use the following formula to calculate the average gray value corresponding to the target area:

其中,MG表示所述目标区域对应的平均灰度值,N表示所述目标区域中的像素数目,I(x,y)表示坐标为(x,y)处的像素灰度值。Wherein, MG represents the average gray value corresponding to the target area, N represents the number of pixels in the target area, and I(x,y) represents the gray value of the pixel at the coordinate (x, y).

其次,基于所述平均灰度值,计算所述目标区域每个像素与其邻域像素的差值平方和:Secondly, based on the average gray value, calculate the sum of squared differences between each pixel in the target area and its neighbor pixels:

SD=∑[I(x,y)-I(x’,y’)]2 SD=∑[I(x,y)-I(x',y')] 2

其中,SD表示所述目标区域每个像素与其邻域像素的差值平方和,(x',y')表示(x,y)像素的邻域像素位置,I(x,y)和I(x',y')分别表示目标区域内的像素灰度值。Among them, SD represents the sum of squared differences between each pixel in the target area and its neighboring pixels, (x',y') represents the neighborhood pixel position of the (x,y) pixel, I(x,y) and I( x', y') respectively represent the pixel gray value in the target area.

最后,基于所述差值平方和,计算所述目标区域对应的图像梯度:Finally, based on the sum of squared differences, the image gradient corresponding to the target area is calculated:

其中,GT表示所述目标区域对应的图像梯度,N表示所述目标区域中的像素数目。Where, GT represents the image gradient corresponding to the target area, and N represents the number of pixels in the target area.

本发明通过查询所述图像梯度对应的梯度因子,基于所述梯度因子,计算所述目标区域的边缘强度,可以将目标与背景进行分离,并帮助识别和分类图像中的不同物体,使得边缘更显著,从而增强了目标区域的视觉效果。The present invention queries the gradient factor corresponding to the image gradient and calculates the edge strength of the target area based on the gradient factor, which can separate the target from the background and help identify and classify different objects in the image, making the edges more clear. significantly, thus enhancing the visual effect of the target area.

其中,所述图像梯度是指图像中像素值变化最快的方向和强度;所述梯度因子是指图像梯度的模长,也称为梯度幅值或梯度大小;所述边缘强度是指图像的边缘显著程度或强度。Wherein, the image gradient refers to the direction and intensity of the fastest changing pixel value in the image; the gradient factor refers to the modulus length of the image gradient, also known as the gradient amplitude or gradient size; the edge strength refers to the edge strength of the image. Edge prominence or intensity.

可选地,所述梯度因子可以通过检测算法实现获得,如:Prewitt算子、Laplacian算子。Optionally, the gradient factor can be obtained through a detection algorithm, such as Prewitt operator and Laplacian operator.

作为本发明的一个实施例,所述基于所述梯度因子,计算所述目标区域的边缘强度,包括:As an embodiment of the present invention, calculating the edge strength of the target area based on the gradient factor includes:

其中,BQ表示所述目标区域的边缘强度,(i,j)表示图像中的像素坐标,MB表示所述目标区域,Gx(i,j)和Gy(i,j)分别表示像素点(i,j)处的水平和垂直方向上的梯度值,M表示目标区域中像素点的总数。Among them, BQ represents the edge strength of the target area, (i,j) represents the pixel coordinates in the image, MB represents the target area, Gx(i,j) and Gy(i,j) respectively represent the pixel point (i , the gradient values in the horizontal and vertical directions at j), M represents the total number of pixels in the target area.

S3、基于所述边缘强度,对所述MRI平滑图像的剩余区域进行角点检测,得到角点抑制值,提取所述角点抑制值对应的信息因子,基于所述信息因子,识别所述剩余区域对应的纹理特征。S3. Based on the edge intensity, perform corner detection on the remaining area of the MRI smooth image to obtain the corner suppression value, extract the information factor corresponding to the corner suppression value, and identify the remaining area based on the information factor. Texture features corresponding to the region.

本发明基于所述边缘强度,对所述MRI平滑图像的剩余区域进行角点检测,得到角点抑制值,可以提供更丰富的图像特征,增强目标定位的准确性,辅助图像配准和对齐,以及辅助图像分割等应用,从而有助于提升医学影像处理的效果和质量。Based on the edge intensity, the present invention performs corner point detection on the remaining areas of the MRI smooth image to obtain corner point suppression values, which can provide richer image features, enhance the accuracy of target positioning, and assist image registration and alignment. and auxiliary image segmentation and other applications, thus helping to improve the effect and quality of medical image processing.

其中,所述剩余区域是指在进行平滑操作后,未被平滑覆盖的图像区域;所述角点抑制值是指通过对所述剩余区域进行角点检测所得到的角点的位置和属性信息。Wherein, the remaining area refers to the image area that is not covered by smoothing after the smoothing operation; the corner suppression value refers to the position and attribute information of the corner points obtained by performing corner point detection on the remaining area. .

作为本发明的一个实施例,所述基于所述边缘强度,对所述MRI平滑图像的剩余区域进行角点检测,得到角点抑制值,包括:基于所述边缘强度,确定所述剩余区域对应的边缘图像;对所述边缘图像进行角点监测,得到角点参数;基于所述角点参数,计算所述剩余区域对应的角点响应值;对所述角点响应值进行非极大值抑制,得到角点抑制值。As an embodiment of the present invention, the step of performing corner point detection on the remaining area of the MRI smooth image based on the edge intensity to obtain the corner point suppression value includes: based on the edge intensity, determining the corresponding area of the remaining area. edge image; perform corner point monitoring on the edge image to obtain corner point parameters; calculate the corner point response value corresponding to the remaining area based on the corner point parameter; perform non-maximum processing on the corner point response value Suppress, get the corner suppression value.

其中,所述边缘图像是指根据图像的边缘强度(例如通过Canny算法提取的边缘)得到的二值化图像;所述角点参数是指在边缘图像上进行角点检测时,所计算得到的各个角点的特征参数;所述角点响应值是指根据角点参数计算得到的表示每个角点在图像中的重要值。Wherein, the edge image refers to a binary image obtained according to the edge intensity of the image (for example, the edge extracted by the Canny algorithm); the corner parameter refers to the calculated value when corner detection is performed on the edge image. Characteristic parameters of each corner point; the corner response value refers to an important value of each corner point in the image calculated based on the corner point parameters.

进一步地,所述边缘图像可以通过边缘检测算实现获得,如:Canny算法、Sobel算子、Laplacian算子等:所述角点参数可以通过角点检测算法实现获得,如:Harris角点检测算法、Shi-Tomasi角点检测算法、FAST角点检测算法等:所述角点响应值可以通过角点响应函数实现获得,如:OpenCV库中的函数cv2.cornerHarris()、cv2.goodFeaturesToTrack()等函数。Further, the edge image can be obtained through edge detection algorithms, such as: Canny algorithm, Sobel operator, Laplacian operator, etc.: The corner point parameters can be obtained through corner point detection algorithms, such as: Harris corner point detection algorithm , Shi-Tomasi corner detection algorithm, FAST corner detection algorithm, etc.: The corner response value can be obtained through the corner response function, such as: functions cv2.cornerHarris(), cv2.goodFeaturesToTrack(), etc. in the OpenCV library function.

本发明通过提取所述角点抑制值对应的信息因子,基于所述信息因子,识别所述剩余区域对应的纹理特征,可以带来更精细、准确、鲁棒的纹理特征提取和分类结果,从而提升图像分析、计算机视觉和模式识别等领域的应用效果和性能。By extracting information factors corresponding to the corner suppression values, and identifying texture features corresponding to the remaining areas based on the information factors, the present invention can bring more refined, accurate, and robust texture feature extraction and classification results, thereby Improve application effects and performance in areas such as image analysis, computer vision, and pattern recognition.

其中,所述信息因子是指通过计算和分析角点抑制值以及其周围像素的一个量化指标;所述纹理特征是指用于描述和区分不同的材质、纹理和形态特征。Among them, the information factor refers to a quantitative index calculated and analyzed by the corner point suppression value and its surrounding pixels; the texture feature refers to a feature used to describe and distinguish different materials, textures and morphological features.

作为本发明的一个实施例,所述提取所述角点抑制值对应的信息因子,基于所述信息因子,识别所述剩余区域对应的纹理特征,包括:确定所述角点抑制值对应的固定邻域;提取所述固定邻域对应的信息因子;判断所述信息因子对应的纹理类别;基于所述纹理类别,识别所述剩余区域对应的纹理特征。As an embodiment of the present invention, extracting the information factor corresponding to the corner suppression value, and identifying the texture features corresponding to the remaining area based on the information factor includes: determining the fixed value corresponding to the corner suppression value. Neighborhood; extract information factors corresponding to the fixed neighborhood; determine texture categories corresponding to the information factors; and identify texture features corresponding to the remaining areas based on the texture categories.

其中,所述固定邻域是指在角点抑制值计算过程中,为了提取信息因子而定义的一个固定大小的窗口或邻域;所述纹理类别是指根据信息因子判断得出的纹理特征所属的分类类别。Wherein, the fixed neighborhood refers to a fixed-size window or neighborhood defined in order to extract information factors during the corner suppression value calculation process; the texture category refers to the texture feature judged based on the information factor. classification categories.

进一步地,所述固定邻域可以通过Python处理库实现获得,如:PIL、scikit-image等;所述纹理类别可以通过LBP算法实现获得。Further, the fixed neighborhood can be obtained through Python processing library, such as: PIL, scikit-image, etc.; the texture category can be obtained through LBP algorithm.

S4、基于所述纹理特征,构建所述原始MRI图像对应的图像标注模型,利用所述图像标注模型划分所述MRI平滑图像对应的图像训练集,并利用所述训练集对所述图像标注模型进行模型训练,得到训练好的图像标注模型。S4. Based on the texture features, construct an image annotation model corresponding to the original MRI image, use the image annotation model to divide the image training set corresponding to the MRI smooth image, and use the training set to annotate the image model Carry out model training and obtain the trained image annotation model.

本发明基于所述纹理特征,构建所述原始MRI图像对应的图像标注模型,利用所述图像标注模型划分所述MRI平滑图像对应的图像训练集,可以自动化地进行图像标注和分类,提高处理效率,以便更好地分析和处理不同类型的图像,有助于针对性地开展相应的研究和治疗方案。Based on the texture features, the present invention constructs an image annotation model corresponding to the original MRI image, and uses the image annotation model to divide the image training set corresponding to the MRI smooth image, which can automatically perform image annotation and classification and improve processing efficiency. , in order to better analyze and process different types of images, and help carry out corresponding research and treatment plans.

其中,所述图像标注模型是指可以根据提取到的纹理特征等信息,自动为图像赋予相应的标注或分类;所述图像训练集是指用于训练和优化图像标注模型的一组已知标注或分类的图像样本集合。Among them, the image annotation model means that the image can be automatically assigned corresponding annotations or classifications based on the extracted texture features and other information; the image training set refers to a set of known annotations used to train and optimize the image annotation model. or a collection of classified image samples.

可选地,所述图像标注模型可以通过模型构建工具,如:TensorFlow、PyTorch等工具;所述图像训练集可以通过划分工具实现获得,如:LabelImg、RectLabel等工具。Optionally, the image annotation model can be obtained through model building tools, such as TensorFlow, PyTorch and other tools; the image training set can be obtained through partitioning tools, such as LabelImg, RectLabel and other tools.

本发明通过利用所述训练集对所述图像标注模型进行模型训练,得到训练好的图像标注模型,可以提高标注的准确性、自动化标注流程、提升模型的泛化能力和适应性,同时也为模型的优化和改进提供了基础,从而使模型更适应特定的任务和应用场景。By using the training set to perform model training on the image annotation model, the present invention obtains a trained image annotation model, which can improve the accuracy of annotation, automate the annotation process, improve the generalization ability and adaptability of the model, and also provide Optimization and improvement of the model provide the basis to make the model more suitable for specific tasks and application scenarios.

其中,所述训练好的图像标注模型是指经过训练集训练和优化后,具备较高准确性和泛化能力的模型,可选地,所述训练好的图像标注模型可以通过利用所述训练集对所述图像标注模型进行模型训练实现获得。Wherein, the trained image annotation model refers to a model that has higher accuracy and generalization ability after being trained and optimized on the training set. Optionally, the trained image annotation model can be used by using the trained image annotation model. The set is obtained by performing model training on the image annotation model.

S5、利用训练好的模型对所述原始MRI图像进行标注预测,得到预测标注图像,对所述预测标注图像进行重叠去除,得到所述原始MRI图像对应的图像标注结果。S5. Use the trained model to perform annotation prediction on the original MRI image to obtain a predicted annotated image, and remove overlaps on the predicted annotated image to obtain an image annotation result corresponding to the original MRI image.

本发明通过利用训练好的模型对所述原始MRI图像进行标注预测,得到预测标注图像,能够直观地展示出图像中的结构、病变或特征,帮助医生快速了解患者的情况,并作出相应的诊断和治疗决策。The present invention uses a trained model to annotate and predict the original MRI image to obtain a predicted annotated image, which can intuitively display the structure, lesions or features in the image, helping doctors quickly understand the patient's condition and make corresponding diagnosis. and treatment decisions.

其中,所述预测标注图像是指通过所述训练好的模型对原始MRI图像进行标注预测后生成的图像。Wherein, the predicted annotated image refers to an image generated by annotating and predicting the original MRI image through the trained model.

作为本发明的一个实施例,所述利用训练好的模型对所述原始MRI图像进行标注预测,得到预测标注图像,包括:获取所述原始MRI图像对应的MRI图像样本;对所述MRI图像样本进行均衡化处理,得到均衡样本;利用训练好的模型对所述均衡样本进行图像预测,得到预测图像;对所述预测图像进行图像标注,得到预测标注图像。As an embodiment of the present invention, using a trained model to annotate and predict the original MRI image to obtain a predicted annotated image includes: obtaining an MRI image sample corresponding to the original MRI image; Perform equalization processing to obtain a balanced sample; use a trained model to perform image prediction on the balanced sample to obtain a predicted image; perform image annotation on the predicted image to obtain a predicted annotated image.

其中,所述MRI图像样本是指医学数据库或其他来源中获取的图像样本,包含关于组织类型、密度、形状等信息;所述均衡样本是指对所述MRI图像样本进行均衡化处理后得到的样本。Wherein, the MRI image sample refers to an image sample obtained from a medical database or other sources, including information about tissue type, density, shape, etc.; the balanced sample refers to an image sample obtained after equalizing the MRI image sample. sample.

进一步地,所述MRI图像样本可以通过MRI扫描仪实现获得;所述均衡样本可以通过均衡化算法实现获得,如:直方图均衡化、自适应直方图均衡化等。Further, the MRI image sample can be obtained through an MRI scanner; the equalized sample can be obtained through an equalization algorithm, such as: histogram equalization, adaptive histogram equalization, etc.

本发明通过对所述预测标注图像进行重叠去除,得到所述原始MRI图像对应的图像标注结果,可以提高图像质量、改善可读性,促进图像分析和处理效果,以及提高病变检测和诊断准确性,对于医学领域的研究和临床实践具有重要的益处。The present invention obtains image annotation results corresponding to the original MRI images by removing overlaps on the predicted annotation images, which can improve image quality, improve readability, promote image analysis and processing effects, and improve the accuracy of lesion detection and diagnosis. , which has important benefits for research and clinical practice in the medical field.

其中,所述图像标注结果是指对原始MRI图像进行标记和注释的结果,可选地,所述图像标注结果可以通过神经网络模型实现获得,如:U-Net、ResNet、VGG等模型。The image annotation result refers to the result of labeling and annotating the original MRI image. Optionally, the image annotation result can be obtained through a neural network model, such as U-Net, ResNet, VGG and other models.

本发明通过获取原始MRI图像,对所述原始MRI图像进行图像去噪,得到MRI去噪图像,能够提高图像质量,改善图像分析和诊断效果,减少误诊率,并优化后续图像处理过程,可以降低噪声的影响,使图像更加清晰、细节更加明确,从而提高提高检测的准确性,本发明通过分割所述MRI平滑图像中的目标区域,提取所述目标区域对应的区域参数,能够帮助准确定位和分析目标区域,为疾病诊断、治疗和研究提供有力支持,并且可以实现自动化的图像分析,从而节省人力物力成本,提高效率,本发明基于所述边缘强度,对所述MRI平滑图像的剩余区域进行角点检测,得到角点抑制值,可以提供更丰富的图像特征,增强目标定位的准确性,辅助图像配准和对齐,以及辅助图像分割等应用,从而有助于提升医学影像处理的效果和质量,本发明基于所述纹理特征,构建所述原始MRI图像对应的图像标注模型,利用所述图像标注模型划分所述MRI平滑图像对应的图像训练集,可以自动化地进行图像标注和分类,提高处理效率,以便更好地分析和处理不同类型的图像,有助于针对性地开展相应的研究和治疗方案,本发明通过对所述预测标注图像进行重叠去除,得到所述原始MRI图像对应的图像标注结果,可以提高图像质量、改善可读性,促进图像分析和处理效果,以及提高病变检测和诊断准确性,对于医学领域的研究和临床实践具有重要的益处。因此本发明提出的基于MRI图像的数据标注方法及系统,以提高MRI图像数据标注的准确率。如图2所示,是本发明一实施例提供的基于MRI图像的数据标注方法及系统的功能模块图。The present invention obtains original MRI images and performs image denoising on the original MRI images to obtain MRI denoised images, which can improve image quality, improve image analysis and diagnosis effects, reduce misdiagnosis rates, and optimize subsequent image processing processes, which can reduce The influence of noise makes the image clearer and the details clearer, thereby improving the accuracy of detection. The present invention can help accurate positioning and detection by segmenting the target area in the MRI smooth image and extracting the regional parameters corresponding to the target area. Analyze the target area to provide strong support for disease diagnosis, treatment and research, and can realize automated image analysis, thereby saving manpower and material costs and improving efficiency. Based on the edge intensity, the present invention performs an analysis on the remaining area of the MRI smooth image. Corner detection and obtaining corner suppression values can provide richer image features, enhance the accuracy of target positioning, assist image registration and alignment, and assist image segmentation and other applications, thus helping to improve the effect of medical image processing and Quality, the present invention constructs an image annotation model corresponding to the original MRI image based on the texture characteristics, and uses the image annotation model to divide the image training set corresponding to the MRI smooth image, which can automatically perform image annotation and classification, and improve Processing efficiency, in order to better analyze and process different types of images, and help carry out corresponding research and treatment plans in a targeted manner. The present invention obtains the corresponding original MRI image by removing overlaps on the predicted annotated images. Image annotation results can improve image quality, improve readability, promote image analysis and processing effects, and improve lesion detection and diagnostic accuracy, which has important benefits for research and clinical practice in the medical field. Therefore, the present invention proposes a data annotation method and system based on MRI images to improve the accuracy of MRI image data annotation. As shown in Figure 2, it is a functional module diagram of the MRI image-based data annotation method and system provided by an embodiment of the present invention.

本发明所述基于MRI图像的数据标注系统200可以安装于电子设备中。根据实现的功能,所述基于MRI图像的数据标注系统200可以包括平滑处理模块201、边缘计算模块202、纹理识别模块203、模型训练模块204以及图像标注模块205。本发明所述模块也可以称之为单元,是指一种能够被电子设备处理器所执行,并且能够完成固定功能的一系列计算机程序段,其存储在电子设备的存储器中。The MRI image-based data annotation system 200 of the present invention can be installed in electronic equipment. According to the implemented functions, the MRI image-based data annotation system 200 may include a smoothing processing module 201, an edge calculation module 202, a texture recognition module 203, a model training module 204, and an image annotation module 205. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by the processor of the electronic device and can complete fixed functions, and are stored in the memory of the electronic device.

在本实施例中,关于各模块/单元的功能如下:In this embodiment, the functions of each module/unit are as follows:

所述平滑处理模块201,用于获取原始MRI图像,对所述原始MRI图像进行图像去噪,得到MRI去噪图像,对所述MRI去噪图像进行平滑处理,得到MRI平滑图像;The smoothing processing module 201 is used to obtain an original MRI image, perform image denoising on the original MRI image to obtain an MRI denoised image, and perform smoothing processing on the MRI denoised image to obtain an MRI smoothed image;

所述边缘计算模块202,用于分割所述MRI平滑图像中的目标区域,提取所述目标区域对应的区域参数,基于所述区域参数,计算所述目标区域对应的图像梯度,查询所述图像梯度对应的梯度因子,基于所述梯度因子,计算所述目标区域的边缘强度;The edge calculation module 202 is used to segment the target area in the MRI smooth image, extract the area parameters corresponding to the target area, calculate the image gradient corresponding to the target area based on the area parameters, and query the image The gradient factor corresponding to the gradient, based on the gradient factor, calculates the edge strength of the target area;

所述纹理识别模块203,用于基于所述边缘强度,对所述MRI平滑图像的剩余区域进行角点检测,得到角点抑制值,提取所述角点抑制值对应的信息因子,基于所述信息因子,识别所述剩余区域对应的纹理特征;The texture recognition module 203 is configured to perform corner point detection on the remaining area of the MRI smooth image based on the edge intensity, obtain the corner point suppression value, extract the information factor corresponding to the corner point suppression value, and based on the Information factor, identifying the texture features corresponding to the remaining area;

所述模型训练模块204,用于基于所述纹理特征,构建所述原始MRI图像对应的图像标注模型,利用所述图像标注模型划分所述MRI平滑图像对应的图像训练集,并利用所述训练集对所述图像标注模型进行模型训练,得到训练好的图像标注模型;The model training module 204 is configured to construct an image annotation model corresponding to the original MRI image based on the texture features, use the image annotation model to divide the image training set corresponding to the MRI smooth image, and use the training Collect and perform model training on the image annotation model to obtain a trained image annotation model;

所述图像标注模块205,用于利用训练好的模型对所述原始MRI图像进行标注预测,得到预测标注图像,对所述预测标注图像进行重叠去除,得到所述原始MRI图像对应的图像标注结果。The image annotation module 205 is used to use a trained model to annotate and predict the original MRI image to obtain a predicted annotated image, and remove overlaps from the predicted annotated image to obtain an image annotation result corresponding to the original MRI image. .

详细地,本发明实施例中所述基于MRI图像的数据标注系统200中所述的各模块在使用时采用与附图中所述的基于MRI图像的数据标注方法一样的技术手段,并能够产生相同的技术效果,这里不再赘述。In detail, each module described in the MRI image-based data annotation system 200 described in the embodiment of the present invention adopts the same technical means as the MRI image-based data annotation method described in the accompanying drawings, and can generate The same technical effects will not be repeated here.

如图3所示,是本发明实现基于MRI图像的数据标注方法的电子设备的结构示意图。As shown in Figure 3, it is a schematic structural diagram of an electronic device that implements the data annotation method based on MRI images according to the present invention.

所述电子设备1可以包括处理器30、存储器31、通信总线32以及通信接口33,还可以包括存储在所述存储器31中并可在所述处理器30上运行的计算机程序,如基于人工智能的工程安全监管程序。The electronic device 1 may include a processor 30, a memory 31, a communication bus 32 and a communication interface 33, and may also include a computer program stored in the memory 31 and executable on the processor 30, such as based on artificial intelligence. engineering safety supervision procedures.

其中,所述处理器30在一些实施例中可以由集成电路组成,例如可以由单个封装的集成电路所组成,也可以是由多个相同功能或不同功能封装的集成电路所组成,包括一个或者多个中央处理器(Central Processing unit,CPU)、微处理器、数字处理芯片、图形处理器及各种控制芯片的组合等。所述处理器30是所述电子设备1的控制核心(ControlUnit),利用各种接口和线路连接整个电子设备的各个部件,通过运行或执行存储在所述存储器31内的程序或者模块(例如执行基于人工智能的工程安全监管程序等),以及调用存储在所述存储器31内的数据,以执行电子设备的各种功能和处理数据。The processor 30 may be composed of an integrated circuit in some embodiments, for example, it may be composed of a single packaged integrated circuit, or it may be composed of multiple integrated circuits packaged with the same function or different functions, including one or A combination of multiple central processing units (CPUs), microprocessors, digital processing chips, graphics processors and various control chips, etc. The processor 30 is the control core (ControlUnit) of the electronic device 1, using various interfaces and lines to connect various components of the entire electronic device, by running or executing programs or modules stored in the memory 31 (for example, executing Engineering safety supervision program based on artificial intelligence, etc.), and calls the data stored in the memory 31 to perform various functions of the electronic device and process data.

所述存储器31至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、移动硬盘、多媒体卡、卡型存储器(例如:SD或DX存储器等)、磁性存储器、磁盘、光盘等。所述存储器31在一些实施例中可以是电子设备的内部存储单元,例如该电子设备的移动硬盘。所述存储器31在另一些实施例中也可以是电子设备的外部存储设备,例如电子设备上配备的插接式移动硬盘、智能存储卡(Smart Media Card,SMC)、安全数字(Secure Digital,SD)卡、闪存卡(Flash Card)等。进一步地,所述存储器31还可以既包括电子设备的内部存储单元也包括外部存储设备。所述存储器31不仅可以用于存储安装于电子设备的应用软件及各类数据,例如数据库配置化连接程序的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。The memory 31 includes at least one type of readable storage medium. The readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. . In some embodiments, the memory 31 may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 31 may also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), or a secure digital (SD) device equipped on the electronic device. ) card, Flash Card, etc. Further, the memory 31 may also include both an internal storage unit of the electronic device and an external storage device. The memory 31 can not only be used to store application software installed on the electronic device and various types of data, such as codes for database configuration connection programs, etc., but can also be used to temporarily store data that has been output or is to be output.

所述通信总线32可以是外设部件互连标准(peripheral componentinterconnect,简称PCI)总线或扩展工业标准结构(extended industry standardarchitecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。所述总线被设置为实现所述存储器31以及至少一个处理器30等之间的连接通信。The communication bus 32 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, or the like. The bus can be divided into address bus, data bus, control bus, etc. The bus is configured to implement connection communication between the memory 31 and at least one processor 30 and the like.

所述通信接口33用于上述电子设备1与其他设备之间的通信,包括网络接口和用户接口。可选地,所述网络接口可以包括有线接口和/或无线接口(如WI-FI接口、蓝牙接口等),通常用于在该电子设备与其他电子设备之间建立通信连接。所述用户接口可以是显示器(Display)、输入单元(比如键盘(Keyboard)),可选地,所述用户接口还可以是标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在电子设备中处理的信息以及用于显示可视化的用户界面。The communication interface 33 is used for communication between the above-mentioned electronic device 1 and other devices, and includes a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which are generally used to establish communication connections between the electronic device and other electronic devices. The user interface may be a display (Display) or an input unit (such as a keyboard). Optionally, the user interface may also be a standard wired interface or a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, or the like. The display may also be appropriately referred to as a display screen or a display unit, and is used for displaying information processed in the electronic device and for displaying a visualized user interface.

图3仅示出了具有部件的电子设备,本领域技术人员可以理解的是,图3示出的结构并不构成对所述电子设备1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。FIG. 3 only shows an electronic device with components. Persons skilled in the art can understand that the structure shown in FIG. 3 does not limit the electronic device 1 and may include fewer or more components than shown in the figure. components, or combinations of certain components, or different arrangements of components.

例如,尽管未示出,所述电子设备1还可以包括给各个部件供电的电源(比如电池),优选地,电源可以通过电源管理装置与所述至少一个处理器30逻辑相连,从而通过电源管理装置实现充电管理、放电管理、以及功耗管理等功能。电源还可以包括一个或一个以上的直流或交流电源、再充电装置、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。所述电子设备1还可以包括多种传感器、蓝牙模块、Wi-Fi模块等,在此不再赘述。For example, although not shown, the electronic device 1 may also include a power supply (such as a battery) that supplies power to various components. Preferably, the power supply may be logically connected to the at least one processor 30 through a power management device, so that through the power management device The device implements functions such as charging management, discharge management, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described again here.

应该了解,所述实施例仅为说明之用。It should be understood that the described examples are for illustrative purposes only.

所述电子设备1中的所述存储器31存储的数据库配置化连接程序是多个计算机程序的组合,在所述处理器30中运行时,可以实现:The database configuration connection program stored in the memory 31 of the electronic device 1 is a combination of multiple computer programs. When run in the processor 30, it can realize:

获取原始MRI图像,对所述原始MRI图像进行图像去噪,得到MRI去噪图像,对所述MRI去噪图像进行平滑处理,得到MRI平滑图像;Obtain an original MRI image, perform image denoising on the original MRI image to obtain an MRI denoised image, and smooth the MRI denoised image to obtain a smoothed MRI image;

分割所述MRI平滑图像中的目标区域,提取所述目标区域对应的区域参数,基于所述区域参数,计算所述目标区域对应的图像梯度,查询所述图像梯度对应的梯度因子,基于所述梯度因子,计算所述目标区域的边缘强度;Segment the target area in the MRI smooth image, extract the area parameters corresponding to the target area, calculate the image gradient corresponding to the target area based on the area parameters, query the gradient factor corresponding to the image gradient, and based on the Gradient factor, calculates the edge strength of the target area;

基于所述边缘强度,对所述MRI平滑图像的剩余区域进行角点检测,得到角点抑制值,提取所述角点抑制值对应的信息因子,基于所述信息因子,识别所述剩余区域对应的纹理特征;Based on the edge intensity, corner detection is performed on the remaining area of the MRI smooth image to obtain corner suppression values, information factors corresponding to the corner suppression values are extracted, and based on the information factors, the corresponding remaining areas are identified texture characteristics;

基于所述纹理特征,构建所述原始MRI图像对应的图像标注模型,利用所述图像标注模型划分所述MRI平滑图像对应的图像训练集,并利用所述训练集对所述图像标注模型进行模型训练,得到训练好的图像标注模型;Based on the texture features, construct an image annotation model corresponding to the original MRI image, use the image annotation model to divide the image training set corresponding to the MRI smooth image, and use the training set to model the image annotation model Train to obtain the trained image annotation model;

利用训练好的模型对所述原始MRI图像进行标注预测,得到预测标注图像,对所述预测标注图像进行重叠去除,得到所述原始MRI图像对应的图像标注结果。The trained model is used to perform annotation prediction on the original MRI image to obtain a predicted annotated image, and the overlap of the predicted annotated image is removed to obtain an image annotation result corresponding to the original MRI image.

具体地,所述处理器30对上述计算机程序的具体实现方法可参考图1对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation method of the above computer program by the processor 30, reference can be made to the description of the relevant steps in the corresponding embodiment in Figure 1, which will not be described again here.

进一步地,所述电子设备1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个非易失性计算机可读取存储介质中。所述存储介质可以是易失性的,也可以是非易失性的。例如,所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)。Furthermore, if the integrated modules/units of the electronic device 1 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium. The storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Memory).

本发明还提供一种存储介质,所述可读存储介质存储有计算机程序,所述计算机程序在被电子设备的处理器所执行时,可以实现:The present invention also provides a storage medium. The readable storage medium stores a computer program. When executed by a processor of an electronic device, the computer program can realize:

获取原始MRI图像,对所述原始MRI图像进行图像去噪,得到MRI去噪图像,对所述MRI去噪图像进行平滑处理,得到MRI平滑图像;Obtain an original MRI image, perform image denoising on the original MRI image to obtain an MRI denoised image, and smooth the MRI denoised image to obtain a smoothed MRI image;

分割所述MRI平滑图像中的目标区域,提取所述目标区域对应的区域参数,基于所述区域参数,计算所述目标区域对应的图像梯度,查询所述图像梯度对应的梯度因子,基于所述梯度因子,计算所述目标区域的边缘强度;Segment the target area in the MRI smooth image, extract the area parameters corresponding to the target area, calculate the image gradient corresponding to the target area based on the area parameters, query the gradient factor corresponding to the image gradient, and based on the Gradient factor, calculates the edge strength of the target area;

基于所述边缘强度,对所述MRI平滑图像的剩余区域进行角点检测,得到角点抑制值,提取所述角点抑制值对应的信息因子,基于所述信息因子,识别所述剩余区域对应的纹理特征;Based on the edge intensity, corner detection is performed on the remaining area of the MRI smooth image to obtain corner suppression values, information factors corresponding to the corner suppression values are extracted, and based on the information factors, the corresponding remaining areas are identified texture characteristics;

基于所述纹理特征,构建所述原始MRI图像对应的图像标注模型,利用所述图像标注模型划分所述MRI平滑图像对应的图像训练集,并利用所述训练集对所述图像标注模型进行模型训练,得到训练好的图像标注模型;Based on the texture features, construct an image annotation model corresponding to the original MRI image, use the image annotation model to divide the image training set corresponding to the MRI smooth image, and use the training set to model the image annotation model Train to obtain the trained image annotation model;

利用训练好的模型对所述原始MRI图像进行标注预测,得到预测标注图像,对所述预测标注图像进行重叠去除,得到所述原始MRI图像对应的图像标注结果。The trained model is used to perform annotation prediction on the original MRI image to obtain a predicted annotated image, and the overlap of the predicted annotated image is removed to obtain an image annotation result corresponding to the original MRI image.

在本发明所提供的几个实施例中,应该理解到,所揭露的设备,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided by the present invention, it should be understood that the disclosed equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules is only a logical function division, and there may be other division methods in actual implementation.

所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of hardware plus software function modules.

对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。It is obvious to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。Therefore, the embodiments should be regarded as illustrative and non-restrictive from any point of view, and the scope of the present invention is defined by the appended claims rather than the above description, and it is therefore intended that all claims falling within the claims All changes within the meaning and scope of equivalent elements are included in the present invention.

需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as “first” and “second” are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is no such actual relationship or sequence between entities or operations. Furthermore, the terms "comprises," "comprises," or any other variations thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also those not expressly listed other elements, or elements inherent to the process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or apparatus that includes the stated element.

以上所述仅是本发明的具体实施方式,使本领域技术人员能够理解或实现本发明。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所发明的原理和新颖特点相一致的最宽的范围。The above descriptions are only specific embodiments of the present invention, enabling those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be practiced in other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1.基于MRI图像的数据标注方法,其特征在于,所述方法包括:1. A data annotation method based on MRI images, characterized in that the method includes: 获取原始MRI图像,对所述原始MRI图像进行图像去噪,得到MRI去噪图像,对所述MRI去噪图像进行平滑处理,得到MRI平滑图像;Obtain an original MRI image, perform image denoising on the original MRI image to obtain an MRI denoised image, and smooth the MRI denoised image to obtain a smoothed MRI image; 分割所述MRI平滑图像中的目标区域,提取所述目标区域对应的区域参数,基于所述区域参数,计算所述目标区域对应的图像梯度,查询所述图像梯度对应的梯度因子,基于所述梯度因子,计算所述目标区域的边缘强度;Segment the target area in the MRI smooth image, extract the area parameters corresponding to the target area, calculate the image gradient corresponding to the target area based on the area parameters, query the gradient factor corresponding to the image gradient, and based on the Gradient factor, calculates the edge strength of the target area; 基于所述边缘强度,对所述MRI平滑图像的剩余区域进行角点检测,得到角点抑制值,提取所述角点抑制值对应的信息因子,基于所述信息因子,识别所述剩余区域对应的纹理特征;Based on the edge intensity, corner detection is performed on the remaining area of the MRI smooth image to obtain corner suppression values, information factors corresponding to the corner suppression values are extracted, and based on the information factors, the corresponding remaining areas are identified texture characteristics; 基于所述纹理特征,构建所述原始MRI图像对应的图像标注模型,利用所述图像标注模型划分所述MRI平滑图像对应的图像训练集,并利用所述训练集对所述图像标注模型进行模型训练,得到训练好的图像标注模型;Based on the texture features, construct an image annotation model corresponding to the original MRI image, use the image annotation model to divide the image training set corresponding to the MRI smooth image, and use the training set to model the image annotation model Train to obtain the trained image annotation model; 利用训练好的模型对所述原始MRI图像进行标注预测,得到预测标注图像,对所述预测标注图像进行重叠去除,得到所述原始MRI图像对应的图像标注结果。The trained model is used to perform annotation prediction on the original MRI image to obtain a predicted annotated image, and the overlap of the predicted annotated image is removed to obtain an image annotation result corresponding to the original MRI image. 2.如权利要求1所述的基于MRI图像的数据标注方法,其特征在于,所述获取原始MRI图像,对所述原始MRI图像进行图像去噪,得到MRI去噪图像,包括:2. The data annotation method based on MRI images as claimed in claim 1, characterized in that said obtaining the original MRI image, performing image denoising on the original MRI image to obtain the MRI denoised image includes: 利用预设的医学设备对患者进行MRI扫描,获得原始MRI图像;Use preset medical equipment to perform an MRI scan on the patient and obtain the original MRI image; 对所述原始MRI图像进行噪声分析,得到噪声数据;Perform noise analysis on the original MRI image to obtain noise data; 识别所述噪声数据对应的噪声方向;Identify the noise direction corresponding to the noise data; 基于所述噪声方向,对所述原始MRI图像进行图像去噪,得到MRI去噪图像。Based on the noise direction, image denoising is performed on the original MRI image to obtain an MRI denoised image. 3.如权利要求1所述的基于MRI图像的数据标注方法,其特征在于,所述对所述MRI去噪图像进行平滑处理,得到MRI平滑图像,包括:3. The data annotation method based on MRI images as claimed in claim 1, characterized in that, smoothing the MRI denoised image to obtain an MRI smoothed image includes: 识别所述MRI去噪图像对应的图像需求;Identify image requirements corresponding to the MRI denoised image; 基于所述图像需求,设置所述MRI去噪图像对应的平滑参数;Based on the image requirements, set the smoothing parameters corresponding to the MRI denoising image; 基于所述平滑参数,启用预设的平滑滤波器对所述MRI去噪图像进行平滑处理,得到MRI平滑图像。Based on the smoothing parameters, a preset smoothing filter is enabled to smooth the MRI denoised image to obtain an MRI smoothed image. 4.如权利要求1所述的基于MRI图像的数据标注方法,其特征在于,所述分割所述MRI平滑图像中的目标区域,提取所述目标区域对应的区域参数,包括:4. The data annotation method based on MRI images as claimed in claim 1, wherein the segmenting the target area in the MRI smooth image and extracting the regional parameters corresponding to the target area includes: 识别所述MIR平滑图像对应的目标因子;Identify the target factor corresponding to the MIR smooth image; 基于所述目标因子,确定所述MRI平滑图像对应的目标区域;Based on the target factor, determine the target area corresponding to the MRI smooth image; 利用预设的分割算法分割所述MRI平滑图像中的所述目标区域;Segment the target area in the MRI smooth image using a preset segmentation algorithm; 查询所述目标区域对应的区域需求,提取所述区域需求对应的区域参数。Query the regional requirements corresponding to the target area, and extract the regional parameters corresponding to the regional requirements. 5.如权利要求1所述的基于MRI图像的数据标注方法,其特征在于,所述基于所述区域参数,计算所述目标区域对应的图像梯度,包括:5. The data annotation method based on MRI images as claimed in claim 1, characterized in that, based on the region parameters, calculating the image gradient corresponding to the target region includes: 首先,利用下述公式计算所述目标区域对应的平均灰度值:First, use the following formula to calculate the average gray value corresponding to the target area: 其中,MG表示所述目标区域对应的平均灰度值,N表示所述目标区域中的像素数目,I(x,y)表示坐标为(x,y)处的像素灰度值。Wherein, MG represents the average gray value corresponding to the target area, N represents the number of pixels in the target area, and I(x,y) represents the gray value of the pixel at the coordinate (x, y). 其次,基于所述平均灰度值,计算所述目标区域每个像素与其邻域像素的差值平方和:Secondly, based on the average gray value, calculate the sum of squared differences between each pixel in the target area and its neighbor pixels: SD=∑[I(x,y)-I(x’,y’)]2 SD=∑[I(x,y)-I(x',y')] 2 其中,SD表示所述目标区域每个像素与其邻域像素的差值平方和,(x',y')表示(x,y)像素的邻域像素位置,I(x,y)和I(x',y')分别表示目标区域内的像素灰度值。Among them, SD represents the sum of squared differences between each pixel in the target area and its neighboring pixels, (x', y') represents the neighborhood pixel position of the (x, y) pixel, I(x, y) and I( x', y') respectively represent the pixel gray value in the target area. 最后,基于所述差值平方和,计算所述目标区域对应的图像梯度:Finally, based on the sum of squared differences, the image gradient corresponding to the target area is calculated: 其中,GT表示所述目标区域对应的图像梯度,N表示所述目标区域中的像素数目。Where, GT represents the image gradient corresponding to the target area, and N represents the number of pixels in the target area. 6.如权利要求1所述的基于MRI图像的数据标注方法,其特征在于,所述基于所述梯度因子,计算所述目标区域的边缘强度,包括:6. The method for data annotation based on MRI images according to claim 1, wherein the step of calculating the edge strength of the target area based on the gradient factor comprises: 其中,BQ表示所述目标区域的边缘强度,(i,j)表示图像中的像素坐标,MB表示所述目标区域,Gx(i,j)和Gy(i,j)分别表示像素点(i,j)处的水平和垂直方向上的梯度值,M表示目标区域中像素点的总数。Among them, BQ represents the edge strength of the target area, (i,j) represents the pixel coordinates in the image, MB represents the target area, Gx(i,j) and Gy(i,j) respectively represent the pixel point (i , the gradient values in the horizontal and vertical directions at j), M represents the total number of pixels in the target area. 7.如权利要求1所述的基于MRI图像的数据标注方法,其特征在于,所述基于所述边缘强度,对所述MRI平滑图像的剩余区域进行角点检测,得到角点抑制值,包括:7. The data annotation method based on MRI images according to claim 1, characterized in that, based on the edge intensity, corner detection is performed on the remaining area of the MRI smooth image to obtain a corner suppression value, including : 基于所述边缘强度,确定所述剩余区域对应的边缘图像;Based on the edge intensity, determine the edge image corresponding to the remaining area; 对所述边缘图像进行角点监测,得到角点参数;Perform corner point monitoring on the edge image to obtain corner point parameters; 基于所述角点参数,计算所述剩余区域对应的角点响应值;Based on the corner point parameters, calculating the corner point response values corresponding to the remaining area; 对所述角点响应值进行非极大值抑制,得到角点抑制值。Perform non-maximum suppression on the corner point response value to obtain a corner point suppression value. 8.如权利要求1所述的基于MRI图像的数据标注方法,其特征在于,所述提取所述角点抑制值对应的信息因子,基于所述信息因子,识别所述剩余区域对应的纹理特征,包括:8. The data annotation method based on MRI images according to claim 1, characterized in that: extracting information factors corresponding to the corner point suppression values, and identifying texture features corresponding to the remaining areas based on the information factors. ,include: 确定所述角点抑制值对应的固定邻域,提取所述固定邻域对应的信息因子;Determine the fixed neighborhood corresponding to the corner point suppression value, and extract the information factor corresponding to the fixed neighborhood; 判断所述信息因子对应的纹理类别;Determine the texture category corresponding to the information factor; 基于所述纹理类别,识别所述剩余区域对应的纹理特征。Based on the texture category, texture features corresponding to the remaining area are identified. 9.如权利要求1所述的基于MRI图像的数据标注方法,其特征在于,所述利用训练好的模型对所述原始MRI图像进行标注预测,得到预测标注图像,包括:9. The data annotation method based on MRI images as claimed in claim 1, characterized in that the use of a trained model to perform annotation prediction on the original MRI image to obtain a predicted annotation image includes: 获取所述原始MRI图像对应的MRI图像样本;Obtain MRI image samples corresponding to the original MRI images; 对所述MRI图像样本进行均衡化处理,得到均衡样本;Perform equalization processing on the MRI image samples to obtain equalized samples; 利用训练好的模型对所述均衡样本进行图像预测,得到预测图像;Use the trained model to perform image prediction on the balanced sample to obtain a predicted image; 对所述预测图像进行图像标注,得到预测标注图像。Image annotation is performed on the predicted image to obtain a predicted annotated image. 10.基于MRI图像的数据标注系统,其特征在于,用于执行如权利要求1-9中任意一项所述的基于MRI图像的数据标注方法,所述系统包括:10. A data annotation system based on MRI images, characterized in that it is used to perform the data annotation method based on MRI images as described in any one of claims 1-9, and the system includes: 平滑处理模块,用于获取原始MRI图像,对所述原始MRI图像进行图像去噪,得到MRI去噪图像,对所述MRI去噪图像进行平滑处理,得到MRI平滑图像;A smoothing processing module, used to obtain an original MRI image, perform image denoising on the original MRI image to obtain an MRI denoised image, and perform smoothing processing on the MRI denoised image to obtain an MRI smoothed image; 边缘计算模块,用于分割所述MRI平滑图像中的目标区域,提取所述目标区域对应的区域参数,基于所述区域参数,计算所述目标区域对应的图像梯度,查询所述图像梯度对应的梯度因子,基于所述梯度因子,计算所述目标区域的边缘强度;An edge calculation module is used to segment the target area in the MRI smooth image, extract the area parameters corresponding to the target area, calculate the image gradient corresponding to the target area based on the area parameters, and query the image gradient corresponding to the Gradient factor, based on the gradient factor, calculate the edge strength of the target area; 纹理识别模块,用于基于所述边缘强度,对所述MRI平滑图像的剩余区域进行角点检测,得到角点抑制值,提取所述角点抑制值对应的信息因子,基于所述信息因子,识别所述剩余区域对应的纹理特征;A texture recognition module, configured to perform corner point detection on the remaining area of the MRI smooth image based on the edge intensity, obtain a corner point suppression value, and extract an information factor corresponding to the corner point suppression value. Based on the information factor, Identify the texture features corresponding to the remaining area; 模型训练模块,用于基于所述纹理特征,构建所述原始MRI图像对应的图像标注模型,利用所述图像标注模型划分所述MRI平滑图像对应的图像训练集,并利用所述训练集对所述图像标注模型进行模型训练,得到训练好的图像标注模型;A model training module, configured to construct an image annotation model corresponding to the original MRI image based on the texture features, use the image annotation model to divide the image training set corresponding to the MRI smooth image, and use the training set to The above image annotation model is used for model training, and a trained image annotation model is obtained; 图像标注模块,用于利用训练好的模型对所述原始MRI图像进行标注预测,得到预测标注图像,对所述预测标注图像进行重叠去除,得到所述原始MRI图像对应的图像标注结果。The image annotation module is used to use the trained model to perform annotation prediction on the original MRI image to obtain a predicted annotated image, and to remove overlaps on the predicted annotated image to obtain an image annotation result corresponding to the original MRI image.
CN202311810565.1A 2023-12-25 2023-12-25 MRI image-based data labeling method and system Withdrawn CN117765330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311810565.1A CN117765330A (en) 2023-12-25 2023-12-25 MRI image-based data labeling method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311810565.1A CN117765330A (en) 2023-12-25 2023-12-25 MRI image-based data labeling method and system

Publications (1)

Publication Number Publication Date
CN117765330A true CN117765330A (en) 2024-03-26

Family

ID=90319808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311810565.1A Withdrawn CN117765330A (en) 2023-12-25 2023-12-25 MRI image-based data labeling method and system

Country Status (1)

Country Link
CN (1) CN117765330A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118471499A (en) * 2024-05-10 2024-08-09 江苏省肿瘤医院 Tumor risk assessment system based on magnetic resonance imaging
CN119359846A (en) * 2024-10-28 2025-01-24 中国人民解放军总医院第二医学中心 Method and system for reconstructing nuclear magnetic resonance image scanning data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118471499A (en) * 2024-05-10 2024-08-09 江苏省肿瘤医院 Tumor risk assessment system based on magnetic resonance imaging
CN119359846A (en) * 2024-10-28 2025-01-24 中国人民解放军总医院第二医学中心 Method and system for reconstructing nuclear magnetic resonance image scanning data

Similar Documents

Publication Publication Date Title
US11810296B2 (en) Interpretation and quantification of emergency features on head computed tomography
Zebari et al. Improved threshold based and trainable fully automated segmentation for breast cancer boundary and pectoral muscle in mammogram images
Jung et al. An automatic nuclei segmentation method based on deep convolutional neural networks for histopathology images
CN110678903B (en) System and method for analysis of ectopic ossification in 3D images
Cabezas et al. Automatic multiple sclerosis lesion detection in brain MRI by FLAIR thresholding
CN109300113B (en) Pulmonary nodule auxiliary detection system and method based on improved convex hull method
Göçeri Fully automated liver segmentation using Sobolev gradient‐based level set evolution
Abbas et al. Computer‐aided pattern classification system for dermoscopy images
CN117765330A (en) MRI image-based data labeling method and system
Ruchitha et al. Segmentation of ovarian cancer using active contour and random walker algorithm
WO2018107371A1 (en) Image searching system and method
WO2018176189A1 (en) Image segmentation method and system
Hiremath et al. Follicle detection and ovarian classification in digital ultrasound images of ovaries
CN113724185B (en) Model processing method, device and storage medium for image classification
US11684333B2 (en) Medical image analyzing system and method thereof
WO2021136368A1 (en) Method and apparatus for automatically detecting pectoralis major region in molybdenum target image
CN116580397B (en) Pathological image recognition methods, devices, equipment and storage media
Rani et al. Superpixel with nanoscale imaging and boosted deep convolutional neural network concept for lung tumor classification
Sahu et al. A new hybrid approach using fuzzy clustering and morphological operations for lung segmentation in thoracic CT images
Lee et al. Unsupervised segmentation of lung fields in chest radiographs using multiresolution fractal feature vector and deformable models
CN116433704A (en) A cell nucleus segmentation method and related equipment based on center points
Chen et al. Snake model-based lymphoma segmentation for sequential CT images
CN117274278B (en) Retinal image lesion segmentation method and system based on simulated receptive field
Mäder et al. Image‐Processing Scheme to Detect Superficial Fungal Infections of the Skin
Prathibanandhi et al. Diagnosis of polycystic ovary syndrome using deep learning neural network-based segmentation techniques

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20240326

WW01 Invention patent application withdrawn after publication