WO2022236995A1 - Guided detection and scoring method for calcified plaque, and device and storage medium - Google Patents

Guided detection and scoring method for calcified plaque, and device and storage medium Download PDF

Info

Publication number
WO2022236995A1
WO2022236995A1 PCT/CN2021/112607 CN2021112607W WO2022236995A1 WO 2022236995 A1 WO2022236995 A1 WO 2022236995A1 CN 2021112607 W CN2021112607 W CN 2021112607W WO 2022236995 A1 WO2022236995 A1 WO 2022236995A1
Authority
WO
WIPO (PCT)
Prior art keywords
image sequence
oct
calcified plaque
oct image
calcified
Prior art date
Application number
PCT/CN2021/112607
Other languages
French (fr)
Chinese (zh)
Inventor
朱锐
张逸群
鲁全茂
Original Assignee
深圳市中科微光医疗器械技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市中科微光医疗器械技术有限公司 filed Critical 深圳市中科微光医疗器械技术有限公司
Publication of WO2022236995A1 publication Critical patent/WO2022236995A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/764Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/77Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
    • G06V10/774Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/82Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10072Tomographic images
    • G06T2207/10101Optical tomography; Optical coherence tomography [OCT]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30101Blood vessel; Artery; Vein; Vascular

Definitions

  • the application belongs to the technical field of medical imaging, and in particular relates to a method, device and storage medium for detecting and scoring guided calcified plaques.
  • vascular calcification has become an important issue in the prevention and treatment of cardiovascular diseases. Severe vascular calcification will significantly increase the difficulty and risk of stent surgery. If the doctor can know the severity of the calcified plaque in the vascular lumen in time, he can take reasonable pretreatment measures such as rotational atherectomy and excimer laser coronary atherectomy (Excimer Laser Coronary Atherectomy, ELCA). Address medical issues related to calcified plaque for better outcomes.
  • the present application provides a method for detecting and scoring guided calcified plaques, including: acquiring an OCT image sequence of the target lumen; inputting the OCT image sequence into a preset segmentation model for processing, and outputting the OCT image sequence to obtain the A mask image sequence of the image sequence, the mask image sequence is used to identify the calcified plaque area in the OCT image sequence; calculate the size parameter of the calcified plaque in the OCT image sequence according to the mask image sequence, and A severity score for calcified plaque in the target lumen is determined based on the size parameter.
  • the preset segmentation model includes a multi-scale pyramid convolution pooling module and a U-Net model
  • the multi-scale pyramid convolution pooling module includes a plurality of first downsampling layers of different scales
  • the The U-Net model includes a plurality of second downsampling layers
  • the plurality of first downsampling layers of different scales are respectively connected to the plurality of second downsampling layers in one-to-one correspondence
  • the OCT image sequence is respectively input to the among the plurality of first downsampling layers and the plurality of second downsampling layers.
  • the acquiring the OCT image sequence of the target lumen includes: acquiring an original OCT image sequence of the target lumen; performing image compensation on the OCT original image sequence according to an optical tomographic attenuation compensation algorithm to obtain an OCT compensated image sequence; The OCT original image sequence and the OCT compensated image sequence are superimposed to obtain an OCT image sequence of the target lumen.
  • optical tomography attenuation compensation algorithm is:
  • z represents the imaging depth of the OCT original image sequence
  • Ii, j(z) represents the initial light intensity value of the pixel point (i, j) in the original image sequence
  • Ii,j(z) represents the initial light intensity value of the pixel point (i, j) in the original image sequence
  • Ii,j(z) represents the initial light intensity value of the pixel point (i, j) in the original image sequence
  • Ii,j(z) represents the initial light intensity value of the pixel point (i, j) in the original image sequence
  • Ii,j(z) represents the initial light intensity value of the pixel point (i, j) in the original image sequence
  • the size parameter of the calcified plaque in the OCT image sequence includes the thickness, length and angle of the calcified plaque in the OCT image sequence.
  • the mask image sequence is also used to identify the lumen region in the OCT image sequence, and the calculating the size parameter of the calcified plaque in the OCT image sequence according to the mask image sequence includes :
  • the thickness of the calcified plaque in the OCT image sequence is determined by multiplying the maximum number of pixels whose pixel values are continuously the first preset value in the column direction in the square image sequence multiplied by the pixel resolution;
  • the determining the severity score of the calcified plaque of the target lumen according to the size parameter includes: when the angle of the calcified plaque is within a first threshold range, determining the severity score of the target lumen The first severity score of the calcified plaque, when the angle of the calcified plaque is within the second threshold range, determine the second severity score of the calcified plaque in the target lumen; the thickness of the calcified plaque is within When within the third threshold range, determine the third severity score of the calcified plaque in the target lumen; when the length of the calcified plaque is within the fourth threshold range, determine the score of the calcified plaque in the target lumen The fourth severity score; according to the first severity score, the second severity score, the third severity score and the fourth severity score, the calcified plaque in the target lumen is obtained Severity score.
  • the method further includes: training the initial segmentation model according to a preset loss function and a training set to obtain a preset segmentation model; wherein, the training set includes a plurality of OCT image sequence samples and each The mask image sequence samples corresponding to the OCT image sequence samples; the loss function is used to constrain the error between each frame image sample in the OCT image sequence and each corresponding mask image sequence sample, and also It is used to constrain the error between the continuous multi-frame image samples in the OCT image sequence and the corresponding continuous multi-frame mask image sequence samples.
  • the present application provides a guided calcified plaque detection and scoring device, including:
  • an acquisition unit configured to acquire an OCT image sequence of the target lumen
  • a processing unit configured to input the OCT image sequence into a preset segmentation model for processing, and output a mask image sequence to obtain the OCT image sequence, and the mask image sequence is used to identify calcification in the OCT image sequence plaque area;
  • a determining unit is configured to calculate a size parameter of the calcified plaque in the OCT image sequence according to the mask image sequence, and determine a severity score of the calcified plaque in the target lumen according to the size parameter.
  • the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and operable on the processor.
  • a terminal device including a memory, a processor, and a computer program stored in the memory and operable on the processor.
  • the processor executes the computer program, any of the first aspect or the first aspect can be realized. A method described in an optional manner.
  • a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect or any optional mode of the first aspect is implemented.
  • an embodiment of the present application provides a computer program product, which, when the computer program product is run on a terminal device, enables the terminal device to execute the method described in the first aspect or any optional manner of the first aspect.
  • the optical tomographic attenuation compensation algorithm is firstly used to obtain the OCT compensation image sequence corresponding to the OCT original image sequence, which can avoid the failure of the OCT original image due to the low imaging depth.
  • the calcified plaques in the deep and larger areas are completely displayed, so as to obtain the complete deep calcified plaques; then the preset segmentation model composed of the multi-scale pyramid convolution pooling module and the U-Net model is used to make the calcification OCT images with large size differences are input into the preset segmentation model and processed to obtain feature maps with fixed feature scales, which avoids large differences in feature scales and small-scale features in feature maps directly processed by the U-Net model.
  • the size parameter of the calcified plaque in the OCT image sequence is calculated to determine the severity score of the calcified plaque in the target lumen. Therefore, the image of the calcified plaque collected by OCT can be analyzed to obtain the severity of the calcified plaque through the plaque calcification detection and scoring method provided in the present application.
  • Fig. 1 is a schematic flowchart of an embodiment of a method for detecting calcified plaque provided by an embodiment of the present application
  • Fig. 2 is a schematic diagram of an OCT calcification circle diagram provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of a compensated OCT calcification circle diagram provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a network structure of a preset segmentation model provided by an embodiment of the present application.
  • Fig. 5 is a schematic diagram of a mask image output by a segmentation model provided by an embodiment of the present application.
  • Fig. 6 is a schematic diagram of the recognition result of an OCT calcification square diagram provided by an embodiment of the present application.
  • Fig. 7 is a schematic diagram of converting a mask image into a block diagram provided by an embodiment of the present application.
  • Fig. 8 is a schematic diagram of a guided calcified plaque detection and scoring device provided in the embodiment of the present application.
  • FIG. 9 is a schematic diagram of a terminal device provided by an embodiment of the present application.
  • This application provides a method for detecting and scoring guided calcified plaques.
  • the optical tomography attenuation compensation algorithm is used to obtain the OCT compensated calcification circle map corresponding to the OCT calcification circle map, that is, the enhanced calcification circle map; and then through the spatial multi-scale pyramid pooling Methods
  • the U-Net image segmentation model was improved to obtain mask images; finally, the size parameters of calcified plaques were calculated according to the mask images, and the severity of calcified plaques was determined according to the size parameters. Therefore, the severity of the calcified plaque can be obtained by analyzing the image of the calcified plaque collected by OCT.
  • FIG. 1 is a schematic flowchart of a guided calcified plaque detection and scoring method provided by an embodiment of the present application.
  • the subject of execution of the method may be an optical coherence tomography (optical coherence tomography, OCT) image acquisition device, or other control devices associated with the OCT image acquisition device, such as a personal computer (PC).
  • OCT optical coherence tomography
  • PC personal computer
  • the method includes: S101, acquiring an OCT image sequence of a target lumen.
  • the OCT image sequence of the target lumen refers to multiple OCT images in the lumen of a blood vessel acquired by an OCT acquisition device. It is not difficult to understand that the OCT image sequence may be directly and continuously collected multiple frames of OCT images, or may be continuously collected multiple frames of OCT images in a video.
  • acquiring the OCT image sequence of the target lumen includes: S1011, acquiring the original OCT image sequence of the target lumen.
  • the acquisition of the original OCT image sequence may be to export the acquired continuous multi-frame OCT images from the OCT image acquisition device, and then manually select the images containing calcification to form the original OCT image sequence.
  • each OCT original image in the above OCT original image sequence into an image of 704*704*3. It is worth noting that the initialization refers to using the initialization function to convert all the OCT images in the OCT original image sequence into images with a size of 704*704*3.
  • S1012. Perform image compensation on the OCT original image sequence according to an optical tomography attenuation compensation algorithm to obtain an OCT compensated image sequence.
  • the multiple OCT original images in the acquired OCT original image sequence use infrared light waves with a wavelength of about 1300nm as the light source, and the light emitted by the light source is divided into a sample beam and a reference beam through a beam splitter, and the reference beam and the sample at the same distance are used
  • the optical coherence phenomenon generated after the meeting of the beam reflected waves is processed by a computer into a signal to obtain a tissue image.
  • due to the low imaging depth of OCT generally the imaging depth of OCT is 1-3 mm, which cannot completely display images of calcified plaques in deeper and larger areas.
  • this application uses the Attenuation-Compensated Optical Coherence Tomography (AC) algorithm to perform image compensation on the original OCT image sequence to obtain the OCT compensated image sequence.
  • AC Attenuation-Compensated Optical Coherence Tomography
  • optical tomography attenuation compensation algorithm can be calculated according to the following formula:
  • z represents the imaging depth of the original OCT image sequence
  • Ii,j(z) represents the initial light intensity value of the pixel point (i, j) in the original OCT image sequence
  • Ii,j(z) represents the initial light intensity value of the pixel point (i, j) in the original OCT image sequence
  • the OCT original image sequence contains multiple OCT original images
  • the multiple OCT original images are substituted into the formula (1) to calculate the multiple OCT compensation images corresponding to the multiple OCT original images one-to-one.
  • the OCT compensated images constitute an OCT compensated image sequence that corresponds one-to-one to the above OCT original image sequence.
  • FIG. 2 one OCT original image in the OCT original image sequence is shown in FIG. 2
  • FIG. 3 the corresponding OCT compensated image is shown in FIG. 3 .
  • the size of the OCT original image in the OCT original image sequence is 704*704*3
  • the OCT compensated image sequence processed by the attenuation compensation algorithm does not change the size of the original OCT image sequence, that is, the size of the OCT compensated image sequence is also 704*704*3. Therefore, the size of the OCT images in the OCT image sequence formed by superimposing the OCT original image sequence with the OCT compensation image sequence is 704*704*6.
  • S102 input the OCT image sequence into a preset segmentation model for processing, and output a mask image sequence of the OCT image sequence, the mask image sequence is used to identify the calcified plaque area in the OCT image sequence .
  • each square represents the feature map after convolution
  • the number under each square represents the number of feature maps
  • the input image refers to The OCT image sequence to be input into the preset segmentation model
  • the output image refers to the mask image sequence with the numbers 0, 1 and 2 respectively marking the background, lumen and calcified plaque.
  • the preset segmentation model in the embodiment of this application includes the U-Net model and the multi-scale pyramid convolution pooling module.
  • the multi-scale pyramid convolution pooling module includes multiple first down-sampling layers of different scales, and the outputs of multiple first down-sampling layers of different scales are respectively connected to multiple second down-sampling layers of the U-Net model;
  • the OCT image sequence is input to the multi-scale pyramid convolution pooling module and the U-Net model respectively.
  • multiple first downsampling layers of different scales are respectively connected to multiple second downsampling layers in one-to-one correspondence; multiple frames of OCT images contained in the OCT image sequence are respectively input to multiple first downsampling layers of different scales in one-to-one correspondence.
  • the sampling layer and input the OCT image sequence into a plurality of second down-sampling layers.
  • the mask image sequence corresponding to the above OCT image sequence is output, and the mask image in the output mask image sequence corresponding to Fig. 2 and Fig. 3 is shown in Fig. 5 .
  • the classification score corresponding to each pixel in the above mask image can be obtained, and the sum of the probabilities of each pixel belonging to these three categories is 1. Select the probability The largest is the classification category corresponding to the pixel.
  • 0 represents the background in the OCT calcification circle diagram
  • 1 represents the lumen in the OCT calcification circle diagram
  • 2 represents the calcified plaque in the OCT calcification circle diagram.
  • the probability after normalization processing is (0.2, 0.2, 0.6), and the pixel A belongs to the third category, that is, the probability of the calcified plaque in the OCT calcification circle is the highest, then the pixel A belongs to the calcified plaque .
  • the training process of the preset segmentation model in the embodiment of the present application is: according to the preset loss function and training set, the initial segmentation model is trained to obtain the segmentation model.
  • the training set includes a plurality of OCT image sequence samples and a mask image sequence sample corresponding to each of the OCT image sequence samples.
  • each OCT image in the above-mentioned plurality of OCT image sequence samples is marked manually (for example, an expert), and the calcification outline, the lumen outline and the background are respectively marked.
  • the marked OCT image can be used to train the preset segmentation model in this application, and can also be used as a real result to optimize the preset segmentation model.
  • the rest of the above OCT image is the background in the image, therefore, the actual What needs to be marked is the outline of the calcification and the outline of the lumen.
  • 0 represents the background in the OCT image
  • 1 represents the lumen in the OCT image
  • 2 represents the calcified plaque in the OCT image.
  • the classification category corresponding to the specific labeled data may be adjusted according to actual needs, and this application does not make any limitation thereto.
  • multiple OCT images in multiple OCT image sequence samples can be expanded by rotating, flipping, adding noise, translation, zooming, or cropping to increase multiple Amount of data in a sample of an OCT image sequence.
  • the increased amount of data is also of great significance to the training of the subsequent preset segmentation model, for example, memory training data can be avoided.
  • Loss L(p t ,g t )+
  • pt represents the prediction result of the t-th frame image model
  • gt represents the real result of the t-th frame image model
  • L(pt,gt) represents the error between the t-th frame image model’s prediction result and the real result
  • L(pt ,pt-1) represents the error between the prediction result of the t-th frame image model and the prediction result of the t-1-th frame image model
  • L(gt,gt-1) represents the difference between the real result of the t-th frame and the t-1-th frame The error between the true results.
  • the loss function is used to constrain the error between each frame image sample in the OCT image sequence and the corresponding frame mask image sequence sample, and is also used to constrain the continuous multi-frame image samples in the OCT image sequence and the corresponding continuous multi-frame mask Error between samples of the membrane image sequence.
  • the execution subject of the above-mentioned preset segmentation model may be the same device as the terminal device running the segmentation model, or may be other computer devices, which is not limited in this application.
  • the size parameters of the calcified plaque in the embodiment of the present application include the thickness, length and angle of the calcified plaque.
  • the size parameters of the calcified plaque can be designed according to different actual needs, which is not limited in this application.
  • the mask image sequence of the OCT image sequence is also used to identify the lumen region in the OCT image sequence.
  • the mask image is converted into a square diagram.
  • the conversion process is: calculate the center coordinates of the lumen area according to the edge coordinate points of the lumen area, and use the center coordinates of the lumen area and the preset scanning frequency Convert the mask image sequence of the OCT image sequence to a square map sequence.
  • FIG. 7 is a converted square diagram corresponding to the mask image in FIG. 5 .
  • the coordinates of the center point of the lumen area are calculated by extracting nearly a hundred coordinate points from the edge of the lumen in the mask image, and taking the average value of the hundreds of coordinate points to calculate the coordinates of the center point of the lumen area.
  • the preset scanning frequency in the embodiment of the present application refers to the scanning frequency of the OCT acquisition device, and the size of the conversion square diagram is determined by the preset scanning frequency.
  • the number of columns of the converted square image is determined by the horizontal resolution of the OCT acquisition device, and the number of rows of the converted square image is determined by the vertical resolution of the OCT acquisition device.
  • the number of columns corresponding to the collected OCT image is 500; when the vertical resolution of the OCT acquisition device is 700, the number of rows corresponding to the collected OCT image is 700,
  • the number of lines is generally 642, because the data after 642 lines carries less effective information, which can be ignored.
  • the converted square diagram may also be adjusted according to different actual requirements, and this application does not make any limitation thereto.
  • the angle, thickness and length of the calcified plaque were calculated according to the transformed square diagram.
  • the thickness of the calcified plaque in the OCT image sequence is determined by multiplying the pixel resolution by the maximum number of pixels whose pixel values are continuously equal to the first preset value in the column direction in the square diagram sequence.
  • the pixel resolution represents the size of a pixel
  • the size of a pixel is related to the device used to collect the OCT image.
  • the first preset value refers to the classification category used to identify the calcified plaque during the labeling process of the OCT original image sequence. Exemplarily, if the number 1 is used to represent the calcified plaque, then the first preset value is 1, and the thickness of the calcified plaque is the maximum number of pixels whose pixel values are continuously 1 in the column direction in the square map sequence multiplied by the pixel resolution Rate.
  • calculate the angle of the calcified area please refer to the following formula:
  • c represents the width of the square diagram sequence
  • r represents the number of columns in the column direction of the square diagram sequence containing pixels whose pixel value is the first preset value
  • a represents the angle of the calcified plaque .
  • r takes the number of columns containing pixels with a pixel value of 1 in the column direction in the square map sequence
  • the angle of the calcified plaque contained in each square image in the square image sequence is calculated, and the maximum angle value of the calcified plaque is the angle of the calcified plaque.
  • the angle of calcified plaque in the first frame of square diagram is 30°
  • the angle of calcified plaque in the second frame of square diagram is 45°
  • the angle of calcified plaque in the third frame of square diagram is The angle of the plaque is 60°
  • the angle of the finally determined calcified plaque is 60°.
  • the length of the calcified plaque in the OCT image sequence is calculated according to formula (3), and the calculation formula for the length of the calcified region is shown in the following formula:
  • p represents the number of frames in which calcified areas appear continuously in the square image sequence
  • m represents the frame spacing between each image.
  • the severity score of the calcified plaque was obtained according to the scoring indicators of the calcified plaque shown in Table 1.
  • the severity score of calcified plaque can be calculated correspondingly. Because the severity of calcified plaque will affect the treatment strategy of Percutaneous Trans-luminal Coronary Intervention (PCI), generally severe calcified plaque will cause malapposition and insufficiency after PCI. Therefore, the severity score is 0-4, and the higher the severity score, the more serious the severity of the calcified plaque. Doctors can take different pretreatment measures to treat the calcified plaque of the lesion according to the score of the severity score. Among them, the pretreatment measures include but are not limited to cutting balloon, calcification rotational atherectomy, shock wave therapy, laser ablation, etc.
  • the embodiment of the present application provides a guided calcified plaque detection and scoring device.
  • the embodiment of the device corresponds to the aforementioned method embodiment.
  • the details in the foregoing method embodiments are described one by one, but it should be clear that the device in this embodiment can correspondingly implement all the content in the foregoing method embodiments.
  • the present application provides a guided calcified plaque detection and scoring device, including:
  • An acquisition unit 801 configured to acquire an OCT image sequence of a target lumen.
  • the processing unit 802 is configured to input the OCT image sequence into a preset segmentation model for processing, and output a mask image sequence of the OCT image sequence, and the mask image sequence of the OCT image sequence is used to identify the OCT image sequence. Areas of calcified plaque in the image sequence.
  • the determination unit 803 calculates a size parameter of the calcified plaque in the OCT image sequence according to the mask image sequence, and determines a severity score of the calcified plaque in the target lumen according to the size parameter.
  • the preset segmentation model includes a multi-scale pyramid convolution pooling module and a U-Net model
  • the multi-scale pyramid convolution pooling module includes multiple first downsampling layers of different scales
  • the U-Net model includes multiple A second down-sampling layer, a plurality of first down-sampling layers of different scales are respectively connected to a plurality of second down-sampling layers in one-to-one correspondence
  • OCT image sequences are respectively input into a plurality of first down-sampling layers and a plurality of second down-sampling layers layer.
  • obtaining an OCT image sequence of the target lumen includes:
  • the OCT original image sequence and the OCT compensated image sequence are superimposed to obtain the OCT image sequence of the target lumen.
  • optical tomography attenuation compensation algorithm is:
  • z represents the imaging depth of the original OCT image sequence
  • Ii,j(z) represents the initial light intensity value of the pixel point (i, j) in the original image sequence
  • Ii,j(z) represents the initial light intensity value of the pixel point (i, j) in the original image sequence
  • Ii,j(z) represents the initial light intensity value of the pixel point (i, j) in the original image sequence
  • Ii,j(z) represents the initial light intensity value of the pixel point (i, j) in the original image sequence
  • is the compensated intensity value while is the compensation factor corresponding to Ii,j(z).
  • the size parameter of the calcified plaque in the OCT image sequence includes the thickness, length and angle of the calcified plaque in the OCT image sequence.
  • the mask image sequence is also used to identify the lumen area in the OCT image sequence, and the size parameters of the calcified plaque in the OCT image sequence are calculated according to the mask image sequence, including:
  • the method also includes:
  • the initial segmentation model is trained to obtain the preset segmentation model
  • the training set includes a plurality of OCT image sequence samples and mask image sequence samples corresponding to each OCT image sequence sample;
  • the loss function is used to constrain the error between each frame image sample in the OCT image sequence and the corresponding frame mask image sequence sample, and is also used to constrain the continuous multi-frame image samples in the OCT image sequence and the corresponding continuous multi-frame mask Error between samples of the membrane image sequence.
  • the segmentation model device provided in this embodiment can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
  • FIG. 9 is a schematic diagram of a terminal device provided in an embodiment of the present application.
  • the terminal device provided in this embodiment includes: a memory 901 and a processor 902, the memory 901 is used to store computer programs; the processor 902 is used to When the computer program is called, the methods described in the above method embodiments are executed, such as steps S101 to S103 shown in FIG. 1 .
  • the processor 902 executes the computer program, it realizes the functions of the modules/units in the above-mentioned device embodiments, for example, the functions of the units 801 to 803 shown in FIG. 8 .
  • the computer program may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 901 and executed by the processor 902 to complete this Application.
  • the one or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal device.
  • FIG. 9 is only an example of a terminal device, and does not constitute a limitation to the terminal device. It may include more or less components than those shown in the figure, or combine certain components, or different components, such as
  • the terminal device may also include an input and output device, a network access device, a bus, and the like.
  • the processor 902 can be a central processing unit (Central Processing Unit, CPU), and can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the storage 901 may be an internal storage unit of the terminal device, for example, a hard disk or a memory of the terminal device.
  • the memory 901 may also be an external storage device of the terminal device, such as a plug-in hard disk equipped on the terminal device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, Flash card (Flash Card), etc.
  • the memory 901 may also include both an internal storage unit of the terminal device and an external storage device.
  • the memory 901 is used to store the computer program and other programs and data required by the terminal device.
  • the memory 901 can also be used to temporarily store data that has been output or will be output.
  • the terminal device provided in this embodiment can execute the foregoing method embodiment, and its implementation principle and technical effect are similar, and details are not repeated here.
  • the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described in the foregoing method embodiment is implemented.
  • the embodiment of the present application further provides a computer program product, which, when the computer program product runs on a terminal device, enables the terminal device to implement the method described in the foregoing method embodiments when executed.
  • An embodiment of the present application further provides a chip system, including a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory, so as to implement the method described in the above method embodiment.
  • the chip system may be a single chip, or a chip module composed of multiple chips.
  • the above integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the procedures in the methods of the above embodiments in the present application can be completed by instructing related hardware through computer programs, and the computer programs can be stored in a computer-readable storage medium.
  • the computer program When executed by a processor, the steps in the above-mentioned various method embodiments can be realized.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form.
  • the computer-readable storage medium may at least include: any entity or device capable of carrying computer program codes to a photographing device/terminal device, a recording medium, a computer memory, a read-only memory (Read-Only Memory, ROM), a random access Memory (Random Access Memory, RAM), electrical carrier signal, telecommunication signal and software distribution medium.
  • a photographing device/terminal device a recording medium
  • a computer memory a read-only memory (Read-Only Memory, ROM), a random access Memory (Random Access Memory, RAM), electrical carrier signal, telecommunication signal and software distribution medium.
  • ROM read-only memory
  • RAM random access Memory
  • electrical carrier signal telecommunication signal and software distribution medium.
  • U disk mobile hard disk
  • magnetic disk or optical disk etc.
  • computer readable media may not be electrical carrier signals and telecommunication signals under legislation and patent practice.
  • the disclosed device/device and method can be implemented in other ways.
  • the device/device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the term “if” may be construed, depending on the context, as “when” or “once” or “in response to determining” or “in response to detecting “.
  • the phrase “if determined” or “if [the described condition or event] is detected” may be construed, depending on the context, to mean “once determined” or “in response to the determination” or “once detected [the described condition or event] ]” or “in response to detection of [described condition or event]”.
  • references to "one embodiment” or “some embodiments” or the like in the specification of the present application means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
  • appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically stated otherwise.
  • the terms “including”, “comprising”, “having” and variations thereof mean “including but not limited to”, unless specifically stated otherwise.

Abstract

A guided detection and scoring method for calcified plaque, and a device and a storage medium, and same are applicable to the technical field of medical imaging. The method comprises: acquiring an OCT image sequence of a target lumen (S101); inputting the OCT image sequence into a preset segmentation model for processing, and outputting and obtaining a mask image sequence of the OCT image sequence, wherein the mask image sequence is used for identifying a calcified plaque area in the OCT image sequence (S102); and calculating a size parameter of calcified plaque in the OCT image sequence according to the mask image sequence, and determining the severity score of the calcified plaque of the target lumen according to the size parameter (S103). By means of the method, the severity score of calcified plaque can be obtained by means of analyzing an image of the calcified plaque that is collected by OCT.

Description

一种引导式钙化斑块的检测评分方法、设备及存储介质Method, device and storage medium for detecting and scoring guided calcified plaque
本申请要求于2021年05月12日在中国专利局提交的、申请号为202110516332.5的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application with application number 202110516332.5 filed at the China Patent Office on May 12, 2021, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请属于医疗影像技术领域,尤其涉及一种引导式钙化斑块的检测评分方法、设备及存储介质。The application belongs to the technical field of medical imaging, and in particular relates to a method, device and storage medium for detecting and scoring guided calcified plaques.
背景技术Background technique
随着社会老龄化及心血管疾病的发病率上升,血管钙化已成为心血管疾病防治的重要问题,严重的血管钙化将明显增加支架手术的难度和风险。如果医生能及时了解到血管管腔内钙化斑块的严重程度,就可以及时采取旋磨,准分子激光冠脉内斑块消蚀术(Excimer Laser Coronary Atherectomy,ELCA)等合理的预处理措施来应对钙化斑块相关的医疗问题,以达到更好的治疗效果。With the aging of society and the rising incidence of cardiovascular diseases, vascular calcification has become an important issue in the prevention and treatment of cardiovascular diseases. Severe vascular calcification will significantly increase the difficulty and risk of stent surgery. If the doctor can know the severity of the calcified plaque in the vascular lumen in time, he can take reasonable pretreatment measures such as rotational atherectomy and excimer laser coronary atherectomy (Excimer Laser Coronary Atherectomy, ELCA). Address medical issues related to calcified plaque for better outcomes.
技术问题technical problem
针对目前由于OCT成像深度低导致无法完整显示深层次较大区域的钙化斑块,从而影响钙化斑块的识别及缺乏专门针对OCT钙化斑块识别的技术问题。Due to the low depth of OCT imaging, the calcified plaques in the deep and large areas cannot be completely displayed, which affects the identification of calcified plaques and the lack of technical problems specifically for the identification of OCT calcified plaques.
技术解决方案technical solution
为解决上述技术问题,本申请实施例采用的技术方案是:In order to solve the above-mentioned technical problems, the technical solution adopted in the embodiment of the present application is:
第一方面,本申请提供一种引导式钙化斑块的检测评分方法,包括:获取目标管腔的OCT图像序列;将所述OCT图像序列输入预设的分割模型中处理,输出得到所述OCT图像序列的掩膜图像序列,所述掩膜图像序列用于标识所述OCT图像序列中的钙化斑块区域;根据掩膜图像序列计算所述OCT图像序列中的钙化斑块的尺寸参数,并根据所述尺寸参数确定所述目标管腔的钙化斑块的严重程度评分。In the first aspect, the present application provides a method for detecting and scoring guided calcified plaques, including: acquiring an OCT image sequence of the target lumen; inputting the OCT image sequence into a preset segmentation model for processing, and outputting the OCT image sequence to obtain the A mask image sequence of the image sequence, the mask image sequence is used to identify the calcified plaque area in the OCT image sequence; calculate the size parameter of the calcified plaque in the OCT image sequence according to the mask image sequence, and A severity score for calcified plaque in the target lumen is determined based on the size parameter.
可选地,所述预设的分割模型包括多尺度金字塔卷积池化模块和U-Net模型,所述多尺度金字塔卷积池化模块包括多个不同尺度的第一下采样层,所述U-Net模型包括多个第二下采样层,所述多个不同尺度的第一下采样层分别与所述多个第二下采样层一一对应连接;所述OCT图像序列分别输入至所述多个第一下采样层和所述多个第二下采样层中。Optionally, the preset segmentation model includes a multi-scale pyramid convolution pooling module and a U-Net model, and the multi-scale pyramid convolution pooling module includes a plurality of first downsampling layers of different scales, the The U-Net model includes a plurality of second downsampling layers, and the plurality of first downsampling layers of different scales are respectively connected to the plurality of second downsampling layers in one-to-one correspondence; the OCT image sequence is respectively input to the among the plurality of first downsampling layers and the plurality of second downsampling layers.
可选地,所述获取目标管腔的OCT图像序列包括:获取目标管腔的OCT原始图像序列;根据光学断层衰减补偿算法对所述OCT原始图像序列进行图像补偿,得到OCT补偿图像序列;将所述OCT原始图像序列和所述OCT补 偿图像序列叠加,得到所述目标管腔的OCT图像序列。Optionally, the acquiring the OCT image sequence of the target lumen includes: acquiring an original OCT image sequence of the target lumen; performing image compensation on the OCT original image sequence according to an optical tomographic attenuation compensation algorithm to obtain an OCT compensated image sequence; The OCT original image sequence and the OCT compensated image sequence are superimposed to obtain an OCT image sequence of the target lumen.
可选地,所述光学断层衰减补偿算法为:Optionally, the optical tomography attenuation compensation algorithm is:
Figure PCTCN2021112607-appb-000001
Figure PCTCN2021112607-appb-000001
其中,z表示所述OCT原始图像序列的成像深度,Ii,j(z)表示所述原始图像序列中像素点(i,j)的初始光强值,
Figure PCTCN2021112607-appb-000002
是补偿后的强度值,而
Figure PCTCN2021112607-appb-000003
是Ii,j(z)对应的补偿因子。
Wherein, z represents the imaging depth of the OCT original image sequence, Ii, j(z) represents the initial light intensity value of the pixel point (i, j) in the original image sequence,
Figure PCTCN2021112607-appb-000002
is the compensated intensity value, while
Figure PCTCN2021112607-appb-000003
is the compensation factor corresponding to Ii,j(z).
可选地,所述OCT图像序列中的钙化斑块的尺寸参数包括所述OCT图像序列中的钙化斑块的厚度、长度和角度。Optionally, the size parameter of the calcified plaque in the OCT image sequence includes the thickness, length and angle of the calcified plaque in the OCT image sequence.
可选地,所述掩膜图像序列还用于标识所述OCT图像序列中的管腔区域,所述根据所述掩膜图像序列计算所述OCT图像序列中的钙化斑块的尺寸参数,包括:Optionally, the mask image sequence is also used to identify the lumen region in the OCT image sequence, and the calculating the size parameter of the calcified plaque in the OCT image sequence according to the mask image sequence includes :
根据所述掩膜图像序列计算所述OCT图像序列中管腔区域的中心坐标,并根据所述中心坐标和预设的扫描频率将所述掩膜图像序列转换为方图序列;Calculate the central coordinates of the lumen region in the OCT image sequence according to the mask image sequence, and convert the mask image sequence into a square image sequence according to the central coordinates and a preset scanning frequency;
根据所述方图序列中在列方向上像素值连续为第一预设值的最大像素点个数乘以像素分辨率确定为所述OCT图像序列中的钙化斑块的厚度;The thickness of the calcified plaque in the OCT image sequence is determined by multiplying the maximum number of pixels whose pixel values are continuously the first preset value in the column direction in the square image sequence multiplied by the pixel resolution;
根据公式a=2π·r/c分别计算所述方图序列包含的多帧方图中钙化斑块的角度,确定所述多帧方图中钙化斑块的角度的最大值为所述OCT图像序列中的钙化斑块的角度;其中,c表示所述方图序列的宽度,r表示所述方图序列中列方向上含有像素值为所述第一预设值的像素点的列数,a表示钙化斑块的角度;Calculate the angles of the calcified plaques in the multi-frame square diagrams included in the square diagram sequence according to the formula a=2πr/c, and determine the maximum value of the angles of the calcified plaques in the multi-frame square diagrams as the OCT image The angle of the calcified plaque in the sequence; wherein, c represents the width of the square diagram sequence, and r represents the number of columns in the column direction of the square diagram sequence containing pixels whose pixel value is the first preset value, a represents the angle of calcified plaque;
根据公式l=p*m计算得到所述OCT图像序列中的钙化斑块的长度,其中,p表示所述方图序列中连续出现钙化区域的帧数,m表示帧间距。The length of the calcified plaque in the OCT image sequence is calculated according to the formula l=p*m, wherein, p represents the number of frames in which the calcified region continuously appears in the square image sequence, and m represents the frame interval.
可选地,所述根据所述尺寸参数确定所述目标管腔的钙化斑块的严重程度评分,包括:所述钙化斑块的角度在第一阈值范围内时,确定所述目标管腔的钙化斑块的第一严重程度评分,所述钙化斑块的角度在第二阈值范围内时,确定所述目标管腔的钙化斑块的第二严重程度评分;所述钙化斑块的厚度在第三阈值范围内时,确定所述目标管腔的钙化斑块的第三严重程度评分;所述钙化斑块的长度在第四阈值范围内时,确定所述目标管腔的钙化斑块的第四严重程度评分;根据所述第一严重程度评分、所述第二严重程度评分、所述第三严重程度评分及所述第四严重程度评分,得到所述目标管腔的钙化斑块的严重程度评分。Optionally, the determining the severity score of the calcified plaque of the target lumen according to the size parameter includes: when the angle of the calcified plaque is within a first threshold range, determining the severity score of the target lumen The first severity score of the calcified plaque, when the angle of the calcified plaque is within the second threshold range, determine the second severity score of the calcified plaque in the target lumen; the thickness of the calcified plaque is within When within the third threshold range, determine the third severity score of the calcified plaque in the target lumen; when the length of the calcified plaque is within the fourth threshold range, determine the score of the calcified plaque in the target lumen The fourth severity score; according to the first severity score, the second severity score, the third severity score and the fourth severity score, the calcified plaque in the target lumen is obtained Severity score.
可选地,所述方法还包括:根据预设的损失函数和训练集,对初始的分割模型进行训练,得到预设的分割模型;其中,所述训练集包括多个OCT图像序列样本和每个所述OCT图像序列样本对应的掩膜图像序列样本;所述损失函数用于约束所述OCT图像序列中每一帧图像样本与对应的每一帧掩膜图像序列样本之间的误差,还用于约束所述OCT图像序列中连续多帧图像样本与 对应的连续多帧掩膜图像序列样本之间的误差。Optionally, the method further includes: training the initial segmentation model according to a preset loss function and a training set to obtain a preset segmentation model; wherein, the training set includes a plurality of OCT image sequence samples and each The mask image sequence samples corresponding to the OCT image sequence samples; the loss function is used to constrain the error between each frame image sample in the OCT image sequence and each corresponding mask image sequence sample, and also It is used to constrain the error between the continuous multi-frame image samples in the OCT image sequence and the corresponding continuous multi-frame mask image sequence samples.
第二方面,本申请提供一种引导式钙化斑块的检测评分装置,包括:In a second aspect, the present application provides a guided calcified plaque detection and scoring device, including:
获取单元,用于获取目标管腔的OCT图像序列;an acquisition unit, configured to acquire an OCT image sequence of the target lumen;
处理单元,用于将所述OCT图像序列输入预设的分割模型中处理,输出得到所述OCT图像序列的掩膜图像序列,所述掩膜图像序列用于标识所述OCT图像序列中的钙化斑块区域;A processing unit, configured to input the OCT image sequence into a preset segmentation model for processing, and output a mask image sequence to obtain the OCT image sequence, and the mask image sequence is used to identify calcification in the OCT image sequence plaque area;
确定单元,根据所述掩膜图像序列计算所述OCT图像序列中的钙化斑块的尺寸参数,并根据所述尺寸参数确定所述目标管腔的钙化斑块的严重程度评分。A determining unit is configured to calculate a size parameter of the calcified plaque in the OCT image sequence according to the mask image sequence, and determine a severity score of the calcified plaque in the target lumen according to the size parameter.
第三方面,本申请提供一种终端设备,包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,处理器执行计算机程序时实现如第一方面或第一方面的任一可选方式所述的方法。In a third aspect, the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, any of the first aspect or the first aspect can be realized. A method described in an optional manner.
第四方面,一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现如第一方面或第一方面的任一可选方式所述的方法。In a fourth aspect, a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect or any optional mode of the first aspect is implemented.
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行如第一方面或第一方面的任一可选方式所述的方法。In a fifth aspect, an embodiment of the present application provides a computer program product, which, when the computer program product is run on a terminal device, enables the terminal device to execute the method described in the first aspect or any optional manner of the first aspect.
有益效果Beneficial effect
通过本申请提供的一种引导式钙化斑块的检测评分方法,首先应用光学断层衰减补偿算法获取与OCT原始图像序列对应的OCT补偿图像序列,能够避免由于OCT原始图像的成像深度低的原因无法完整显示深层次较大区域的钙化斑块,从而获得了完整的深层次的钙化斑块;然后利用多尺度金字塔卷积池化模块和U-Net模型构成的预设的分割模型,使得将钙化尺寸差异较大的OCT图像输入至预设的分割模型中处理后得到特征尺度固定的特征图,避免了直接由U-Net模型处理后产生的特征图中特征尺度的差异较大,小尺度特征信号的衰减;最后通过计算计算OCT图像序列中的钙化斑块的尺寸参数,确定目标管腔的钙化斑块的严重程度评分。因而,通过本申请提供的斑块钙化的检测评分方法可以对OCT采集的钙化斑块的图像进行分析得到钙化斑块的严重程度。Through the detection and scoring method of guided calcified plaques provided by this application, the optical tomographic attenuation compensation algorithm is firstly used to obtain the OCT compensation image sequence corresponding to the OCT original image sequence, which can avoid the failure of the OCT original image due to the low imaging depth. The calcified plaques in the deep and larger areas are completely displayed, so as to obtain the complete deep calcified plaques; then the preset segmentation model composed of the multi-scale pyramid convolution pooling module and the U-Net model is used to make the calcification OCT images with large size differences are input into the preset segmentation model and processed to obtain feature maps with fixed feature scales, which avoids large differences in feature scales and small-scale features in feature maps directly processed by the U-Net model. signal attenuation; finally, the size parameter of the calcified plaque in the OCT image sequence is calculated to determine the severity score of the calcified plaque in the target lumen. Therefore, the image of the calcified plaque collected by OCT can be analyzed to obtain the severity of the calcified plaque through the plaque calcification detection and scoring method provided in the present application.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are only for the present application For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.
图1是本申请一实施例提供的钙化斑块的检测方法的一个实施例的流程示意图;Fig. 1 is a schematic flowchart of an embodiment of a method for detecting calcified plaque provided by an embodiment of the present application;
图2是本申请一实施例提供的一种OCT钙化圆图的示意图;Fig. 2 is a schematic diagram of an OCT calcification circle diagram provided by an embodiment of the present application;
图3是本申请一实施例提供的一种补偿后的OCT的钙化圆图示意图;FIG. 3 is a schematic diagram of a compensated OCT calcification circle diagram provided by an embodiment of the present application;
图4是本申请实施例提供的一种预设的分割模型的网络结构示意图;FIG. 4 is a schematic diagram of a network structure of a preset segmentation model provided by an embodiment of the present application;
图5是本申请一实施例提供的一种经分割模型输出的掩膜图像示意图;Fig. 5 is a schematic diagram of a mask image output by a segmentation model provided by an embodiment of the present application;
图6是本申请一实施例提供的一种OCT钙化方图的识别结果示意图;Fig. 6 is a schematic diagram of the recognition result of an OCT calcification square diagram provided by an embodiment of the present application;
图7是本申请一实施例提供的一种掩膜图像转换为方图的示意图;Fig. 7 is a schematic diagram of converting a mask image into a block diagram provided by an embodiment of the present application;
图8是本申请实施例提供的一种引导式钙化斑块的检测评分装置的示意图;Fig. 8 is a schematic diagram of a guided calcified plaque detection and scoring device provided in the embodiment of the present application;
图9是本申请实施例提供的一种终端设备的示意图。FIG. 9 is a schematic diagram of a terminal device provided by an embodiment of the present application.
本发明的实施方式Embodiments of the present invention
针对目前由于OCT成像深度低导致无法完整显示深层次较大区域的钙化斑块,从而影响钙化斑块的识别及缺乏专门针对OCT钙化斑块识别的技术问题。本申请提供一种引导式钙化斑块的检测评分方法,首先应用光学断层衰减补偿算法获取与OCT钙化圆图对应的OCT补偿钙化圆图即增强钙化圆图;然后通过空间多尺度金字塔池化的方法改进U-Net图像分割模型得到掩膜图像;最后根据掩膜图像计算钙化斑块的尺寸参数,并根据尺寸参数确定钙化斑块的严重程度。因而,可以通过对OCT采集的钙化斑块的图像进行分析得到钙化斑块的严重程度。Due to the low depth of OCT imaging, the calcified plaques in the deep and large areas cannot be completely displayed, which affects the identification of calcified plaques and the lack of technical problems specifically for the identification of OCT calcified plaques. This application provides a method for detecting and scoring guided calcified plaques. First, the optical tomography attenuation compensation algorithm is used to obtain the OCT compensated calcification circle map corresponding to the OCT calcification circle map, that is, the enhanced calcification circle map; and then through the spatial multi-scale pyramid pooling Methods The U-Net image segmentation model was improved to obtain mask images; finally, the size parameters of calcified plaques were calculated according to the mask images, and the severity of calcified plaques was determined according to the size parameters. Therefore, the severity of the calcified plaque can be obtained by analyzing the image of the calcified plaque collected by OCT.
下面以具体地实施例对本申请的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solution of the present application will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
如图1所示为本申请一实施例提供的一种引导式钙化斑块的检测评分方法的流程示意图。该方法的执行主体可以是光学相干断层扫描(optical coherence tomography,OCT)图像采集设备,也可以是与OCT图像采集设备相关联的其他控制设备,例如,个人计算机(PC)等。参见图1,该方法包括:S101,获取目标管腔的OCT图像序列。FIG. 1 is a schematic flowchart of a guided calcified plaque detection and scoring method provided by an embodiment of the present application. The subject of execution of the method may be an optical coherence tomography (optical coherence tomography, OCT) image acquisition device, or other control devices associated with the OCT image acquisition device, such as a personal computer (PC). Referring to Fig. 1, the method includes: S101, acquiring an OCT image sequence of a target lumen.
需要说明的是,目标管腔的OCT图像序列是指由OCT采集设备采集的多张血管管腔内的OCT图像。不难理解的,OCT图像序列可以是直接连续采集的多帧OCT图像;也可以是采集视频中连续多帧的OCT图像。It should be noted that the OCT image sequence of the target lumen refers to multiple OCT images in the lumen of a blood vessel acquired by an OCT acquisition device. It is not difficult to understand that the OCT image sequence may be directly and continuously collected multiple frames of OCT images, or may be continuously collected multiple frames of OCT images in a video.
其中,获取目标管腔的OCT图像序列包括:S1011,获取目标管腔的OCT原始图像序列。Wherein, acquiring the OCT image sequence of the target lumen includes: S1011, acquiring the original OCT image sequence of the target lumen.
在一种可能的实现方式中,OCT原始图像序列的获取可以是从OCT图像采集设备中导出采集的连续多帧OCT图像,然后人工选择出包含有钙化的图像以构成OCT原始图像序列。In a possible implementation manner, the acquisition of the original OCT image sequence may be to export the acquired continuous multi-frame OCT images from the OCT image acquisition device, and then manually select the images containing calcification to form the original OCT image sequence.
将上述OCT原始图像序列中的每张OCT原始图像初始化处理为704*704*3的图像。值得说明的是,初始化是指利用初始化函数将OCT原始图像序列中的OCT图像都转换成尺寸大小均为704*704*3的图像。Initially process each OCT original image in the above OCT original image sequence into an image of 704*704*3. It is worth noting that the initialization refers to using the initialization function to convert all the OCT images in the OCT original image sequence into images with a size of 704*704*3.
S1012,根据光学断层衰减补偿算法对所述OCT原始图像序列进行图像补偿,得到OCT补偿图像序列。S1012. Perform image compensation on the OCT original image sequence according to an optical tomography attenuation compensation algorithm to obtain an OCT compensated image sequence.
获取的OCT原始图像序列中的多张OCT原始图像是利用波长为1300nm左右的红外线的光波作为光源,通过分光器将光源发出的光分为样本光束和参 照光束,采用距离相同的参照光束和样本光束反射波相遇后的产生的光学相干现象经计算机处理成信号后获得组织图像。其中,由于OCT成像深度较低,一般OCT的成像深度为1-3mm,无法完整显示更深层的较大区域的钙化斑块的图像。The multiple OCT original images in the acquired OCT original image sequence use infrared light waves with a wavelength of about 1300nm as the light source, and the light emitted by the light source is divided into a sample beam and a reference beam through a beam splitter, and the reference beam and the sample at the same distance are used The optical coherence phenomenon generated after the meeting of the beam reflected waves is processed by a computer into a signal to obtain a tissue image. Among them, due to the low imaging depth of OCT, generally the imaging depth of OCT is 1-3 mm, which cannot completely display images of calcified plaques in deeper and larger areas.
为了获得完整的更深层的较大区域的钙化斑块的图像,本申请采用光学断层衰减补偿算法(Attenuation-Compensated Optical Coherence Tomography,AC)对OCT原始图像序列进行图像补偿,得到OCT补偿图像序列。In order to obtain complete images of calcified plaques in deeper and larger areas, this application uses the Attenuation-Compensated Optical Coherence Tomography (AC) algorithm to perform image compensation on the original OCT image sequence to obtain the OCT compensated image sequence.
值得说明的是,光学断层衰减补偿算法可以按照如下公式计算:It is worth noting that the optical tomography attenuation compensation algorithm can be calculated according to the following formula:
Figure PCTCN2021112607-appb-000004
Figure PCTCN2021112607-appb-000004
其中,公式(1)中,z表示OCT原始图像序列成像的深度,Ii,j(z)表示OCT原始图像序列中像素点为(i,j)的初始光强值,
Figure PCTCN2021112607-appb-000005
是OCT原始图像序列中像素点为(i,j)补偿后的强度值,而
Figure PCTCN2021112607-appb-000006
是Ii,j(z)对应的补偿因子。
Among them, in the formula (1), z represents the imaging depth of the original OCT image sequence, Ii,j(z) represents the initial light intensity value of the pixel point (i, j) in the original OCT image sequence,
Figure PCTCN2021112607-appb-000005
is the intensity value of the pixel in the OCT original image sequence after compensation for (i, j), and
Figure PCTCN2021112607-appb-000006
is the compensation factor corresponding to Ii,j(z).
不难理解的,OCT原始图像序列包含多张OCT原始图像,将多张OCT原始图像代入公式(1)中计算得到与所述多张OCT原始图像一一对应的多张OCT补偿图像,多张OCT补偿图像构成与上述OCT原始图像序列一一对应的OCT补偿图像序列。It is not difficult to understand that the OCT original image sequence contains multiple OCT original images, and the multiple OCT original images are substituted into the formula (1) to calculate the multiple OCT compensation images corresponding to the multiple OCT original images one-to-one. The OCT compensated images constitute an OCT compensated image sequence that corresponds one-to-one to the above OCT original image sequence.
S1013,将OCT原始图像序列和OCT补偿图像序列叠加,得到目标管腔的OCT图像序列。S1013. Superimpose the OCT original image sequence and the OCT compensation image sequence to obtain an OCT image sequence of the target lumen.
其中,OCT原始图像序列中的一张OCT原始图像如图2所示,对应的OCT补偿图像如图3所示。Wherein, one OCT original image in the OCT original image sequence is shown in FIG. 2 , and the corresponding OCT compensated image is shown in FIG. 3 .
需要说明的是,由于目标管腔的OCT图像序列是OCT原始图像序列叠加OCT补偿图像序列形成的图像,所以OCT原始图像序列中的OCT原始图像的尺寸大小是704*704*3,经光学断层衰减补偿算法处理后得到的OCT补偿图像序列不改变OCT原始图像序列的尺寸大小,即OCT补偿图像序列的尺寸大小也是704*704*3。因此,OCT原始图像序列叠加OCT补偿图像序列形成的OCT图像序列中的OCT图像的尺寸大小是704*704*6。It should be noted that since the OCT image sequence of the target lumen is an image formed by superimposing the OCT original image sequence on the OCT compensation image sequence, the size of the OCT original image in the OCT original image sequence is 704*704*3, and the optical tomography The OCT compensated image sequence processed by the attenuation compensation algorithm does not change the size of the original OCT image sequence, that is, the size of the OCT compensated image sequence is also 704*704*3. Therefore, the size of the OCT images in the OCT image sequence formed by superimposing the OCT original image sequence with the OCT compensation image sequence is 704*704*6.
S102,将所述OCT图像序列输入预设的分割模型中处理,输出得到所述OCT图像序列的掩膜图像序列,所述掩膜图像序列用于标识所述OCT图像序列中的钙化斑块区域。S102, input the OCT image sequence into a preset segmentation model for processing, and output a mask image sequence of the OCT image sequence, the mask image sequence is used to identify the calcified plaque area in the OCT image sequence .
由于OCT图像序列中不同的OCT图像中的管腔和钙化的尺寸差异较大,当直接将尺寸差异较大的OCT图像输入至U-Net模型中进行卷积后得到的特征图中特征尺度的差异也较大,甚至可能出现小尺度的特征信号衰减的情况,使得难以对OCT图像中的管腔及斑块进行特征提取。Since the sizes of lumens and calcifications in different OCT images in the OCT image sequence vary greatly, when the OCT images with large size differences are directly input into the U-Net model for convolution, the feature scale in the feature map obtained is The difference is also large, and even small-scale characteristic signal attenuation may occur, making it difficult to extract features of lumens and plaques in OCT images.
因此,本申请实施例中采用的预设的分割模型结构如图4所示,其中,每个方块表示卷积后的特征图,每个方块下的数字表示特征图的数量,输入图像是指待输入到预设的分割模型中的OCT图像序列,输出图像是指分别用数字 0,1和2分别标识背景、管腔及钙化斑块的掩膜图像序列。Therefore, the preset segmentation model structure used in the embodiment of the present application is shown in Figure 4, wherein each square represents the feature map after convolution, the number under each square represents the number of feature maps, and the input image refers to The OCT image sequence to be input into the preset segmentation model, the output image refers to the mask image sequence with the numbers 0, 1 and 2 respectively marking the background, lumen and calcified plaque.
本申请实施例中预设的分割模型包括U-Net模型和多尺度金字塔卷积池化模块。其中,多尺度金字塔卷积池化模块包括多个不同尺度的第一下采样层,多个不同尺度的第一下采样层的输出分别连接至U-Net模型的多个第二下采样层;OCT图像序列分别输入至多尺度金字塔卷积池化模块和U-Net模型。应该理解的,多个不同尺度的第一下采样层分别与多个第二下采样层一一对应连接;OCT图像序列包含的多帧OCT图像分别一一对应输入至多个不同尺度的第一下采样层中,且将OCT图像序列输入至多个第二下采样层中。The preset segmentation model in the embodiment of this application includes the U-Net model and the multi-scale pyramid convolution pooling module. Among them, the multi-scale pyramid convolution pooling module includes multiple first down-sampling layers of different scales, and the outputs of multiple first down-sampling layers of different scales are respectively connected to multiple second down-sampling layers of the U-Net model; The OCT image sequence is input to the multi-scale pyramid convolution pooling module and the U-Net model respectively. It should be understood that multiple first downsampling layers of different scales are respectively connected to multiple second downsampling layers in one-to-one correspondence; multiple frames of OCT images contained in the OCT image sequence are respectively input to multiple first downsampling layers of different scales in one-to-one correspondence. In the sampling layer, and input the OCT image sequence into a plurality of second down-sampling layers.
这样输入的OCT图像序列经过预设的分割模型处理后,输出得到与上述OCT图像序列对应的掩膜图像序列,与图2、图3对应输出的掩膜图像序列中掩膜图像参见图5。After the OCT image sequence input in this way is processed by the preset segmentation model, the mask image sequence corresponding to the above OCT image sequence is output, and the mask image in the output mask image sequence corresponding to Fig. 2 and Fig. 3 is shown in Fig. 5 .
需要说明的是,经过softmax函数进行归一化处理后,可以得到上述掩膜图像中每个像素点对应的分类得分,且每个像素属于这三类的概率和相加为1,选择其中概率最大的为该像素对应的分类类别。示例性的,用0表示OCT钙化圆图中的背景,用1表示OCT钙化圆图中的管腔,用2表示OCT钙化圆图中的钙化斑块,若其中某一个像素点A对应上述3种分类中,归一化处理后的概率依次为(0.2,0.2,0.6),像素点A属于第三类即OCT钙化圆图中的钙化斑块的概率最大,那么像素点A属于钙化斑块。It should be noted that after normalization by the softmax function, the classification score corresponding to each pixel in the above mask image can be obtained, and the sum of the probabilities of each pixel belonging to these three categories is 1. Select the probability The largest is the classification category corresponding to the pixel. Exemplarily, 0 represents the background in the OCT calcification circle diagram, 1 represents the lumen in the OCT calcification circle diagram, and 2 represents the calcified plaque in the OCT calcification circle diagram. If one of the pixel points A corresponds to the above 3 In the first classification, the probability after normalization processing is (0.2, 0.2, 0.6), and the pixel A belongs to the third category, that is, the probability of the calcified plaque in the OCT calcification circle is the highest, then the pixel A belongs to the calcified plaque .
另外,本申请实施例中的预设的分割模型的训练过程为:根据预设的损失函数和训练集,对初始的分割模型进行训练,得到所述分割模型。In addition, the training process of the preset segmentation model in the embodiment of the present application is: according to the preset loss function and training set, the initial segmentation model is trained to obtain the segmentation model.
其中,训练集包括多个OCT图像序列样本和每个所述OCT图像序列样本对应的掩膜图像序列样本。Wherein, the training set includes a plurality of OCT image sequence samples and a mask image sequence sample corresponding to each of the OCT image sequence samples.
不难理解的,人工(例如,专家)对上述多个OCT图像序列样本中的各个OCT图像进行标注,分别标注出钙化轮廓、管腔轮廓和背景。完成标注后的OCT图像可以用于训练本申请中预设的分割模型,且还可以作为真实结果用于优化预设的分割模型。It is not difficult to understand that each OCT image in the above-mentioned plurality of OCT image sequence samples is marked manually (for example, an expert), and the calcification outline, the lumen outline and the background are respectively marked. The marked OCT image can be used to train the preset segmentation model in this application, and can also be used as a real result to optimize the preset segmentation model.
在实际操作过程中,针对其中的一幅OCT图像而言,当已经标注了钙化轮廓和管腔轮廓后,上述OCT图像剩余的部分(未标注的部分)则是图像中的背景,因此,实际需要标注的是钙化轮廓和管腔轮廓。In the actual operation process, for one of the OCT images, after the calcification contour and lumen contour have been marked, the rest of the above OCT image (unmarked part) is the background in the image, therefore, the actual What needs to be marked is the outline of the calcification and the outline of the lumen.
示例性的,用0表示OCT图像中的背景,用1表示OCT图像中的管腔,用2表示OCT图像中的钙化斑块。具体的标注数据对应的分类类别可以根据实际需要进行调整,本申请对此不作任何限定。Exemplarily, 0 represents the background in the OCT image, 1 represents the lumen in the OCT image, and 2 represents the calcified plaque in the OCT image. The classification category corresponding to the specific labeled data may be adjusted according to actual needs, and this application does not make any limitation thereto.
由于医学图像的获取和标注都是比较困难的,所以可以通过旋转、翻转、加噪、平移、缩放或者裁剪的方法对多个OCT图像序列样本中的多张OCT图像进行扩充,以增加多个OCT图像序列样本中的数据量。增加的数据量对后续预设分割模型的训练也具有非常重要的意义,例如,可以避免记忆训练数据。Since the acquisition and labeling of medical images are difficult, multiple OCT images in multiple OCT image sequence samples can be expanded by rotating, flipping, adding noise, translation, zooming, or cropping to increase multiple Amount of data in a sample of an OCT image sequence. The increased amount of data is also of great significance to the training of the subsequent preset segmentation model, for example, memory training data can be avoided.
为了不断的优化初始的分割模型中的参数,进一步减小模型预测结果与真实结果之间的误差,使本申请实施例中的预测模型预测的结果更加精确,采用如下的损失函数:In order to continuously optimize the parameters in the initial segmentation model, further reduce the error between the model prediction result and the real result, and make the prediction model prediction result in the embodiment of the present application more accurate, the following loss function is used:
Loss=L(p t,g t)+||L(p t,p t-1)-L(g t,g t-1)| Loss=L(p t ,g t )+||L(p t ,p t-1 )-L(g t ,g t-1 )|
其中,pt表示第t帧图像模型的预测结果,gt表示第t帧图像模型的真实结果;L(pt,gt)表示第t帧图像模型的预测结果与真实结果之间的误差;L(pt,pt-1)表示第t帧图像模型的预测结果与第t-1帧图像模型的预测结果之间的误差;L(gt,gt-1)表示第t帧真实结果与第t-1帧真实结果之间的误差。Among them, pt represents the prediction result of the t-th frame image model, gt represents the real result of the t-th frame image model; L(pt,gt) represents the error between the t-th frame image model’s prediction result and the real result; L(pt ,pt-1) represents the error between the prediction result of the t-th frame image model and the prediction result of the t-1-th frame image model; L(gt,gt-1) represents the difference between the real result of the t-th frame and the t-1-th frame The error between the true results.
不难理解的,真实结果是指专家对包含有钙化的OCT图像序列样本进行标注的结果。当模型预测的结果与专家标注的结果误差逐渐减小时,说明该模型预测的结果越准确,如图6所示为优化后的分割模型识别的OCT图像。It is not difficult to understand that the real result refers to the result of experts labeling the OCT image sequence samples containing calcification. When the error between the results predicted by the model and the results marked by experts gradually decreases, it means that the results predicted by the model are more accurate. Figure 6 shows the OCT image recognized by the optimized segmentation model.
损失函数用于约束OCT图像序列中每一帧图像样本与对应的每一帧掩膜图像序列样本之间的误差,还用于约束OCT图像序列中连续多帧图像样本与对应的连续多帧掩膜图像序列样本之间的误差。The loss function is used to constrain the error between each frame image sample in the OCT image sequence and the corresponding frame mask image sequence sample, and is also used to constrain the continuous multi-frame image samples in the OCT image sequence and the corresponding continuous multi-frame mask Error between samples of the membrane image sequence.
值得说明的是,上述预设的分割模型的执行主体可以与运行分割模型的终端设备是同一个设备,可以是其他计算机设备,对此,本申请不作任何限定。It is worth noting that the execution subject of the above-mentioned preset segmentation model may be the same device as the terminal device running the segmentation model, or may be other computer devices, which is not limited in this application.
S103,根据所述掩膜图像序列计算所述OCT图像序列中的钙化斑块的尺寸参数,并根据所述尺寸参数确定所述目标管腔的钙化斑块的严重程度评分。S103. Calculate a size parameter of the calcified plaque in the OCT image sequence according to the mask image sequence, and determine a severity score of the calcified plaque in the target lumen according to the size parameter.
可选地,本申请实施例中钙化斑块的尺寸参数包括钙化斑块的厚度、长度和角度。钙化斑块的尺寸参数可以根据不同的实际需求进行设计,本申请对此不作任何限定。Optionally, the size parameters of the calcified plaque in the embodiment of the present application include the thickness, length and angle of the calcified plaque. The size parameters of the calcified plaque can be designed according to different actual needs, which is not limited in this application.
需要说明的是,OCT图像序列的掩膜图像序列还用于标识OCT图像序列中的管腔区域。为了便于计算,将掩膜图像转换成方图,其转换的过程是:根据上述管腔区域的边缘坐标点计算出管腔区域的中心坐标,利用管腔区域的中心坐标和预设的扫描频率将OCT图像序列的掩膜图像序列转换为方图序列。示例性的,如图7所示为与图5的掩膜图像对应转换后的方图。其管腔区域的中心点坐标通过在掩膜图像中的管腔边缘提取近百个坐标点,并取近百个坐标点的平均值,计算得到管腔区域的中心点坐标。It should be noted that the mask image sequence of the OCT image sequence is also used to identify the lumen region in the OCT image sequence. In order to facilitate the calculation, the mask image is converted into a square diagram. The conversion process is: calculate the center coordinates of the lumen area according to the edge coordinate points of the lumen area, and use the center coordinates of the lumen area and the preset scanning frequency Convert the mask image sequence of the OCT image sequence to a square map sequence. Exemplarily, FIG. 7 is a converted square diagram corresponding to the mask image in FIG. 5 . The coordinates of the center point of the lumen area are calculated by extracting nearly a hundred coordinate points from the edge of the lumen in the mask image, and taking the average value of the hundreds of coordinate points to calculate the coordinates of the center point of the lumen area.
值得说明的是,本申请实施例中预设的扫描频率是指OCT采集设备的扫描频率,转换方图的大小是由预设的扫描频率决定的。其中,转换的方图的列数由OCT采集设备的横向分辨率决定,转换的方图的行数由OCT采集设备的纵向分辨率决定。It is worth noting that the preset scanning frequency in the embodiment of the present application refers to the scanning frequency of the OCT acquisition device, and the size of the conversion square diagram is determined by the preset scanning frequency. Wherein, the number of columns of the converted square image is determined by the horizontal resolution of the OCT acquisition device, and the number of rows of the converted square image is determined by the vertical resolution of the OCT acquisition device.
示例性的,当OCT采集设备的横向分辨率为500时,采集的OCT图像对应的列数就是500;当OCT采集设备的纵向分辨率为700时,采集的OCT图像对应的行数取700,但是本申请实施例中行数一般取642,这是由于642行以后的数据所携带的有效信息较少,可以忽略不计。当然,转换的方图也可以根据不同的实际需求进行调整,本申请对此不作任何限定。Exemplarily, when the horizontal resolution of the OCT acquisition device is 500, the number of columns corresponding to the collected OCT image is 500; when the vertical resolution of the OCT acquisition device is 700, the number of rows corresponding to the collected OCT image is 700, However, in the embodiment of the present application, the number of lines is generally 642, because the data after 642 lines carries less effective information, which can be ignored. Certainly, the converted square diagram may also be adjusted according to different actual requirements, and this application does not make any limitation thereto.
根据转换后的方图分别计算钙化斑块的角度、厚度及长度。The angle, thickness and length of the calcified plaque were calculated according to the transformed square diagram.
可选地,根据方图序列中在列方向上像素值连续为第一预设值的最大像素点个数乘以像素分辨率确定为OCT图像序列中钙化斑块的厚度。Optionally, the thickness of the calcified plaque in the OCT image sequence is determined by multiplying the pixel resolution by the maximum number of pixels whose pixel values are continuously equal to the first preset value in the column direction in the square diagram sequence.
其中,像素分辨率表示一个像素点的尺寸大小,像素点的尺寸大小与采集OCT图像所使用的设备相关。第一预设值是指在OCT原始图像序列的标注过 程中用于标识钙化斑块的分类类别。示例性的,用数字1表示钙化斑块,那么第一预设值为1,钙化斑块的厚度即方图序列中在列方向上像素值连续为1的最大像素点个数乘以像素分辨率。Wherein, the pixel resolution represents the size of a pixel, and the size of a pixel is related to the device used to collect the OCT image. The first preset value refers to the classification category used to identify the calcified plaque during the labeling process of the OCT original image sequence. Exemplarily, if the number 1 is used to represent the calcified plaque, then the first preset value is 1, and the thickness of the calcified plaque is the maximum number of pixels whose pixel values are continuously 1 in the column direction in the square map sequence multiplied by the pixel resolution Rate.
可选地,根据公式(2)分别计算方图序列包含的多帧方图中钙化斑块的角度,确定多帧方图中钙化斑块的角度的最大值为OCT图像序列中的钙化斑块的角度。钙化区域的角度的计算公式参见如下公式:Optionally, calculate the angles of the calcified plaques in the multi-frame square diagrams included in the square diagram sequence respectively according to formula (2), and determine the maximum value of the angles of the calcified plaques in the multi-frame square diagrams as the calcified plaques in the OCT image sequence Angle. For the calculation formula of the angle of the calcified area, please refer to the following formula:
a=2π·r/c           (2)a=2π r/c (2)
公式(2)中,c表示方图序列的宽度,r表示所述方图序列中列方向上含有像素值为所述第一预设值的像素点的列数,a表示钙化斑块的角度。In the formula (2), c represents the width of the square diagram sequence, r represents the number of columns in the column direction of the square diagram sequence containing pixels whose pixel value is the first preset value, and a represents the angle of the calcified plaque .
示例性的,当第一预设值为1时,r取方图序列中列方向上含有像素值为1的像素点的列数,c取方图序列的宽度,带入公式a=2π·r/c中计算方图序列中每张方图包含的钙化斑块的角度,钙化斑块的最大角度值为钙化斑块的角度。又如,当方图序列中包含3帧方图,第一帧方图中钙化斑块的角度为30°,第二帧方图中钙化斑块的角度为45°,第三帧方图中钙化斑块的角度为60°,那么最终确定的钙化斑块的角度为60°。Exemplarily, when the first preset value is 1, r takes the number of columns containing pixels with a pixel value of 1 in the column direction in the square map sequence, and c takes the width of the square map sequence, and puts it into the formula a=2π· In r/c, the angle of the calcified plaque contained in each square image in the square image sequence is calculated, and the maximum angle value of the calcified plaque is the angle of the calcified plaque. As another example, when the square diagram sequence contains 3 frames of square diagrams, the angle of calcified plaque in the first frame of square diagram is 30°, the angle of calcified plaque in the second frame of square diagram is 45°, and the angle of calcified plaque in the third frame of square diagram is The angle of the plaque is 60°, then the angle of the finally determined calcified plaque is 60°.
可选地,根据公式(3)计算得到OCT图像序列中的钙化斑块的长度,钙化区域的长度的计算公式参见如下公式:Optionally, the length of the calcified plaque in the OCT image sequence is calculated according to formula (3), and the calculation formula for the length of the calcified region is shown in the following formula:
l=p*m        (3)l=p*m (3)
公式(3)中,p表示方图序列中连续出现钙化区域的帧数,m表示每张图像间的帧间距。In formula (3), p represents the number of frames in which calcified areas appear continuously in the square image sequence, and m represents the frame spacing between each image.
值得说明的是,对于多张图像中连续区域内出现的钙化区域有重叠的部分则视为同一块钙化区域。对同一钙化区域,取所有图像中的角度值最大的作为该钙化区域的角度值,同理,取所有图像中的厚度值最大的作为该钙化区域的厚度值。It is worth noting that the overlapping parts of calcified areas appearing in continuous areas in multiple images are regarded as the same calcified area. For the same calcified area, take the angle value of the largest angle value in all images as the angle value of the calcified area, and similarly, take the largest thickness value in all images as the thickness value of the calcified area.
计算钙化区域的的角度、厚度及长度值后,根据表1所示的钙化斑块的评分指标得到钙化斑块的严重程度评分。After calculating the angle, thickness and length of the calcified area, the severity score of the calcified plaque was obtained according to the scoring indicators of the calcified plaque shown in Table 1.
根据表1可以对应计算得到钙化斑块的严重程度评分。由于钙化斑块的严重程度会影响经皮冠状动脉介入(Percutaneous Trans-luminal Coronary Intervention,PCI)手术的治疗策略,一般严重的钙化斑块会在PCI手术后产生贴壁不良和膨胀不全等情况。故严重程度评分0~4中,严重程度评分越高说明钙化斑块的严重程度越重。医生可以根据严重程度评分的得分情况采取不同的预处理措施以治疗病变的钙化斑块。其中,预处理措施包括但不仅限于切割球囊、钙化旋磨、冲击波治疗、激光消融等。According to Table 1, the severity score of calcified plaque can be calculated correspondingly. Because the severity of calcified plaque will affect the treatment strategy of Percutaneous Trans-luminal Coronary Intervention (PCI), generally severe calcified plaque will cause malapposition and insufficiency after PCI. Therefore, the severity score is 0-4, and the higher the severity score, the more serious the severity of the calcified plaque. Doctors can take different pretreatment measures to treat the calcified plaque of the lesion according to the score of the severity score. Among them, the pretreatment measures include but are not limited to cutting balloon, calcification rotational atherectomy, shock wave therapy, laser ablation, etc.
根据临床经验,严重程度评分为0~3时,出现支架膨胀不良的概率较低,可以不采取预处理措施;严重程度评分为4时,医生需要采取预处理措施以治疗病变的钙化斑块。According to clinical experience, when the severity score is 0-3, the probability of poor stent expansion is low, and pretreatment measures may not be taken; when the severity score is 4, doctors need to take pretreatment measures to treat the calcified plaque of the lesion.
表1Table 1
Figure PCTCN2021112607-appb-000007
Figure PCTCN2021112607-appb-000007
基于同一发明构思,作为对上述方法的实现,本申请实施例提供了引导式钙化斑块的检测评分装置,该装置实施例与前述方法实施例对应,为便于阅读,本装置实施例不再对前述方法实施例中的细节内容进行逐一赘述,但应当明确,本实施例中的装置能够对应实现前述方法实施例中的全部内容。Based on the same inventive concept, as the implementation of the above method, the embodiment of the present application provides a guided calcified plaque detection and scoring device. The embodiment of the device corresponds to the aforementioned method embodiment. The details in the foregoing method embodiments are described one by one, but it should be clear that the device in this embodiment can correspondingly implement all the content in the foregoing method embodiments.
如图8所示,本申请提供一种引导式钙化斑块的检测评分装置,包括:As shown in Figure 8, the present application provides a guided calcified plaque detection and scoring device, including:
获取单元801,用于获取目标管腔的OCT图像序列。An acquisition unit 801, configured to acquire an OCT image sequence of a target lumen.
处理单元802,用于将所述OCT图像序列输入预设的分割模型中处理,输出得到所述OCT图像序列的掩膜图像序列,所述OCT图像序列的掩膜图像序列用于标识所述OCT图像序列中的钙化斑块区域。The processing unit 802 is configured to input the OCT image sequence into a preset segmentation model for processing, and output a mask image sequence of the OCT image sequence, and the mask image sequence of the OCT image sequence is used to identify the OCT image sequence. Areas of calcified plaque in the image sequence.
确定单元803,根据所述掩膜图像序列计算所述OCT图像序列中的钙化斑块的尺寸参数,并根据所述尺寸参数确定所述目标管腔的钙化斑块的严重程度评分。The determination unit 803 calculates a size parameter of the calcified plaque in the OCT image sequence according to the mask image sequence, and determines a severity score of the calcified plaque in the target lumen according to the size parameter.
可选地,预设的分割模型包括多尺度金字塔卷积池化模块和U-Net模型,多尺度金字塔卷积池化模块包括多个不同尺度的第一下采样层,U-Net模型包括多个第二下采样层,多个不同尺度的第一下采样层分别与多个第二下采样层一一对应连接;OCT图像序列分别输入至多个第一下采样层和多个第二下采样层中。Optionally, the preset segmentation model includes a multi-scale pyramid convolution pooling module and a U-Net model, the multi-scale pyramid convolution pooling module includes multiple first downsampling layers of different scales, and the U-Net model includes multiple A second down-sampling layer, a plurality of first down-sampling layers of different scales are respectively connected to a plurality of second down-sampling layers in one-to-one correspondence; OCT image sequences are respectively input into a plurality of first down-sampling layers and a plurality of second down-sampling layers layer.
可选地,获取目标管腔的OCT图像序列包括:Optionally, obtaining an OCT image sequence of the target lumen includes:
获取目标管腔的OCT原始图像序列;Obtain the original OCT image sequence of the target lumen;
根据光学断层衰减补偿算法对OCT原始图像序列进行图像补偿,得到OCT补偿图像序列;Perform image compensation on the OCT original image sequence according to the optical tomography attenuation compensation algorithm to obtain the OCT compensation image sequence;
将OCT原始图像序列和OCT补偿图像序列叠加,得到目标管腔的OCT图像序列。The OCT original image sequence and the OCT compensated image sequence are superimposed to obtain the OCT image sequence of the target lumen.
可选地,光学断层衰减补偿算法为:Optionally, the optical tomography attenuation compensation algorithm is:
Figure PCTCN2021112607-appb-000008
Figure PCTCN2021112607-appb-000008
其中,z表示OCT原始图像序列的成像深度,Ii,j(z)表示原始图像序列中像素点(i,j)的初始光强值,
Figure PCTCN2021112607-appb-000009
是补偿后的强度值,而
Figure PCTCN2021112607-appb-000010
是Ii,j(z)对应的补偿因子。
Among them, z represents the imaging depth of the original OCT image sequence, Ii,j(z) represents the initial light intensity value of the pixel point (i, j) in the original image sequence,
Figure PCTCN2021112607-appb-000009
is the compensated intensity value, while
Figure PCTCN2021112607-appb-000010
is the compensation factor corresponding to Ii,j(z).
可选地,OCT图像序列中的钙化斑块的尺寸参数包括OCT图像序列中的钙化斑块的厚度、长度和角度。Optionally, the size parameter of the calcified plaque in the OCT image sequence includes the thickness, length and angle of the calcified plaque in the OCT image sequence.
可选地,掩膜图像序列还用于标识OCT图像序列中的管腔区域,根据掩膜图像序列计算OCT图像序列中的钙化斑块的尺寸参数,包括:Optionally, the mask image sequence is also used to identify the lumen area in the OCT image sequence, and the size parameters of the calcified plaque in the OCT image sequence are calculated according to the mask image sequence, including:
根据掩膜图像序列计算OCT图像序列中管腔区域的中心坐标,并根据中心坐标和预设的扫描频率将掩膜图像序列转换为方图序列;Calculate the center coordinates of the lumen region in the OCT image sequence according to the mask image sequence, and convert the mask image sequence into a square image sequence according to the center coordinates and the preset scanning frequency;
根据方图序列中在列方向上像素值连续为第一预设值的最大像素点个数乘以像素分辨率确定OCT图像序列中的钙化斑块的厚度;Determine the thickness of the calcified plaque in the OCT image sequence according to the maximum number of pixels whose pixel values are continuously the first preset value in the square image sequence in the column direction multiplied by the pixel resolution;
根据公式a=2π·r/c分别计算方图序列包含的多帧方图中钙化斑块的角度,确定多帧方图中钙化斑块的角度的最大值为OCT图像序列中的钙化斑块的角度;其中,c表示方图序列的宽度,r表示方图序列中列方向上含有像素值为第一预设值的像素点的列数,a表示钙化斑块的角度;Calculate the angles of calcified plaques in the multi-frame square diagrams contained in the square diagram sequence according to the formula a=2πr/c, and determine the maximum value of the angles of the calcified plaques in the multi-frame square diagrams as the calcified plaques in the OCT image sequence Wherein, c represents the width of the square diagram sequence, r represents the column number of the pixel point containing the pixel value of the first preset value in the column direction of the square diagram sequence, and a represents the angle of the calcified plaque;
根据公式l=p*m计算得到OCT图像序列中的钙化斑块的长度,其中,p表示方图序列中连续出现钙化区域的帧数,m表示帧间距。The length of the calcified plaque in the OCT image sequence is calculated according to the formula l=p*m, where p represents the number of frames in which the calcified region continuously appears in the square image sequence, and m represents the frame interval.
可选地,方法还包括:Optionally, the method also includes:
根据预设的损失函数和训练集,对初始的分割模型进行训练,得到预设的分割模型;According to the preset loss function and training set, the initial segmentation model is trained to obtain the preset segmentation model;
其中,训练集包括多个OCT图像序列样本和每个OCT图像序列样本对应的掩膜图像序列样本;Wherein, the training set includes a plurality of OCT image sequence samples and mask image sequence samples corresponding to each OCT image sequence sample;
损失函数用于约束OCT图像序列中每一帧图像样本与对应的每一帧掩膜图像序列样本之间的误差,还用于约束OCT图像序列中连续多帧图像样本与对应的连续多帧掩膜图像序列样本之间的误差。The loss function is used to constrain the error between each frame image sample in the OCT image sequence and the corresponding frame mask image sequence sample, and is also used to constrain the continuous multi-frame image samples in the OCT image sequence and the corresponding continuous multi-frame mask Error between samples of the membrane image sequence.
本实施例提供的分割模型装置可以执行上述方法实施例,其实现原理与技术效果类似,此处不再赘述。The segmentation model device provided in this embodiment can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模 块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Completion of modules means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of each functional unit and module are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the above system, reference may be made to the corresponding process in the foregoing method embodiments, and details will not be repeated here.
基于同一发明构思,本申请实施例还提供了一种终端设备。图9为本申请实施例提供的终端设备的示意图,如图9所示,本实施例提供的终端设备包括:存储器901和处理器902,存储器901用于存储计算机程序;处理器902用于在调用计算机程序时执行上述方法实施例所述的方法,例如图1所示的步骤S101至步骤S103。或者,所述处理器902执行所述计算机程序时实现上述各装置实施例中各模块/单元的功能,例如图8所示单元801至单元803的功能。Based on the same inventive concept, the embodiment of the present application also provides a terminal device. FIG. 9 is a schematic diagram of a terminal device provided in an embodiment of the present application. As shown in FIG. 9 , the terminal device provided in this embodiment includes: a memory 901 and a processor 902, the memory 901 is used to store computer programs; the processor 902 is used to When the computer program is called, the methods described in the above method embodiments are executed, such as steps S101 to S103 shown in FIG. 1 . Or, when the processor 902 executes the computer program, it realizes the functions of the modules/units in the above-mentioned device embodiments, for example, the functions of the units 801 to 803 shown in FIG. 8 .
示例性的,所述计算机程序可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器901中,并由所述处理器902执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序在所述终端设备中的执行过程。Exemplarily, the computer program may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 901 and executed by the processor 902 to complete this Application. The one or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal device.
本领域技术人员可以理解,图9仅仅是终端设备的示例,并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入输出设备、网络接入设备、总线等。Those skilled in the art can understand that FIG. 9 is only an example of a terminal device, and does not constitute a limitation to the terminal device. It may include more or less components than those shown in the figure, or combine certain components, or different components, such as The terminal device may also include an input and output device, a network access device, a bus, and the like.
所述处理器902可以是中央处理单元(Central Processing Unit,CPU),还可以是其它通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 902 can be a central processing unit (Central Processing Unit, CPU), and can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
所述存储器901可以是所述终端设备的内部存储单元,例如终端设备的硬盘或内存。所述存储器901也可以是所述终端设备的外部存储设备,例如所述终端设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器901还可以既包括所述终端设备的内部存储单元也包括外部存储设备。所述存储器901用于存储所述计算机程序以及所述终端设备所需的其它程序和数据。所述存储器901还可以用于暂时地存储已经输出或者将要输出的数据。The storage 901 may be an internal storage unit of the terminal device, for example, a hard disk or a memory of the terminal device. The memory 901 may also be an external storage device of the terminal device, such as a plug-in hard disk equipped on the terminal device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, Flash card (Flash Card), etc. Further, the memory 901 may also include both an internal storage unit of the terminal device and an external storage device. The memory 901 is used to store the computer program and other programs and data required by the terminal device. The memory 901 can also be used to temporarily store data that has been output or will be output.
本实施例提供的终端设备可以执行上述方法实施例,其实现原理与技术效果类似,此处不再赘述。The terminal device provided in this embodiment can execute the foregoing method embodiment, and its implementation principle and technical effect are similar, and details are not repeated here.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述方法实施例所述的方法。The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described in the foregoing method embodiment is implemented.
本申请实施例还提供一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行时实现上述方法实施例所述的方法。The embodiment of the present application further provides a computer program product, which, when the computer program product runs on a terminal device, enables the terminal device to implement the method described in the foregoing method embodiments when executed.
本申请实施例还提供一种芯片系统,包括处理器,所述处理器与存储器耦合,所述处理器执行存储器中存储的计算机程序,以实现上述方法实施例所述的方法。其中,所述芯片系统可以为单个芯片,或者多个芯片组成的芯片模组。An embodiment of the present application further provides a chip system, including a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory, so as to implement the method described in the above method embodiment. Wherein, the chip system may be a single chip, or a chip module composed of multiple chips.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读存储介质至少可以包括:能够将计算机程序代码携带到拍照装置/终端设备的任何实体或装置、记录介质、计算机存储器、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。If the above integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the procedures in the methods of the above embodiments in the present application can be completed by instructing related hardware through computer programs, and the computer programs can be stored in a computer-readable storage medium. The computer program When executed by a processor, the steps in the above-mentioned various method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable storage medium may at least include: any entity or device capable of carrying computer program codes to a photographing device/terminal device, a recording medium, a computer memory, a read-only memory (Read-Only Memory, ROM), a random access Memory (Random Access Memory, RAM), electrical carrier signal, telecommunication signal and software distribution medium. Such as U disk, mobile hard disk, magnetic disk or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunication signals under legislation and patent practice.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device/device and method can be implemented in other ways. For example, the device/device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or Components may be combined or integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and/or components, but does not exclude one or more other Presence or addition of features, wholes, steps, operations, elements, components and/or collections thereof.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the term "and/or" used in the description of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以 依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and the appended claims, the term "if" may be construed, depending on the context, as "when" or "once" or "in response to determining" or "in response to detecting ". Similarly, the phrase "if determined" or "if [the described condition or event] is detected" may be construed, depending on the context, to mean "once determined" or "in response to the determination" or "once detected [the described condition or event] ]” or “in response to detection of [described condition or event]”.
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, in the description of the specification and appended claims of the present application, the terms "first", "second", "third" and so on are only used to distinguish descriptions, and should not be understood as indicating or implying relative importance.
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。Reference to "one embodiment" or "some embodiments" or the like in the specification of the present application means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "including", "comprising", "having" and variations thereof mean "including but not limited to", unless specifically stated otherwise.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit it; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present application. scope.

Claims (12)

  1. 一种引导式钙化斑块的检测评分方法,其特征在于,包括:A method for detecting and scoring guided calcified plaques, comprising:
    获取目标管腔的OCT图像序列;Obtain an OCT image sequence of the target lumen;
    将所述OCT图像序列输入预设的分割模型中处理,输出得到所述OCT图像序列的掩膜图像序列,所述掩膜图像序列用于标识所述OCT图像序列中的钙化斑块区域;Inputting the OCT image sequence into a preset segmentation model for processing, and outputting a mask image sequence of the OCT image sequence, the mask image sequence is used to identify the calcified plaque area in the OCT image sequence;
    根据所述掩膜图像序列计算所述OCT图像序列中的钙化斑块的尺寸参数,并根据所述尺寸参数确定所述目标管腔的钙化斑块的严重程度评分。calculating a size parameter of the calcified plaque in the OCT image sequence according to the mask image sequence, and determining a severity score of the calcified plaque in the target lumen according to the size parameter.
  2. 如权利要求1所述的方法,其特征在于,所述预设的分割模型包括多尺度金字塔卷积池化模块和U-Net模型,所述多尺度金字塔卷积池化模块包括多个不同尺度的第一下采样层,所述U-Net模型包括多个第二下采样层,所述多个不同尺度的第一下采样层分别与所述多个第二下采样层一一对应连接;所述OCT图像序列分别输入至所述多个第一下采样层和所述多个第二下采样层中。The method according to claim 1, wherein the preset segmentation model includes a multi-scale pyramid convolution pooling module and a U-Net model, and the multi-scale pyramid convolution pooling module includes a plurality of different scales The first down-sampling layer of the U-Net model includes a plurality of second down-sampling layers, and the plurality of first down-sampling layers of different scales are respectively connected in one-to-one correspondence with the plurality of second down-sampling layers; The OCT image sequence is respectively input into the plurality of first downsampling layers and the plurality of second downsampling layers.
  3. 如权利要求1所述的方法,其特征在于,所述获取目标管腔的OCT图像序列包括:The method according to claim 1, wherein said obtaining the OCT image sequence of the target lumen comprises:
    获取目标管腔的OCT原始图像序列;Obtain the original OCT image sequence of the target lumen;
    根据光学断层衰减补偿算法对所述OCT原始图像序列进行图像补偿,得到OCT补偿图像序列;performing image compensation on the OCT original image sequence according to an optical tomography attenuation compensation algorithm to obtain an OCT compensated image sequence;
    将所述OCT原始图像序列和所述OCT补偿图像序列叠加,得到所述目标管腔的OCT图像序列。The OCT original image sequence and the OCT compensated image sequence are superimposed to obtain an OCT image sequence of the target lumen.
  4. 如权利要求3所述的方法,其特征在于,所述光学断层衰减补偿算法为:The method according to claim 3, wherein the optical tomography attenuation compensation algorithm is:
    Figure PCTCN2021112607-appb-100001
    Figure PCTCN2021112607-appb-100001
    其中,z表示所述OCT原始图像序列的成像深度,I i,j(z)表示所述原始图像序列中像素点(i,j)的初始光强值,
    Figure PCTCN2021112607-appb-100002
    是补偿后的强度值,而
    Figure PCTCN2021112607-appb-100003
    是I i,j(z)对应的补偿因子。
    Wherein, z represents the imaging depth of the OCT original image sequence, I i, j (z) represents the initial light intensity value of the pixel point (i, j) in the original image sequence,
    Figure PCTCN2021112607-appb-100002
    is the compensated intensity value, while
    Figure PCTCN2021112607-appb-100003
    is the compensation factor corresponding to I i,j (z).
  5. 如权利要求1所述的方法,其特征在于,所述OCT图像序列中的钙化斑块的尺寸参数包括所述OCT图像序列中的钙化斑块的厚度、长度和角度。The method according to claim 1, wherein the size parameter of the calcified plaque in the OCT image sequence comprises the thickness, length and angle of the calcified plaque in the OCT image sequence.
  6. 如权利要求5所述的方法,其特征在于,所述掩膜图像序列还用于标识所述OCT图像序列中的管腔区域,所述根据所述掩膜图像序列计算所述OCT图像序列中的钙化斑块的尺寸参数,包括:The method according to claim 5, wherein the mask image sequence is also used to identify the lumen region in the OCT image sequence, and the calculation of the OCT image sequence according to the mask image sequence The size parameters of the calcified plaque include:
    根据所述掩膜图像序列计算所述OCT图像序列中管腔区域的中心坐标,并根据所述中心坐标和预设的扫描频率将所述掩膜图像序列转换为方图序列;Calculate the central coordinates of the lumen region in the OCT image sequence according to the mask image sequence, and convert the mask image sequence into a square image sequence according to the central coordinates and a preset scanning frequency;
    根据所述方图序列中在列方向上像素值连续为第一预设值的最大像素点个数乘以像素分辨率确定所述OCT图像序列中的钙化斑块的厚度;Determine the thickness of the calcified plaque in the OCT image sequence according to the maximum number of pixels whose pixel values are continuously the first preset value in the column direction in the square image sequence multiplied by the pixel resolution;
    根据公式a=2π·r/c分别计算所述方图序列包含的多帧方图中钙化斑块的角度,确定所述多帧方图中钙化斑块的角度的最大值为所述OCT图像序列中的钙化斑块的角度;其中,c表示所述方图序列的宽度,r表示所述方图序列中列方向上含有像素值为所述第一预设值的像素点的列数,a表示钙化斑块的角度;Calculate the angles of the calcified plaques in the multi-frame square diagrams included in the square diagram sequence according to the formula a=2πr/c, and determine the maximum value of the angles of the calcified plaques in the multi-frame square diagrams as the OCT image The angle of the calcified plaque in the sequence; wherein, c represents the width of the square diagram sequence, and r represents the number of columns in the column direction of the square diagram sequence containing pixels whose pixel value is the first preset value, a represents the angle of calcified plaque;
    根据公式l=p*m计算得到所述OCT图像序列中的钙化斑块的长度,其中,p表示所述方图序列中连续出现钙化区域的帧数,m表示帧间距。The length of the calcified plaque in the OCT image sequence is calculated according to the formula l=p*m, wherein, p represents the number of frames in which the calcified region continuously appears in the square image sequence, and m represents the frame interval.
  7. 如权利要求5或6所述的方法,其特征在于,所述根据所述尺寸参数确定所述目标管腔的钙化斑块的严重程度评分,包括:The method according to claim 5 or 6, wherein the determining the severity score of the calcified plaque in the target lumen according to the size parameter comprises:
    所述钙化斑块的角度在第一阈值范围内时,确定所述目标管腔的钙化斑块 的第一严重程度评分,所述钙化斑块的角度在第二阈值范围内时,确定所述目标管腔的钙化斑块的第二严重程度评分;When the angle of the calcified plaque is within a first threshold range, determine the first severity score of the calcified plaque in the target lumen, and when the angle of the calcified plaque is within a second threshold range, determine the A second severity score for calcified plaque in the target lumen;
    所述钙化斑块的厚度在第三阈值范围内时,确定所述目标管腔的钙化斑块的第三严重程度评分;When the thickness of the calcified plaque is within a third threshold range, determine a third severity score of the calcified plaque in the target lumen;
    所述钙化斑块的长度在第四阈值范围内时,确定所述目标管腔的钙化斑块的第四严重程度评分;When the length of the calcified plaque is within a fourth threshold range, determine a fourth severity score of the calcified plaque in the target lumen;
    根据所述第一严重程度评分、所述第二严重程度评分、所述第三严重程度评分及所述第四严重程度评分,得到所述目标管腔的钙化斑块的严重程度评分。According to the first severity score, the second severity score, the third severity score and the fourth severity score, the severity score of the calcified plaque in the target lumen is obtained.
  8. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    根据预设的损失函数和训练集,对初始的分割模型进行训练,得到预设的分割模型;According to the preset loss function and training set, the initial segmentation model is trained to obtain the preset segmentation model;
    其中,所述训练集包括多个OCT图像序列样本和每个所述OCT图像序列样本对应的掩膜图像序列样本;Wherein, the training set includes a plurality of OCT image sequence samples and mask image sequence samples corresponding to each of the OCT image sequence samples;
    所述损失函数用于约束所述OCT图像序列中每一帧图像样本与对应的每一帧掩膜图像序列样本之间的误差,还用于约束所述OCT图像序列中连续多帧图像样本与对应的连续多帧掩膜图像序列样本之间的误差。The loss function is used to constrain the error between each frame of image samples in the OCT image sequence and each corresponding frame of mask image sequence samples, and is also used to constrain the relationship between consecutive multiple frames of image samples in the OCT image sequence The error between corresponding consecutive multi-frame mask image sequence samples.
  9. 一种引导式钙化斑块的检测评分装置,其特征在于,包括:A device for detecting and scoring guided calcified plaque, characterized in that it includes:
    获取单元,用于获取目标管腔的OCT图像序列;an acquisition unit, configured to acquire an OCT image sequence of the target lumen;
    处理单元,用于将所述OCT图像序列输入预设的分割模型中处理,输出得到所述OCT图像序列的掩膜图像序列,所述掩膜图像序列用于标识所述OCT图像序列中的钙化斑块区域;A processing unit, configured to input the OCT image sequence into a preset segmentation model for processing, and output a mask image sequence to obtain the OCT image sequence, and the mask image sequence is used to identify calcification in the OCT image sequence plaque area;
    确定单元,根据所述掩膜图像序列计算所述OCT图像序列中的钙化斑块的尺寸参数,并根据所述尺寸参数确定所述目标管腔的钙化斑块的严重程度评 分。A determining unit is configured to calculate a size parameter of the calcified plaque in the OCT image sequence according to the mask image sequence, and determine a severity score of the calcified plaque in the target lumen according to the size parameter.
  10. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至8任一项所述的方法。A terminal device, comprising a memory, a processor, and a computer program stored in the memory and operable on the processor, characterized in that, when the processor executes the computer program, the following claims 1 to 1 are implemented. 8. The method described in any one.
  11. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至8任一项所述的方法。A computer-readable storage medium storing a computer program, wherein the computer program implements the method according to any one of claims 1 to 8 when executed by a processor.
  12. 一种计算机程序产品,其特征在于,当所述计算机程序产品在终端设备上运行时,使得终端设备执行如权利要求1至8任一项所述的方法。A computer program product, characterized in that, when the computer program product is run on a terminal device, the terminal device is made to execute the method according to any one of claims 1 to 8.
PCT/CN2021/112607 2021-05-12 2021-08-13 Guided detection and scoring method for calcified plaque, and device and storage medium WO2022236995A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110516332.5A CN115345811A (en) 2021-05-12 2021-05-12 Guided calcified plaque detection and scoring method, equipment and storage medium
CN202110516332.5 2021-05-12

Publications (1)

Publication Number Publication Date
WO2022236995A1 true WO2022236995A1 (en) 2022-11-17

Family

ID=83946677

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/112607 WO2022236995A1 (en) 2021-05-12 2021-08-13 Guided detection and scoring method for calcified plaque, and device and storage medium

Country Status (2)

Country Link
CN (1) CN115345811A (en)
WO (1) WO2022236995A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107993221A (en) * 2017-11-16 2018-05-04 济南大学 cardiovascular optical coherence tomography OCT image vulnerable plaque automatic identifying method
CN108109149A (en) * 2017-12-14 2018-06-01 河北大学 A kind of coronary artery OCT image automatic division method
CN110222759A (en) * 2019-06-03 2019-09-10 中国医科大学附属第一医院 A kind of Plaque Vulnerability in Coronary Artery automatic recognition system
CN111768403A (en) * 2020-07-09 2020-10-13 成都全景恒升科技有限公司 Calcified plaque detection decision-making system and device based on artificial intelligence algorithm
US20210125337A1 (en) * 2019-10-24 2021-04-29 Case Western Reserve University Plaque segmentation in intravascular optical coherence tomography (oct) images using deep learning

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107993221A (en) * 2017-11-16 2018-05-04 济南大学 cardiovascular optical coherence tomography OCT image vulnerable plaque automatic identifying method
CN108109149A (en) * 2017-12-14 2018-06-01 河北大学 A kind of coronary artery OCT image automatic division method
CN110222759A (en) * 2019-06-03 2019-09-10 中国医科大学附属第一医院 A kind of Plaque Vulnerability in Coronary Artery automatic recognition system
US20210125337A1 (en) * 2019-10-24 2021-04-29 Case Western Reserve University Plaque segmentation in intravascular optical coherence tomography (oct) images using deep learning
CN111768403A (en) * 2020-07-09 2020-10-13 成都全景恒升科技有限公司 Calcified plaque detection decision-making system and device based on artificial intelligence algorithm

Also Published As

Publication number Publication date
CN115345811A (en) 2022-11-15

Similar Documents

Publication Publication Date Title
CN108510482B (en) Cervical cancer detection device based on colposcope images
CN111340789A (en) Method, device, equipment and storage medium for identifying and quantifying eye fundus retinal blood vessels
CN109410221B (en) Cerebral perfusion image segmentation method, device, server and storage medium
CN111667456B (en) Method and device for detecting vascular stenosis in coronary artery X-ray sequence radiography
WO2022142030A1 (en) Method and system for measuring lesion features of hypertensive retinopathy
CN113420826B (en) Liver focus image processing system and image processing method
CN111462049B (en) Automatic lesion area form labeling method in mammary gland ultrasonic radiography video
WO2007105517A1 (en) Image analyzing device
US20120250957A1 (en) Shape based similarity of continuous wave doppler images
WO2022048171A1 (en) Method and apparatus for measuring blood vessel diameter in fundus image
CN109754388B (en) Carotid artery stenosis degree calculation method and device and storage medium
CN116503607B (en) CT image segmentation method and system based on deep learning
Moshavegh et al. Novel automatic detection of pleura and B-lines (comet-tail artifacts) on in vivo lung ultrasound scans
CN109674493B (en) Method, system and equipment for medical ultrasonic automatic tracking of carotid artery blood vessel
WO2020215485A1 (en) Fetal growth parameter measurement method, system, and ultrasound device
CN117333529B (en) Template matching-based vascular ultrasonic intima automatic measurement method and system
WO2020108436A1 (en) Tongue surface image segmentation device and method, and computer storage medium
WO2022236995A1 (en) Guided detection and scoring method for calcified plaque, and device and storage medium
CN110063753B (en) Method and device for measuring head circumference of fetus in ultrasonic image
CN116664592A (en) Image-based arteriovenous blood vessel separation method and device, electronic equipment and medium
KR102242114B1 (en) Oct medical image based artificial intelligence computer aided diagnosis system and its method
CN116205814A (en) Medical endoscope image enhancement method, system and computer equipment
CN113592802B (en) Mitral valve annular displacement automatic detection system based on ultrasonic image
CN112950734B (en) Coronary reconstruction method, device, electronic equipment and storage medium
CN114708283A (en) Image object segmentation method and device, electronic equipment and storage medium

Legal Events

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

Ref document number: 21941562

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE