WO2023130661A1 - Method and apparatus for processing two-dimensional spectral doppler echocardiographic image - Google Patents

Method and apparatus for processing two-dimensional spectral doppler echocardiographic image Download PDF

Info

Publication number
WO2023130661A1
WO2023130661A1 PCT/CN2022/097243 CN2022097243W WO2023130661A1 WO 2023130661 A1 WO2023130661 A1 WO 2023130661A1 CN 2022097243 W CN2022097243 W CN 2022097243W WO 2023130661 A1 WO2023130661 A1 WO 2023130661A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
point
peak
current
sampling
Prior art date
Application number
PCT/CN2022/097243
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 WO2023130661A1 publication Critical patent/WO2023130661A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B8/00Diagnosis using ultrasonic, sonic or infrasonic waves
    • A61B8/48Diagnostic techniques
    • A61B8/488Diagnostic techniques involving Doppler signals
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B8/00Diagnosis using ultrasonic, sonic or infrasonic waves
    • A61B8/06Measuring blood flow
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B8/00Diagnosis using ultrasonic, sonic or infrasonic waves
    • A61B8/52Devices using data or image processing specially adapted for diagnosis using ultrasonic, sonic or infrasonic waves
    • A61B8/5215Devices using data or image processing specially adapted for diagnosis using ultrasonic, sonic or infrasonic waves involving processing of medical diagnostic data
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B8/00Diagnosis using ultrasonic, sonic or infrasonic waves
    • A61B8/52Devices using data or image processing specially adapted for diagnosis using ultrasonic, sonic or infrasonic waves
    • A61B8/5269Devices using data or image processing specially adapted for diagnosis using ultrasonic, sonic or infrasonic waves involving detection or reduction of artifacts

Definitions

  • the invention relates to the technical field of data processing, in particular to a method and device for processing two-dimensional spectrum Doppler echocardiographic images.
  • Spectral Doppler echocardiography can be used to measure parameters related to blood flow velocity, such as peak flow velocity, acceleration time, deceleration time, ejection time, etc.
  • Spectral Doppler echocardiography has longitudinal blood flow With the flow velocity scale and the horizontal time scale scale, the operator can mark the key points on the spectral Doppler echocardiogram to calculate the approximate peak flow velocity, acceleration time, deceleration time, and ejection time parameter values. Calculation of blood flow parameters in this way, on the one hand, relies too much on the experience level of manual key point marking, and its accuracy cannot be guaranteed; The pressure gradient associated with pressure changes in the direction of blood flow and the halving time of the pressure gradient.
  • the object of the present invention is to provide a processing method, device, electronic equipment and computer-readable storage medium for two-dimensional spectral Doppler echocardiographic images, aiming at the defects of the prior art.
  • the cardiac image is clipped for the region of interest, Gaussian blur processing and binarization processing, the spectrum envelope is extracted from the binary image, and the Gaussian kernel weight sliding window is used to perform sliding window weight calculation on the envelope to complete the envelope.
  • the peak point identification on the top calculate the corresponding left and right baseline points based on the amplitude difference and time interval control conditions of the peak point, and obtain the peak flow velocity, acceleration time, deceleration related to each peak point based on each peak point and its corresponding left and right baseline points Time, ejection time, speed-time integral, pressure gradient and pressure gradient halving time, and can be further converted to obtain the average value of various measurement parameters.
  • the first aspect of the embodiment of the present invention provides a method for processing two-dimensional spectral Doppler echocardiographic images, the method comprising:
  • the blood flow parameter set sequence includes multiple blood flow parameter sets;
  • the blood flow parameter set sequence includes multiple blood flow parameter sets;
  • the flow parameter group includes a peak flow velocity parameter, a pressure gradient parameter, an acceleration time parameter, a deceleration time parameter, an ejection time parameter, a pressure difference halving time parameter and a velocity time integration parameter; the blood flow parameter group is related to the first peak value One-to-one correspondence;
  • performing the region-of-interest image extraction process on the first image to generate a corresponding second image specifically includes:
  • the large peak of the spectrum image in the first image is upward, then extract the sub-image from the top of the image to the first zero line in the first image as the first sub-image; if the first image in the first image If the large peak of the spectral image is facing downward, then extract the sub-image from the first zero line to the bottom of the image in the first image, and perform image flip processing on the extracted sub-image to generate the first sub-image; The bottom of the image of the first sub-image is the first zero line;
  • the sum of the pixel values of each row of pixels in the first sub-image is counted to generate a corresponding first row of pixel sums; and the image row corresponding to the first row of pixel sums with the smallest numerical value is recorded as the smallest pixel row; and extracting the sub-image from the minimum pixel row to the bottom of the image in the first sub-image as an image of the region of interest to generate the second image.
  • performing spectrum envelope identification processing on the fourth image to mark the corresponding first envelope specifically includes:
  • Optimum sequence screening is carried out to a plurality of said continuous pixel point sequences of the same row, and the maximum number of pixels is used as the optimal continuous pixel point sequence corresponding to the current row; Boundary pixel points are marked as row boundary points;
  • the pixel points corresponding to each of the row boundary points in the fourth image are recorded as column boundary points;
  • performing peak point identification processing on the first envelope to mark a plurality of first peak points specifically includes:
  • sampling value sequence is ⁇ x 1 , x 2 ... x i ... x n ⁇ , i is the sampling point index, 1 ⁇ i ⁇ n, x i is the sampling value of each sampling point, n is the first envelope Total number of sampling points;
  • a Gaussian kernel weight sliding window set the sliding window width w of the Gaussian kernel weight sliding window; set the sampling value sequence in the Gaussian kernel weight sliding window as ⁇ s 1 ... s j ... s w ⁇ , j is The index of the sampling point in the sliding window, 1 ⁇ j ⁇ w, s j is the sampling value of each sampling point in the sliding window; according to the standard Gaussian function Taking the maximum sampling point index j max corresponding to the maximum sampling value s max in the sliding window as the mean value ⁇ , and taking a quarter of the sliding window width w/4 as the variance ⁇ , construct the weight of each sampling point in the Gaussian kernel weight sliding window
  • the Gaussian kernel coefficient operation function is kj is the Gaussian kernel coefficient of each sampling point in the Gaussian kernel weight sliding window; according to the Gaussian kernel coefficient operation function, the sliding window weight operation function of the Gaussian kernel weight sliding window is constructed as A is the sliding window weight, and k' j is the normalized Gaus
  • the sliding window is sampled with a step size of 1 and the sliding window width w
  • the first sampling value sequence ⁇ x 1 , x 2 ... x i ... x n ⁇ is divided into the second number of sub-sliding window sequences C h ;
  • each sampling value of the current sub-sliding window sequence C h is converted into Sampling value s j , and taking the maximum value as the maximum sampling value s max , and taking the sampling point index of the maximum sampling value s max in the sliding window as the corresponding maximum sampling point index j max ; and sampling in each sliding window
  • the sampling point index of the value s j and the maximum sampling point index j max are substituted into the Gaussian kernel coefficient operation function to obtain a plurality of Gaussian kernel coefficients k j ; and normalize all current Gaussian kernel coefficients k j to obtain A plurality of normalized Gaussian kernel coefficients k' j ; and all current normalized Gaussian kernel coefficients k' j and their corresponding sampling values s j in the sliding window are substituted into the sliding window weight calculation function to obtain the corresponding The sliding window weight
  • the sequence C h is marked as the current sub-sliding window sequence; and the sampling point index corresponding to the maximum sampling value on the current sub-sliding window sequence is marked as the peak point index P; and with the peak point index P, the The current sampling value sequence is divided into left and right parts and is recorded as a left sampling value sequence and a right sampling value sequence; Perform peak point index marking processing on the sampling point index of the maximum sampling value of the sub-sliding window sequence corresponding to the maximum sliding window weight until the sequence length of the new current sampling value sequence is lower than the preset minimum sequence length;
  • the identifying the left and right baseline points for each of the first peak points to mark the corresponding first left baseline point and first right baseline point specifically includes:
  • each of the first peak points is the current peak point
  • a corresponding left envelope interval and a right envelope interval are respectively divided from the current peak point to the left and right;
  • On the left envelope interval start from the current peak point to traverse the left valley point to the left; when traversing, calculate the difference between the amplitude of the current peak point and the minimum value of the left interval to generate The first difference, calculate the difference between the amplitude of the current left valley point and the minimum value of the left interval to generate the second difference, calculate the ratio of the second difference to the first difference to generate the first difference Ratio, if the first ratio is less than the preset error range, then use the current left valley point as the first left baseline point corresponding to the current peak point and stop traversing, if the first ratio If it is greater than or equal to the preset error range, go to the next left valley point and continue traversing;
  • the blood flow parameters are measured and calculated according to the first envelope marked by the completed peak point and the left and right baseline points to generate a corresponding blood flow parameter set sequence, specifically including:
  • each of the first peak points as the current peak point
  • take the current peak point as the current left baseline point.
  • the corresponding first right baseline point is the current right baseline point;
  • V max V s *h
  • the peak flow velocity parameter V max , the pressure gradient parameter ⁇ P, the acceleration time parameter T a , the deceleration time parameter T d , the ejection time parameter T e , and the pressure difference halving time The parameter T ⁇ P/2 and the velocity-time integral parameter form the blood flow parameter set corresponding to the current peak point; and add the blood flow parameter set to the blood flow parameter set sequence.
  • the second aspect of the embodiment of the present invention provides a device for implementing the method described in the first aspect above, including: an acquisition module, an image preprocessing module, an envelope processing module, and a blood flow parameter calculation module;
  • the acquiring module is used to acquire a two-dimensional spectral Doppler echocardiographic image to generate a first image
  • the image preprocessing module is used to perform region-of-interest image extraction processing on the first image to generate a corresponding second image; and perform Gaussian blur image processing on the second image to generate a corresponding third image; and The third image is binarized to generate a corresponding fourth image;
  • the envelope processing module is used to perform spectrum envelope identification processing on the fourth image to mark the corresponding first envelope; and perform peak point identification processing on the first envelope to mark multiple The first peak point; and performing left and right baseline point identification processing on each of the first peak points to mark the corresponding first left baseline point and first right baseline point;
  • the blood flow parameter calculation module is used to perform blood flow parameter calculation and generate a corresponding blood flow parameter set sequence according to the first envelope marked with the peak point and the left and right baseline points;
  • the blood flow parameter set sequence includes multiple a blood flow parameter group;
  • the blood flow parameter group includes a peak flow velocity parameter, a pressure gradient parameter, an acceleration time parameter, a deceleration time parameter, an ejection time parameter, a pressure difference halving time parameter and a velocity time integral parameter;
  • the flow parameter group is in one-to-one correspondence with the first peak point;
  • the blood flow parameter calculation module is also used to calculate the average value of each similar parameter in the blood flow parameter group sequence to obtain the average value of peak flow velocity, average value of pressure gradient, average value of acceleration time, average value of deceleration time, and ejection time.
  • the time average value, the pressure difference halving time average value and the velocity time integral average value, and all the average values form a measurement data set to be returned as the measurement data results of the two-dimensional spectral Doppler echocardiographic image.
  • the third aspect of the embodiment of the present invention provides an electronic device, including: a memory, a processor, and a transceiver;
  • the processor is configured to be coupled with the memory, read and execute instructions in the memory, so as to implement the method steps described in the first aspect above;
  • the transceiver is coupled to the processor, and the processor controls the transceiver to send and receive messages.
  • the fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a computer, the computer executes the above-mentioned first aspect. method directive.
  • Embodiments of the present invention provide a processing method, device, electronic equipment, and computer-readable storage medium for a two-dimensional spectral Doppler echocardiographic image.
  • Clipping, Gaussian blur processing and binarization processing to reduce image noise and improve image recognition accuracy, and then extract the spectral envelope of the binary image to improve data recognition accuracy and increase the recognition ability of continuous data, and then pass
  • Use the Gaussian kernel weight sliding window to perform sliding window weight calculation on the envelope to improve the recognition accuracy of the peak point of the normal signal on the envelope. After the peak point is obtained, the correspondence is calculated by the amplitude difference and time interval relationship with the peak point.
  • each peak point and its corresponding left and right baseline points not only the peak flow velocity, acceleration time, deceleration time, and ejection time related to each peak point can be obtained, but also the blood flow integral that cannot be measured by conventional methods can be obtained. It is the speed-time integral, the pressure gradient and the half-time of the pressure gradient, and at the same time, it can be further converted to obtain the average value of various measurement parameters.
  • the present invention when measuring blood flow parameters based on spectral Doppler echocardiography, not only can the problems of reduced measurement accuracy or unstable measurement quality caused by artificial factors be solved, but also other problems that cannot be measured by traditional manual methods can be measured. data, expanding the parameter measurement range.
  • FIG. 1 is a schematic diagram of a processing method for a two-dimensional spectral Doppler echocardiographic image provided by Embodiment 1 of the present invention
  • Fig. 2a is a schematic diagram of a group of first images and corresponding first sub-images provided by Embodiment 1 of the present invention
  • Fig. 2b is a schematic diagram of another group of first images and corresponding first sub-images provided by Embodiment 1 of the present invention.
  • Fig. 2c is a schematic diagram of a set of third images and fourth images provided by Embodiment 1 of the present invention.
  • Fig. 2d is a schematic diagram of a group of fourth images and the first transposed binary image provided by Embodiment 1 of the present invention.
  • FIG. 3 is a block diagram of a two-dimensional spectral Doppler echocardiographic image processing device provided by Embodiment 2 of the present invention.
  • FIG. 4 is a schematic structural diagram of an electronic device provided by Embodiment 3 of the present invention.
  • a processing method for a two-dimensional spectral Doppler echocardiographic image provided by Embodiment 1 of the present invention is a schematic diagram of a processing method for a two-dimensional spectral Doppler echocardiographic image provided by Embodiment 1 of the present invention , this method mainly includes the following steps:
  • Step 1 acquiring a two-dimensional spectral Doppler echocardiographic image to generate a first image.
  • the two-dimensional spectral Doppler echocardiographic image may specifically be a two-dimensional continuous wave Doppler (continuous wave Doppler, CW) echocardiographic image.
  • Step 2 performing region-of-interest image extraction processing on the first image to generate a corresponding second image
  • step 21 performing blood flow velocity zero line identification processing on the first image to mark the corresponding first zero line;
  • the zero line of blood flow velocity is marked either by a standard scale or by a line of a special color. ways to identify and locate them;
  • performing blood flow velocity zero line identification processing on the first image and marking the corresponding first zero line specifically includes: calculating the average pixel value of each row of pixels in the first image to obtain the corresponding first row Pixel mean value, calculate the difference between the pixel mean value of the first row and the preset zero line pixel value to generate the corresponding first pixel difference value, if the first pixel difference value meets the preset zero line pixel error range, then the first pixel The line corresponding to the difference is taken as the zero line line, and the first zero line is marked on the first image according to the zero line line;
  • Step 22 if the large peak of the spectrum image in the first image faces upward, then extract the sub-image from the top of the image to the first zero line in the first image as the first sub-image; if the large peak of the spectrum image in the first image faces Next, extract the sub-image from the first zero line to the bottom of the image in the first image, and perform image flip processing on the extracted sub-image to generate the first sub-image; the bottom of the image of the first sub-image is the first zero line ;
  • the large peak of the spectrum image is facing upwards and downwards corresponding to the two opposite directions of blood flow; in order to facilitate image processing, the current step processes all the spectral images as the shape of the large peak facing upwards, so in the spectral image the large peak is facing downwards.
  • the large peak is facing upward, there will still be some interference signals with smaller peaks below the zero line of blood flow velocity. If the peak point is downward, there will generally be some interference signals with smaller peaks above the zero line of blood flow velocity, so these interference signal images will also be cut out when the image is cropped in the current step;
  • FIG. 2b Take Fig. 2b as an example of another group of first images and corresponding first sub-images provided by Embodiment 1 of the present invention, where the large peak of the first image faces downward, first from the first zero line to the bottom of the first image performing image clipping, and then flipping the clipped image to obtain the first sub-image;
  • Step 23 counting the sum of the pixel values of each row of pixels in the first sub-image to generate a corresponding first row of pixel sum; and recording the image row corresponding to the first row of pixel sum with the smallest value as the minimum pixel row; and Extracting the sub-image from the minimum pixel row to the bottom of the image in the first sub-image as the image of the region of interest to generate the second image.
  • the current step is to further crop the first sub-image to delete some useless background lines on the top.
  • Step 3 performing Gaussian blur image processing on the second image to generate a corresponding third image.
  • Gaussian blur processing is performed on the image to further eliminate image noise.
  • Step 4 performing binarization processing on the third image to generate a corresponding fourth image.
  • FIG. 2c is a schematic diagram of a group of third images and fourth images provided by Embodiment 1 of the present invention.
  • Step 5 performing spectrum envelope recognition processing on the fourth image to mark the corresponding first envelope
  • step 51 rotating the fourth image 90° to the left to generate a corresponding first transposed binary image
  • the reason why the fourth image is transposed is to use a more convenient row traversal method in the subsequent steps; the fourth image before and after the transposition and the first transposed binary image, as shown in Figure 2d for the present invention
  • a set of fourth images and a schematic diagram of the first transposed binary image provided in Embodiment 1 are shown;
  • Step 52 checking the first transposed binary image line by line, clustering the continuous pixel points in the current line whose pixel values are all preset foreground point pixel values, and generating a corresponding continuous pixel point sequence;
  • Step 53 performing optimal sequence screening on multiple consecutive pixel point sequences in the same row, taking the largest number of pixels as the optimal continuous pixel point sequence corresponding to the current row; Pixels are marked as row boundary points;
  • selecting the optimal continuous pixel point sequence is to eliminate the interference noise on the left in Figure 2d, or to eliminate some isolated noise in the image;
  • Step 54 according to the corresponding relationship between the first transposed binary image and the pixel point coordinate transposition of the fourth image, the pixel points corresponding to each row boundary point in the fourth image are recorded as column boundary points;
  • the column boundary points of the fourth image corresponding to the row boundary points of the first transposed binary image are actually envelope points
  • Step 55 sequentially connect the column boundary points to obtain the first connection line; and smooth the first connection line to obtain the first envelope; and complete the marking process on the first envelope on the fourth image.
  • Step 6 performing peak point identification processing on the first envelope to mark a plurality of first peak points
  • step 61 taking the vertical distance from each sampling point of the first envelope to the zero line at the bottom of the fourth image as the sampling value of the sampling point, and making statistics on the sampling values of each sampling point of the first envelope to generate
  • the first sample value sequence is ⁇ x 1 , x 2 ... x i ... x n ⁇ ;
  • i is the sampling point index, 1 ⁇ i ⁇ n, x i is the sampling value of each sampling point, and n is the total number of sampling points of the first envelope;
  • Step 62 constructing a Gaussian kernel weight sliding window
  • step 621 setting the sliding window width w of the Gaussian kernel weight sliding window
  • the total number of sliding window sampling points in the Gaussian kernel weight sliding window can be set in advance to obtain a preset total number of sampling points, and the preset total number of sampling points can be used as the sliding window width w of the Gaussian kernel weight sliding window;
  • Step 622 set the sampling value sequence in the Gaussian kernel weight sliding window as ⁇ s 1 ...s j ...s w ⁇ ;
  • j is the sampling point index in the sliding window, 1 ⁇ j ⁇ w, s j is the sampling value of each sampling point in the sliding window;
  • the sliding window width w is the total number of sampling points in the sliding window, so 1 ⁇ j ⁇ w;
  • Step 622 according to the standard Gaussian function Taking the maximum sampling point index j max corresponding to the maximum sampling value s max in the sliding window as the mean value ⁇ , and taking a quarter of the sliding window width w/4 as the variance ⁇ , construct a Gaussian kernel weighted Gaussian kernel for each sampling point in the sliding window
  • the coefficient operation function is
  • k j is the Gaussian kernel coefficient of each sampling point in the Gaussian kernel weight sliding window
  • Step 623 according to the operation function of the Gaussian kernel coefficient, construct the sliding window weight operation function of the Gaussian kernel weight sliding window as
  • A is the sliding window weight
  • k' j is the normalized Gaussian kernel coefficient corresponding to each Gaussian kernel coefficient k j in the sliding window
  • Step 63 in the first sample value sequence ⁇ x 1 , x 2 ... x i ... x n ⁇ , start from the first sample value x 1 , take the step size as 1, and take the sliding window width w as the sliding window sampling point number, the first sample value sequence ⁇ x 1 , x 2 ... x i ... x n ⁇ is divided into the second number of sub-sliding window sequences C h ;
  • Step 64 use the Gaussian kernel weight sliding window to perform sliding window weight calculation on each sub-sliding window sequence C h to obtain the corresponding sliding window weight A h ;
  • each sampling value of the current sub-sliding window sequence C h into the corresponding sampling value s j in the sliding window, and using the maximum value as the maximum sampling value s max , and setting the maximum sampling value s max in the sliding window
  • the index of the sampling point within is taken as the corresponding index of the maximum sampling point j max ; and the index of the sampling point of the sampling value s j in each sliding window and the index of the maximum sampling point j max are substituted into the Gaussian kernel coefficient operation function to obtain multiple Gaussian kernels Coefficient k j ; and normalize all current Gaussian kernel coefficients k j to obtain multiple normalized Gaussian kernel coefficients k' j ; and all current normalized Gaussian kernel coefficients k' j and their corresponding
  • the sampling value s j in the sliding window is substituted into the sliding window weight calculation function to obtain the corresponding sliding window weight A h ;
  • Step 65 record the first sampled value sequence ⁇ x 1 , x 2 ... x i ... x n ⁇ as the current sequence; and mark the sub-sliding window sequence C h whose upper sliding window weight A h is the maximum value in the current sequence, as is the current sub-sliding window sequence; and mark the sampling point index corresponding to the maximum sampling value on the current sub-sliding window sequence as the peak point index P; and use the peak point index P to divide the current sampling value sequence into left and right parts and record it as left Sampled value sequence and right sampled value sequence; and take the left and right sampled value sequence as the new current sampled value sequence respectively, and continue the maximum sampling of the sub-sliding window sequence corresponding to the maximum sliding window weight in the new current sampled value sequence
  • the sampling point index of the value is marked with the peak point index until the sequence length of the new current sampling value sequence is lower than the preset minimum sequence length;
  • the first sampling value sequence has 5 sub-sliding window sequences C 1 , C 2 , C 3 , C 4 and C 5 , and the corresponding sliding window sequences of 5 sub-sliding window sequences C 1 , C 2 , C 3 , C 4 and C 5
  • the size relationship of the window weight is: A 1 ⁇ A 2 ⁇ A 3 , A 3 > A 4 >A 5 ; then, the largest sliding window weight in the first sampling value sequence is C 3 , if the sampling value in C 3 The largest is the second sampling point, then the index of the second sampling point in C 3 will be recorded as the peak point index; the first sampling value sequence is divided into two parts by the second sampling point of C 3 and recorded as left, Right sample value sequence; for the left and right sample value sequences, continue to mark the peak point index in the above way until the sequence length of the separated left and right sample value sequences is lower than the minimum sequence length;
  • Step 66 Use the sampling points corresponding to all peak point indexes P on the first envelope as the first peak point.
  • Step 7 carry out left and right baseline point recognition processing to each first peak point and mark corresponding first left baseline point and first right baseline point;
  • step 71 on the first envelope, using each first peak point as the current peak point;
  • Step 72 dividing a corresponding left envelope interval and a right envelope interval from the current peak point to the left and right according to the preset time length threshold;
  • the average value of the peak-to-peak distance of the first envelope can be taken as the duration of the heartbeat cycle, and the average value of the peak-to-peak distance of all adjacent peak points on the first envelope can be taken as the duration of the heartbeat cycle;
  • Step 73 record the minimum envelope amplitude on the left envelope interval and the right envelope interval as the corresponding left interval minimum value and right interval minimum value;
  • the minimum envelope amplitude on the left and right envelope intervals The corresponding point should be a valley point; but in actual situations, the baseline of the envelope often drifts locally and the envelope waveform may also have local maximum and minimum on the rising or falling edge of the waveform due to glitches or interference value, in this case, the point corresponding to the minimum envelope amplitude on the left and right envelope intervals may be a valley point or a rising or falling edge of the left and right envelope interval boundaries
  • the minimum value point; the reason why the minimum value of the left interval and the minimum value of the right interval are extracted here is to use the two as the reference baseline zero point of the left and right envelope intervals to weaken the baseline caused by baseline drift and envelope waveform burrs point extraction error;
  • Step 74 starting from the current peak point and traversing the left valley point to the left on the left envelope interval; when traversing, calculating the difference between the amplitude of the current peak point and the minimum value of the left interval to generate the first amplitude difference, Calculate the difference between the amplitude of the current left valley point and the minimum value of the left interval to generate the second amplitude difference, calculate the ratio of the second amplitude difference to the first amplitude difference to generate the first ratio, if the first ratio is less than the preset error range Then use the current left valley point as the first left baseline point corresponding to the current peak point and stop traversing, if the first ratio is greater than or equal to the preset error range, go to the next left valley point to continue traversing;
  • the preset error range can be set by an optimal value obtained after multiple experiments;
  • Step 75 starting from the current peak point on the right envelope interval, traversing the right valley point to the right; when traversing, calculating the difference between the amplitude of the current peak point and the minimum value of the right interval to generate a third difference, Calculate the difference between the amplitude of the current right valley point and the minimum value of the right interval to generate the fourth difference, calculate the ratio of the fourth difference to the third difference to generate the second ratio, if the second ratio is less than the preset error range Then use the current right valley point as the first right baseline point corresponding to the current peak point and stop traversing, if the second ratio is greater than or equal to the preset error range, go to the next right valley point to continue traversing.
  • the preset error range can be set by an optimal value obtained after multiple experiments.
  • Step 8 according to the completed peak point and the first envelope marked by the left and right baseline points, perform blood flow parameter calculation to generate a corresponding blood flow parameter group sequence;
  • the blood flow parameter group sequence includes a plurality of blood flow parameter groups;
  • the blood flow parameter group includes a peak flow velocity parameter, a pressure gradient parameter, an acceleration time parameter, a deceleration time parameter, an ejection time parameter, a pressure difference halving time parameter and a speed Time integration parameters;
  • the blood flow parameter group corresponds to the first peak point one by one;
  • step 81 on the first envelope, take each first peak point as the current peak point, take the first left baseline point corresponding to the current peak point as the current left baseline point, and take the first left baseline point corresponding to the current peak point
  • the right baseline point is the current right baseline point
  • the original two-dimensional spectral Doppler echocardiographic image will have the scale information of longitudinal unit distance and flow velocity
  • the fourth image is cut from the two-dimensional spectral Doppler echocardiographic image without shrinking.
  • the longitudinal unit distance and flow velocity scale information on the original two-dimensional spectral Doppler echocardiography image that is, the unit peak distance blood flow velocity V s can be used to multiply the distance from each sampling point to the baseline to obtain the corresponding Sampling point flow rate; then if the sampling point is the peak point, the corresponding sampling point flow rate is the peak flow rate;
  • Step 83 calculate and generate the corresponding pressure gradient parameter ⁇ P according to the peak flow velocity parameter V max , where,
  • Step 84 taking the time interval from the current left baseline point to the current peak point as the corresponding acceleration time parameter T a ;
  • the time point corresponding to the current left baseline point can be regarded as the minimum blood flow velocity time point in the current cardiac cycle
  • the time point corresponding to the current peak point can be regarded as the maximum blood flow velocity time point in the current cardiac cycle
  • the acceleration time parameter T a of the current blood flow velocity caused by the heart atrioventricular movement in the current cardiac cycle is naturally determined by the time difference between the maximum blood flow velocity time point and the minimum blood flow velocity time point before acceleration
  • Step 85 taking the time interval from the current peak point to the current right baseline point as the corresponding deceleration time parameter T d ;
  • the time point corresponding to the current peak point can be regarded as the maximum blood flow velocity time point in the current cardiac cycle
  • the time point corresponding to the current right baseline point can be regarded as another minimum blood flow velocity in the current cardiac cycle time point
  • the deceleration time parameter T a of the current blood flow velocity caused by the heart atrioventricular movement in the current cardiac cycle is naturally determined by the time difference of the minimum blood flow velocity time point after deceleration minus the maximum blood flow velocity time point Decide;
  • Step 86 taking the sum of the acceleration time parameter T a and the deceleration time parameter T d as the corresponding ejection time parameter T e ;
  • the ejection time can be regarded as the acceleration time parameter T a of the current blood flow velocity from the minimum value to the maximum value and the deceleration time parameter from the maximum value to the minimum value caused by the atrioventricular movement in a single heartbeat cycle sum of Td ;
  • the half-value sampling point of the pressure difference is actually the sampling point where the pressure gradient is halved relative to the peak point.
  • the ideal value of the first ratio is 0.5, which is difficult to achieve in practical applications, so the embodiment of the present invention defines the ideal value as 0.5
  • a half-value ratio confirmation range that is, a floating error range around 0.5, as long as the first ratio enters this range, the corresponding sampling point can be considered as the half-value sampling point of the pressure difference;
  • Step 88 performing velocity integration calculation on the first envelope segment from the current left baseline point to the current right baseline point to generate corresponding velocity time integration parameters
  • the speed-time integral parameter is often used to evaluate the cardiac function strength of the subject
  • Step 89 the peak flow velocity parameter V max , the pressure gradient parameter ⁇ P, the acceleration time parameter T a , the deceleration time parameter T d , the ejection time parameter T e , the pressure difference halving time parameter T ⁇ P/2 and the speed time Integrate parameters to form a blood flow parameter group corresponding to the current peak point; and add the blood flow parameter group to the blood flow parameter group sequence.
  • Step 9 calculate the average value of each similar parameter in the blood flow parameter group sequence, and obtain the average value of peak flow velocity, average value of pressure gradient, average value of acceleration time, average value of deceleration time, average value of ejection time, and halving time of pressure difference
  • the average value and the velocity-time-integrated average value, and the measurement data set composed of all average values is returned as the measurement data result of the two-dimensional spectral Doppler echocardiography image.
  • FIG. 3 is a block diagram of a two-dimensional spectral Doppler echocardiographic image processing device provided in Embodiment 2 of the present invention.
  • the device may be a terminal device or a server implementing the method of the embodiment of the present invention, or it may be the same as the above-mentioned
  • the device includes: an acquisition module 201 , an image preprocessing module 202 , an envelope processing module 203 and a blood flow parameter calculation module 204 .
  • the acquiring module 201 is configured to acquire a two-dimensional spectral Doppler echocardiographic image to generate a first image.
  • the image preprocessing module 202 is used to perform region-of-interest image extraction processing on the first image to generate a corresponding second image; and perform Gaussian blur image processing on the second image to generate a corresponding third image; and perform binary processing on the third image processing to generate a corresponding fourth image.
  • the envelope processing module 203 is used to perform spectrum envelope identification processing on the fourth image to mark the corresponding first envelope; and perform peak point identification processing on the first envelope to mark a plurality of first peak points; And perform left and right baseline point identification processing on each first peak point to mark the corresponding first left baseline point and first right baseline point.
  • the blood flow parameter calculation module 204 is used to perform blood flow parameter calculation and generate a corresponding blood flow parameter set sequence according to the first envelope marked with the peak point and the left and right baseline points; the blood flow parameter set sequence includes multiple blood flow parameter sets ;
  • the blood flow parameter group includes peak flow velocity parameters, pressure gradient parameters, acceleration time parameters, deceleration time parameters, ejection time parameters, pressure difference halving time parameters and velocity time integration parameters; the blood flow parameter group is the same as the first peak point One to one correspondence.
  • the blood flow parameter calculation module 204 is also used to calculate the average value of each similar parameter in the blood flow parameter group sequence to obtain the average value of peak flow velocity, average pressure gradient, average acceleration time, average deceleration time, and average ejection time , the mean value of the pressure difference halving time and the mean value of the velocity time integration, and the measurement data set composed of all the mean values is returned as the measurement data result of the two-dimensional spectral Doppler echocardiographic image.
  • An apparatus for processing two-dimensional spectral Doppler echocardiographic images provided by an embodiment of the present invention can execute the method steps in the above method embodiments, and its implementation principle and technical effect are similar, and will not be repeated here.
  • each module of the above device is only a division of logical functions, and may be fully or partially integrated into one physical entity or physically separated during actual implementation.
  • these modules can all be implemented in the form of calling software through processing elements; they can also be implemented in the form of hardware; some modules can also be implemented in the form of calling software through processing elements, and some modules can be implemented in the form of hardware.
  • the acquisition module can be a separate processing element, or it can be integrated into a chip of the above-mentioned device.
  • it can also be stored in the memory of the above-mentioned device in the form of program code, and a certain processing element of the above-mentioned device can Call and execute the functions of the modules identified above.
  • each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
  • the above modules may be one or more integrated circuits configured to implement the above method, for example: one or more specific integrated circuits (Application Specific Integrated Circuit, ASIC), or, one or more digital signal processors ( Digital Signal Processor, DSP), or, one or more Field Programmable Gate Arrays (Field Programmable Gate Array, FPGA), etc.
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processors that can call program codes.
  • these modules can be integrated together and implemented in the form of a System-on-a-chip (SOC).
  • SOC System-on-a-chip
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the processes or functions described according to the embodiments of the present invention will be generated in whole or in part.
  • the above-mentioned computers may be general-purpose computers, special-purpose computers, computer networks, or other programmable devices.
  • the above-mentioned computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the above-mentioned computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the above-mentioned usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD)) and the like.
  • FIG. 4 is a schematic structural diagram of an electronic device provided by Embodiment 3 of the present invention.
  • the electronic device may be the aforementioned terminal device or server, or may be a terminal device or server connected to the aforementioned terminal device or server to implement the method of the embodiment of the present invention.
  • the electronic device may include: a processor 301 (such as a CPU), a memory 302 , and a transceiver 303 ;
  • Various instructions may be stored in the memory 302 for completing various processing functions and realizing the methods and processing procedures provided in the above-mentioned embodiments of the present invention.
  • the electronic device involved in this embodiment of the present invention further includes: a power supply 304 , a system bus 305 and a communication port 306 .
  • the system bus 305 is used to realize the communication connection among the components.
  • the above-mentioned communication port 306 is used for connection and communication between the electronic device and other peripheral devices.
  • the system bus mentioned in FIG. 4 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus or the like.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the system bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used to realize the communication between the database access device and other devices (such as client, read-write library and read-only library).
  • the memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory), such as at least one disk memory.
  • processor can be general-purpose processor, comprises central processing unit CPU, network processor (Network Processor, NP) etc.; Can also be digital signal processor DSP, application-specific integrated circuit ASIC, field programmable gate array FPGA or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • CPU central processing unit
  • NP Network Processor
  • DSP digital signal processor
  • ASIC application-specific integrated circuit
  • FPGA field programmable gate array
  • embodiments of the present invention also provide a computer-readable storage medium, and instructions are stored in the storage medium, and when the storage medium is run on a computer, the computer executes the methods and processing procedures provided in the above-mentioned embodiments.
  • the embodiment of the present invention also provides a chip for running instructions, and the chip is used for executing the method and the processing procedure provided in the foregoing embodiments.
  • Embodiments of the present invention provide a processing method, device, electronic equipment, and computer-readable storage medium for a two-dimensional spectral Doppler echocardiographic image.
  • Clipping, Gaussian blur processing and binarization processing to reduce image noise and improve image recognition accuracy, and then extract the spectral envelope of the binary image to improve data recognition accuracy and increase the recognition ability of continuous data, and then pass
  • Use the Gaussian kernel weight sliding window to perform sliding window weight calculation on the envelope to improve the recognition accuracy of the peak point of the normal signal on the envelope. After the peak point is obtained, the correspondence is calculated by the amplitude difference and time interval relationship with the peak point.
  • each peak point and its corresponding left and right baseline points not only the peak flow velocity, acceleration time, deceleration time, and ejection time related to each peak point can be obtained, but also the blood flow integral that cannot be measured by conventional methods can be obtained. It is the speed-time integral, the pressure gradient and the half-time of the pressure gradient, and at the same time, it can be further converted to obtain the average value of various measurement parameters.
  • the present invention when measuring blood flow parameters based on spectral Doppler echocardiography, not only can the problems of reduced measurement accuracy or unstable measurement quality caused by artificial factors be solved, but also other problems that cannot be measured by traditional manual methods can be measured. data, expanding the parameter measurement range.
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically programmable ROM
  • EEPROM electrically erasable programmable ROM
  • registers hard disk, removable disk, CD-ROM, or any other Any other known storage medium.

Abstract

A method and apparatus for processing a two-dimensional spectral Doppler echocardiographic image. The method comprises: acquiring a two-dimensional spectral Doppler echocardiographic image (1); performing region-of-interest image extraction processing to generate a second image (2); performing Gaussian blur image processing to generate a third image (3); performing binarization processing to generate a fourth image (4); performing spectral envelope identification to mark a first envelope (5); performing peak point identification on the first envelope to mark a plurality of first peak points (6); performing left and right baseline point identification on each first peak point to mark a corresponding first left baseline point and a corresponding first right baseline point (7); performing blood flow parameter measurement and calculation to generate a corresponding blood flow parameter sequence (8); and calculating an average value of parameters of the same type in the blood flow parameter sequence (9). Therefore, the problems of reduced measurement accuracy or unstable measurement quality, etc. caused by manual factors can be solved.

Description

一种二维频谱多普勒超声心动图像的处理方法和装置A method and device for processing two-dimensional spectral Doppler echocardiographic images
本申请要求于2022年1月7日提交中国专利局、申请号为202210018428.3、发明名称为“一种二维频谱多普勒超声心动图像的处理方法和装置”的中国专利申请的优先权。This application claims the priority of the Chinese patent application with the application number 202210018428.3 and the title of the invention "a method and device for processing two-dimensional spectral Doppler echocardiographic images" submitted to the Chinese Patent Office on January 7, 2022.
技术领域technical field
本发明涉及数据处理技术领域,特别涉及一种二维频谱多普勒超声心动图像的处理方法和装置。The invention relates to the technical field of data processing, in particular to a method and device for processing two-dimensional spectrum Doppler echocardiographic images.
背景技术Background technique
频谱多普勒超声心动图(Spectral Doppler Echocardiography)可用于测量与血流流速有关的参数诸如峰值流速、加速时间、减速时间、射血时间等,频谱多普勒超声心动图带有纵向的血流流速标尺和横向的时间刻度标尺,操作者在频谱多普勒超声心动图上进行关键点标记即可算得大致的峰值流速、加速时间、减速时间、射血时间参数取值。通过这种方式进行血流参数计算,一方面过分依赖人工关键点标记的经验水平,其准确度无法保证;另一方面,这种手动标记测量方式无法测量连续时间的血流量积分,也无法测量与血流方向压力变化有关的压力阶差以及压力阶差减半时间。Spectral Doppler echocardiography (Spectral Doppler Echocardiography) can be used to measure parameters related to blood flow velocity, such as peak flow velocity, acceleration time, deceleration time, ejection time, etc. Spectral Doppler echocardiography has longitudinal blood flow With the flow velocity scale and the horizontal time scale scale, the operator can mark the key points on the spectral Doppler echocardiogram to calculate the approximate peak flow velocity, acceleration time, deceleration time, and ejection time parameter values. Calculation of blood flow parameters in this way, on the one hand, relies too much on the experience level of manual key point marking, and its accuracy cannot be guaranteed; The pressure gradient associated with pressure changes in the direction of blood flow and the halving time of the pressure gradient.
发明内容Contents of the invention
本发明的目的,就是针对现有技术的缺陷,提供一种二维频谱多普勒超声心动图像的处理方法、装置、电子设备及计算机可读存储介质,对原始的二维频谱多普勒超声心动图像进行感兴趣区域剪裁、高斯模糊处理和二值化处理, 对二值图进行频谱包络线提取,使用高斯核权重滑窗对包络线进行滑窗权值运算来完成对包络线上的峰值点识别,基于与峰值点的幅差和时间间隔控制条件算出对应的左右基线点,基于各个峰值点及其对应的左右基线点得到与各个峰值点相关的峰值流速、加速时间、减速时间、射血时间、速度时间积分、压力阶差及压力阶差减半时间,同时还能进一步转换得到各项测量参数的平均值。通过本发明,在基于频谱多普勒超声心动图进行血流参数测量时,不但可以解决因人工因素导致的测量准确度降低或测量质量不稳定等问题,还可以测量传统人工方式无法测量的其他数据,扩大了参数测量范围。The object of the present invention is to provide a processing method, device, electronic equipment and computer-readable storage medium for two-dimensional spectral Doppler echocardiographic images, aiming at the defects of the prior art. The cardiac image is clipped for the region of interest, Gaussian blur processing and binarization processing, the spectrum envelope is extracted from the binary image, and the Gaussian kernel weight sliding window is used to perform sliding window weight calculation on the envelope to complete the envelope The peak point identification on the top, calculate the corresponding left and right baseline points based on the amplitude difference and time interval control conditions of the peak point, and obtain the peak flow velocity, acceleration time, deceleration related to each peak point based on each peak point and its corresponding left and right baseline points Time, ejection time, speed-time integral, pressure gradient and pressure gradient halving time, and can be further converted to obtain the average value of various measurement parameters. Through the present invention, when measuring blood flow parameters based on spectral Doppler echocardiography, not only can the problems of reduced measurement accuracy or unstable measurement quality caused by artificial factors be solved, but also other problems that cannot be measured by traditional manual methods can be measured. data, expanding the parameter measurement range.
为实现上述目的,本发明实施例第一方面提供了一种二维频谱多普勒超声心动图像的处理方法,所述方法包括:In order to achieve the above purpose, the first aspect of the embodiment of the present invention provides a method for processing two-dimensional spectral Doppler echocardiographic images, the method comprising:
获取二维频谱多普勒超声心动图像生成第一图像;acquiring a two-dimensional spectral Doppler echocardiographic image to generate a first image;
对所述第一图像进行感兴趣区域图像提取处理生成对应的第二图像;performing region-of-interest image extraction processing on the first image to generate a corresponding second image;
对所述第二图像进行高斯模糊图像处理生成对应的第三图像;performing Gaussian blur image processing on the second image to generate a corresponding third image;
对所述第三图像进行二值化处理生成对应的第四图像;performing binarization processing on the third image to generate a corresponding fourth image;
对所述第四图像进行频谱包络线识别处理标记出对应的第一包络线;performing spectrum envelope identification processing on the fourth image to mark the corresponding first envelope;
对所述第一包络线进行峰值点识别处理标记出多个第一峰值点;performing peak point identification processing on the first envelope to mark a plurality of first peak points;
对各个所述第一峰值点进行左右基线点识别处理标记出对应的第一左基线点和第一右基线点;Perform left and right baseline point identification processing on each of the first peak points to mark the corresponding first left baseline point and first right baseline point;
根据完成峰值点和左右基线点标记的所述第一包络线,进行血流参数测算生成对应的血流参数组序列;所述血流参数组序列包括多个血流参数组;所述血流参数组包括峰值流速参数、压力阶差参数、加速时间参数、减速时间参数、射血时间参数、压差减半时间参数和速度时间积分参数;所述血流参数组与所述第一峰值点一一对应;According to the first envelope marked with the peak point and the left and right baseline points, perform blood flow parameter calculation to generate a corresponding blood flow parameter set sequence; the blood flow parameter set sequence includes multiple blood flow parameter sets; the blood flow parameter set sequence includes multiple blood flow parameter sets; The flow parameter group includes a peak flow velocity parameter, a pressure gradient parameter, an acceleration time parameter, a deceleration time parameter, an ejection time parameter, a pressure difference halving time parameter and a velocity time integration parameter; the blood flow parameter group is related to the first peak value One-to-one correspondence;
计算所述血流参数组序列中各个同类参数的平均值,得到峰值流速平均值、压力阶差平均值、加速时间平均值、减速时间平均值、射血时间平均值、压差减半时间平均值和速度时间积分平均值,并由所有平均值组成测量数据 集合作为所述二维频谱多普勒超声心动图像的测量数据结果进行返回。Calculate the average value of each similar parameter in the blood flow parameter group sequence to obtain the average peak flow velocity, average pressure gradient, average acceleration time, average deceleration time, average ejection time, and average pressure difference halving time value and velocity-time-integrated average, and a measurement data set composed of all the average values is returned as the measurement data result of the two-dimensional spectral Doppler echocardiographic image.
优选的,所述对所述第一图像进行感兴趣区域图像提取处理生成对应的第二图像,具体包括:Preferably, performing the region-of-interest image extraction process on the first image to generate a corresponding second image specifically includes:
对所述第一图像进行血流速度零线识别处理标记出对应的第一零线;Perform blood flow velocity zero line identification processing on the first image to mark the corresponding first zero line;
若所述第一图像中的频谱图像大峰值朝上,则提取所述第一图像中从图像顶部到所述第一零线的子图像作为第一子图像;若所述第一图像中的频谱图像大峰值朝下,则提取所述第一图像中从所述第一零线到图像底部的子图像,并对提取出的子图像进行图像翻转处理生成所述第一子图像;所述第一子图像的图像底部均为所述第一零线;If the large peak of the spectrum image in the first image is upward, then extract the sub-image from the top of the image to the first zero line in the first image as the first sub-image; if the first image in the first image If the large peak of the spectral image is facing downward, then extract the sub-image from the first zero line to the bottom of the image in the first image, and perform image flip processing on the extracted sub-image to generate the first sub-image; The bottom of the image of the first sub-image is the first zero line;
对所述第一子图像的每行像素点的像素值总和进行统计,生成对应的第一行像素总和;并将数值最小的所述第一行像素总和对应的图像行记为最小像素行;并将所述第一子图像中从所述最小像素行到图像底部的子图像作为感兴趣区域图像进行提取,生成所述第二图像。The sum of the pixel values of each row of pixels in the first sub-image is counted to generate a corresponding first row of pixel sums; and the image row corresponding to the first row of pixel sums with the smallest numerical value is recorded as the smallest pixel row; and extracting the sub-image from the minimum pixel row to the bottom of the image in the first sub-image as an image of the region of interest to generate the second image.
优选的,所述对所述第四图像进行频谱包络线识别处理标记出对应的第一包络线,具体包括:Preferably, performing spectrum envelope identification processing on the fourth image to mark the corresponding first envelope specifically includes:
将所述第四图像向左旋转90°生成对应的第一转置二值图;Rotate the fourth image to the left by 90° to generate a corresponding first transposed binary image;
对所述第一转置二值图进行逐行检查,将当前行中像素值均为预设的前景点像素值的连续像素点进行聚类,生成对应的连续像素点序列;Carrying out row-by-row inspection on the first transposed binary image, clustering the continuous pixel points whose pixel values in the current row are preset foreground point pixel values, and generating a corresponding sequence of continuous pixel points;
对同一行的多个所述连续像素点序列进行最优序列筛选,将像素点数量最多作为与当前行对应的最优连续像素点序列;并将各个所述最优连续像素点序列中的左边界像素点标记为行边界点;Optimum sequence screening is carried out to a plurality of said continuous pixel point sequences of the same row, and the maximum number of pixels is used as the optimal continuous pixel point sequence corresponding to the current row; Boundary pixel points are marked as row boundary points;
按所述第一转置二值图与所述第四图像的像素点坐标转置对应关系,将所述第四图像中与各个所述行边界点对应的像素点记为列边界点;According to the corresponding relationship between the pixel coordinate transposition of the first transposed binary image and the fourth image, the pixel points corresponding to each of the row boundary points in the fourth image are recorded as column boundary points;
对所述列边界点进行依次连接得到第一连接线;并对所述第一连接线进行光滑处理得到所述第一包络线;并在所述第四图像上完成对所述第一包络线的标记处理。Connecting the column boundary points sequentially to obtain a first connection line; and smoothing the first connection line to obtain the first envelope; and completing the first envelope on the fourth image Marking of threads.
优选的,所述对所述第一包络线进行峰值点识别处理标记出多个第一峰值点,具体包括:Preferably, performing peak point identification processing on the first envelope to mark a plurality of first peak points specifically includes:
以所述第一包络线的各个采样点到第四图像底部零线的垂直距离为采样点的采样值,对所述第一包络线的各个采样点的采样值进行统计,生成第一采样值序列为{x 1,x 2…x i…x n},i为采样点索引,1≤i≤n,x i为各个采样点的采样值,n为所述第一包络线的采样点总数; Taking the vertical distance from each sampling point of the first envelope to the zero line at the bottom of the fourth image as the sampling value of the sampling point, performing statistics on the sampling values of each sampling point of the first envelope to generate the first The sampling value sequence is {x 1 , x 2 ... x i ... x n }, i is the sampling point index, 1≤i≤n, x i is the sampling value of each sampling point, n is the first envelope Total number of sampling points;
构建高斯核权重滑窗;设定所述高斯核权重滑窗的滑窗宽度w;设定所述高斯核权重滑窗内的采样值序列为{s 1…s j…s w},j为滑窗内采样点索引,1≤j≤w,s j为滑窗内各个采样点的采样值;根据标准高斯函数
Figure PCTCN2022097243-appb-000001
以滑窗内的最大采样值s max对应的最大采样点索引j max为均值μ,以四分之一滑窗宽度w/4为方差σ,构建所述高斯核权重滑窗内各个采样点的高斯核系数运算函数为
Figure PCTCN2022097243-appb-000002
k j为所述高斯核权重滑窗内各个采样点的高斯核系数;根据所述高斯核系数运算函数,构建所述高斯核权重滑窗的滑窗权值运算函数为
Figure PCTCN2022097243-appb-000003
A为滑窗权值,k’ j为与滑窗内各个所述高斯核系数k j对应的归一化高斯核系数;
Construct a Gaussian kernel weight sliding window; set the sliding window width w of the Gaussian kernel weight sliding window; set the sampling value sequence in the Gaussian kernel weight sliding window as {s 1 ... s j ... s w }, j is The index of the sampling point in the sliding window, 1≤j≤w, s j is the sampling value of each sampling point in the sliding window; according to the standard Gaussian function
Figure PCTCN2022097243-appb-000001
Taking the maximum sampling point index j max corresponding to the maximum sampling value s max in the sliding window as the mean value μ, and taking a quarter of the sliding window width w/4 as the variance σ, construct the weight of each sampling point in the Gaussian kernel weight sliding window The Gaussian kernel coefficient operation function is
Figure PCTCN2022097243-appb-000002
kj is the Gaussian kernel coefficient of each sampling point in the Gaussian kernel weight sliding window; according to the Gaussian kernel coefficient operation function, the sliding window weight operation function of the Gaussian kernel weight sliding window is constructed as
Figure PCTCN2022097243-appb-000003
A is the sliding window weight, and k' j is the normalized Gaussian kernel coefficient corresponding to each described Gaussian kernel coefficient k j in the sliding window;
在所述第一采样值序列{x 1,x 2…x i…x n}中,从第一个采样值x 1开始,以步长为1、以所述滑窗宽度w为滑窗采样点数量,将所述第一采样值序列{x 1,x 2…x i…x n}切分成第二数量的子滑窗序列C h;所述子滑窗序列C h为{x i=h,x i=h +1…x i=h+w-1},h为子滑窗索引,1≤h≤第二数量,第二数量=n-w+1; In the first sample value sequence {x 1 , x 2 ... x i ... x n }, starting from the first sample value x 1 , the sliding window is sampled with a step size of 1 and the sliding window width w The number of points, the first sampling value sequence {x 1 , x 2 ... x i ... x n } is divided into the second number of sub-sliding window sequences C h ; the sub-sliding window sequence C h is {xi = h , x i=h +1 ... x i=h+w-1 }, h is the sub-sliding window index, 1≤h≤the second number, the second number=n-w+1;
使用所述高斯核权重滑窗对各个所述子滑窗序列C h进行滑窗权值运算;运算过程中,将所述当前子滑窗序列C h的各个采样值转换为对应的滑窗内采样值s j,并将其中的最大值作为最大采样值s max,并将最大采样值s max在滑窗内的采样点索引作为对应的最大采样点索引j max;并将各个滑窗内采样值s j的采样点索引及最大采样点索引j max,代入所述高斯核系数运算函数进行运算得到多个高斯核系数k j;并对当前的所有高斯核系数k j进行归一化处理得到多 个归一化高斯核系数k’ j;并将当前的所有归一化高斯核系数k’ j及其对应的滑窗内采样值s j代入所述滑窗权值运算函数进行运算得到对应的滑窗权值A hUse the Gaussian kernel weight sliding window to perform a sliding window weight calculation on each of the sub-sliding window sequences C h ; during the operation, each sampling value of the current sub-sliding window sequence C h is converted into Sampling value s j , and taking the maximum value as the maximum sampling value s max , and taking the sampling point index of the maximum sampling value s max in the sliding window as the corresponding maximum sampling point index j max ; and sampling in each sliding window The sampling point index of the value s j and the maximum sampling point index j max are substituted into the Gaussian kernel coefficient operation function to obtain a plurality of Gaussian kernel coefficients k j ; and normalize all current Gaussian kernel coefficients k j to obtain A plurality of normalized Gaussian kernel coefficients k'j; and all current normalized Gaussian kernel coefficients k' j and their corresponding sampling values s j in the sliding window are substituted into the sliding window weight calculation function to obtain the corresponding The sliding window weight A h of ;
将所述第一采样值序列{x 1,x 2…x i…x n}记为当前序列;并将所述当前序列上所述滑窗权值A h为最大值的所述子滑窗序列C h,标记为当前子滑窗序列;并将所述当前子滑窗序列上最大采样值对应的采样点索引,标记为峰值点索引P;并以所述峰值点索引P,将所述当前采样值序列分为左右部分记为左采样值序列和右采样值序列;并分别以所述左、右采样值序列为新的当前采样值序列,继续在所述新的当前采样值序列中对最大滑窗权值对应的子滑窗序列的最大采样值的采样点索引进行峰值点索引标记处理,直到所述新的当前采样值序列的序列长度低于预设的最小序列长度为止; Record the first sequence of sampled values {x 1 , x 2 ... x i ... x n } as the current sequence; The sequence C h is marked as the current sub-sliding window sequence; and the sampling point index corresponding to the maximum sampling value on the current sub-sliding window sequence is marked as the peak point index P; and with the peak point index P, the The current sampling value sequence is divided into left and right parts and is recorded as a left sampling value sequence and a right sampling value sequence; Perform peak point index marking processing on the sampling point index of the maximum sampling value of the sub-sliding window sequence corresponding to the maximum sliding window weight until the sequence length of the new current sampling value sequence is lower than the preset minimum sequence length;
将所述第一包络线上,与所有所述峰值点索引P对应的采样点作为所述第一峰值点。Taking the sampling points corresponding to all the peak point indexes P on the first envelope as the first peak point.
优选的,所述对各个所述第一峰值点进行左右基线点识别处理标记出对应的第一左基线点和第一右基线点,具体包括:Preferably, the identifying the left and right baseline points for each of the first peak points to mark the corresponding first left baseline point and first right baseline point specifically includes:
在所述第一包络线上,以各个所述第一峰值点为当前峰值点;On the first envelope, each of the first peak points is the current peak point;
按预设的时间长度阈值,从所述当前峰值点向左和向右分别划分出一个对应的左包络线区间和右包络线区间;According to the preset time length threshold, a corresponding left envelope interval and a right envelope interval are respectively divided from the current peak point to the left and right;
将所述左包络线区间和右包络线区间上的最小包络线幅值记为对应的左区间最小值和右区间最小值;Record the minimum envelope amplitude on the left envelope interval and the right envelope interval as the corresponding left interval minimum and right interval minimum;
在所述左包络线区间上,从所述当前峰值点出发向左进行左侧谷值点遍历;遍历时,计算所述当前峰值点的幅值与所述左区间最小值的差值生成第一幅差,计算当前左侧谷值点的幅值与所述左区间最小值的差值生成第二幅差,计算所述第二幅差与所述第一幅差的比值生成第一比值,若所述第一比值小于预设误差范围则将所述当前左侧谷值点作为与所述当前峰值点对应的所述第一左基线点并停止继续遍历,若所述第一比值大于或等于预设误差范围则转至下一个左侧谷值点继续遍历;On the left envelope interval, start from the current peak point to traverse the left valley point to the left; when traversing, calculate the difference between the amplitude of the current peak point and the minimum value of the left interval to generate The first difference, calculate the difference between the amplitude of the current left valley point and the minimum value of the left interval to generate the second difference, calculate the ratio of the second difference to the first difference to generate the first difference Ratio, if the first ratio is less than the preset error range, then use the current left valley point as the first left baseline point corresponding to the current peak point and stop traversing, if the first ratio If it is greater than or equal to the preset error range, go to the next left valley point and continue traversing;
在所述右包络线区间上,从所述当前峰值点出发向右进行右侧谷值点遍历;遍历时,计算所述当前峰值点的幅值与所述右区间最小值的差值生成第三幅差,计算当前右侧谷值点的幅值与所述右区间最小值的差值生成第四幅差,计算所述第四幅差与所述第三幅差的比值生成第二比值,若所述第二比值小于预设误差范围则将所述当前右侧谷值点作为与所述当前峰值点对应的所述第一右基线点并停止继续遍历,若所述第二比值大于或等于预设误差范围则转至下一个右侧谷值点继续遍历。On the right envelope line interval, start from the current peak point to the right to traverse the right valley point; when traversing, calculate the difference between the amplitude of the current peak point and the minimum value of the right interval to generate The third difference is to calculate the difference between the amplitude of the current right valley point and the minimum value of the right interval to generate the fourth difference, and calculate the ratio of the fourth difference to the third difference to generate the second difference. Ratio, if the second ratio is less than the preset error range, then use the current right valley point as the first right baseline point corresponding to the current peak point and stop traversing, if the second ratio If it is greater than or equal to the preset error range, go to the next valley point on the right to continue traversing.
优选的,所述根据完成峰值点和左右基线点标记的所述第一包络线,进行血流参数测算生成对应的血流参数组序列,具体包括:Preferably, the blood flow parameters are measured and calculated according to the first envelope marked by the completed peak point and the left and right baseline points to generate a corresponding blood flow parameter set sequence, specifically including:
在所述第一包络线上,以各个所述第一峰值点为当前峰值点,以所述当前峰值点对应的所述第一左基线点为当前左基线点,以所述当前峰值点对应的所述第一右基线点为当前右基线点;On the first envelope, take each of the first peak points as the current peak point, take the first left baseline point corresponding to the current peak point as the current left baseline point, and take the current peak point as the current left baseline point. The corresponding first right baseline point is the current right baseline point;
以所述当前峰值点到第四图像底部零线的垂直距离作为对应峰值距离h,根据预设的单位峰值距离血流速度V s和所述峰值距离h计算得到对应的所述峰值流速参数V max,V max=V s*h; Taking the vertical distance from the current peak point to the bottom zero line of the fourth image as the corresponding peak distance h, and calculating the corresponding peak flow velocity parameter V according to the preset unit peak distance blood flow velocity V s and the peak distance h max , V max =V s *h;
根据所述峰值流速参数V max,计算生成对应的所述压力阶差参数△P,其中,
Figure PCTCN2022097243-appb-000004
Calculate and generate the corresponding pressure gradient parameter ΔP according to the peak flow velocity parameter V max , wherein,
Figure PCTCN2022097243-appb-000004
将所述当前左基线点到所述当前峰值点的时间间隔作为对应的所述加速时间参数T aTaking the time interval from the current left baseline point to the current peak point as the corresponding acceleration time parameter T a ;
将所述当前峰值点到所述当前右基线点的时间间隔作为对应的所述减速时间参数T dTaking the time interval from the current peak point to the current right baseline point as the corresponding deceleration time parameter T d ;
将所述加速时间参数T a和所述减速时间参数T d的总和作为对应的所述射血时间参数T eTaking the sum of the acceleration time parameter T a and the deceleration time parameter T d as the corresponding ejection time parameter T e ;
将所述第一包络线上从所述当前峰值点到所述当前右基线点的包络线片段记为当前片段;并在所述当前片段上,从所述当前峰值点起向右进行采样点遍历;遍历时,将当前采样点到第四图像底部零线的垂直距离作为对应的采样 点距离h sam,并根据所述采样点距离h sam和所述单位峰值距离血流速度V s计算生成对应的采样点流速V sam=V s*h sam,并根据所述采样点流速V sam计算生成对应的采样点压力阶差
Figure PCTCN2022097243-appb-000005
并计算所述采样点压力阶差△P sam与所述压力阶差参数△P的比值生成第一比值,若所述第一比值进入预设的半值比例确认范围则停止遍历并将所述当前采样点作为压差半值采样点,若所述第一比值尚未进入所述半值比例确认范围则停转至下一个采样点继续遍历;并将所述当前峰值点到所述压差半值采样点的时间间隔作为对应的所述压差减半时间参数T △P/2
Record the envelope segment from the current peak point to the current right baseline point on the first envelope as the current segment; and on the current segment, proceed to the right from the current peak point Sampling point traversal; when traversing, the vertical distance from the current sampling point to the bottom zero line of the fourth image is taken as the corresponding sampling point distance h sam , and according to the sampling point distance h sam and the unit peak distance blood flow velocity V s Calculate and generate the corresponding sampling point flow velocity V sam =V s *h sam , and calculate and generate the corresponding sampling point pressure gradient according to the sampling point flow velocity V sam
Figure PCTCN2022097243-appb-000005
And calculate the ratio of the pressure gradient ΔP sam of the sampling point to the pressure gradient parameter ΔP to generate a first ratio, if the first ratio enters the preset half value ratio confirmation range, stop traversing and put the The current sampling point is used as the half-value sampling point of the pressure difference. If the first ratio has not yet entered the half-value ratio confirmation range, it will stop and go to the next sampling point to continue traversing; The time interval between value sampling points is used as the corresponding pressure difference halving time parameter T ΔP/2 ;
对从所述当前左基线点到所述当前右基线点的第一包络线片段进行速度积分运算生成对应的所述速度时间积分参数;performing a velocity integration operation on the first envelope segment from the current left baseline point to the current right baseline point to generate the corresponding velocity time integration parameter;
将所述峰值流速参数V max、所述压力阶差参数△P、所述加速时间参数T a、所述减速时间参数T d、所述射血时间参数T e、所述压差减半时间参数T △P/2和所述速度时间积分参数,组成与所述当前峰值点对应的所述血流参数组;并将所述血流参数组向所述血流参数组序列添加。 The peak flow velocity parameter V max , the pressure gradient parameter ΔP, the acceleration time parameter T a , the deceleration time parameter T d , the ejection time parameter T e , and the pressure difference halving time The parameter T ΔP/2 and the velocity-time integral parameter form the blood flow parameter set corresponding to the current peak point; and add the blood flow parameter set to the blood flow parameter set sequence.
本发明实施例第二方面提供了一种实现上述第一方面所述的方法的装置,包括:获取模块、图像预处理模块、包络线处理模块和血流参数计算模块;The second aspect of the embodiment of the present invention provides a device for implementing the method described in the first aspect above, including: an acquisition module, an image preprocessing module, an envelope processing module, and a blood flow parameter calculation module;
所述获取模块用于获取二维频谱多普勒超声心动图像生成第一图像;The acquiring module is used to acquire a two-dimensional spectral Doppler echocardiographic image to generate a first image;
所述图像预处理模块用于对所述第一图像进行感兴趣区域图像提取处理生成对应的第二图像;并对所述第二图像进行高斯模糊图像处理生成对应的第三图像;并对所述第三图像进行二值化处理生成对应的第四图像;The image preprocessing module is used to perform region-of-interest image extraction processing on the first image to generate a corresponding second image; and perform Gaussian blur image processing on the second image to generate a corresponding third image; and The third image is binarized to generate a corresponding fourth image;
所述包络线处理模块用于对所述第四图像进行频谱包络线识别处理标记出对应的第一包络线;并对所述第一包络线进行峰值点识别处理标记出多个第一峰值点;并对各个所述第一峰值点进行左右基线点识别处理标记出对应的第一左基线点和第一右基线点;The envelope processing module is used to perform spectrum envelope identification processing on the fourth image to mark the corresponding first envelope; and perform peak point identification processing on the first envelope to mark multiple The first peak point; and performing left and right baseline point identification processing on each of the first peak points to mark the corresponding first left baseline point and first right baseline point;
所述血流参数计算模块用于根据完成峰值点和左右基线点标记的所述第一包络线,进行血流参数测算生成对应的血流参数组序列;所述血流参数组序 列包括多个血流参数组;所述血流参数组包括峰值流速参数、压力阶差参数、加速时间参数、减速时间参数、射血时间参数、压差减半时间参数和速度时间积分参数;所述血流参数组与所述第一峰值点一一对应;The blood flow parameter calculation module is used to perform blood flow parameter calculation and generate a corresponding blood flow parameter set sequence according to the first envelope marked with the peak point and the left and right baseline points; the blood flow parameter set sequence includes multiple a blood flow parameter group; the blood flow parameter group includes a peak flow velocity parameter, a pressure gradient parameter, an acceleration time parameter, a deceleration time parameter, an ejection time parameter, a pressure difference halving time parameter and a velocity time integral parameter; The flow parameter group is in one-to-one correspondence with the first peak point;
所述血流参数计算模块还用于计算所述血流参数组序列中各个同类参数的平均值,得到峰值流速平均值、压力阶差平均值、加速时间平均值、减速时间平均值、射血时间平均值、压差减半时间平均值和速度时间积分平均值,并由所有平均值组成测量数据集合作为所述二维频谱多普勒超声心动图像的测量数据结果进行返回。The blood flow parameter calculation module is also used to calculate the average value of each similar parameter in the blood flow parameter group sequence to obtain the average value of peak flow velocity, average value of pressure gradient, average value of acceleration time, average value of deceleration time, and ejection time. The time average value, the pressure difference halving time average value and the velocity time integral average value, and all the average values form a measurement data set to be returned as the measurement data results of the two-dimensional spectral Doppler echocardiographic image.
本发明实施例第三方面提供了一种电子设备,包括:存储器、处理器和收发器;The third aspect of the embodiment of the present invention provides an electronic device, including: a memory, a processor, and a transceiver;
所述处理器用于与所述存储器耦合,读取并执行所述存储器中的指令,以实现上述第一方面所述的方法步骤;The processor is configured to be coupled with the memory, read and execute instructions in the memory, so as to implement the method steps described in the first aspect above;
所述收发器与所述处理器耦合,由所述处理器控制所述收发器进行消息收发。The transceiver is coupled to the processor, and the processor controls the transceiver to send and receive messages.
本发明实施例第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,当所述计算机指令被计算机执行时,使得所述计算机执行上述第一方面所述的方法的指令。The fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a computer, the computer executes the above-mentioned first aspect. method directive.
本发明实施例提供了一种二维频谱多普勒超声心动图像的处理方法、装置、电子设备及计算机可读存储介质,首先通过对原始的二维频谱多普勒超声心动图像进行感兴趣区域剪裁、高斯模糊处理和二值化处理来减少图像噪点、提高图像识别精度,然后通过对二值图进行频谱包络线提取来提高数据识别精度并同时增加了对连续数据的识别能力,然后通过使用高斯核权重滑窗对包络线进行滑窗权值运算来提高对包络线上正常信号峰值点的识别准确度,在得到峰值点之后通过与峰值点的幅差和时间间隔关系算出对应的左右基线点,最后基于各个峰值点及其对应的左右基线点不但可以得到与各个峰值点相关的峰值流速、加速时间、减速时间、射血时间还可以得到常规方法无法测 量的血流量积分也就是速度时间积分和压力阶差及压力阶差减半时间,同时还能进一步转换得到各项测量参数的平均值。通过本发明,在基于频谱多普勒超声心动图进行血流参数测量时,不但可以解决因人工因素导致的测量准确度降低或测量质量不稳定等问题,还可以测量传统人工方式无法测量的其他数据,扩大了参数测量范围。Embodiments of the present invention provide a processing method, device, electronic equipment, and computer-readable storage medium for a two-dimensional spectral Doppler echocardiographic image. Clipping, Gaussian blur processing and binarization processing to reduce image noise and improve image recognition accuracy, and then extract the spectral envelope of the binary image to improve data recognition accuracy and increase the recognition ability of continuous data, and then pass Use the Gaussian kernel weight sliding window to perform sliding window weight calculation on the envelope to improve the recognition accuracy of the peak point of the normal signal on the envelope. After the peak point is obtained, the correspondence is calculated by the amplitude difference and time interval relationship with the peak point. Finally, based on each peak point and its corresponding left and right baseline points, not only the peak flow velocity, acceleration time, deceleration time, and ejection time related to each peak point can be obtained, but also the blood flow integral that cannot be measured by conventional methods can be obtained. It is the speed-time integral, the pressure gradient and the half-time of the pressure gradient, and at the same time, it can be further converted to obtain the average value of various measurement parameters. Through the present invention, when measuring blood flow parameters based on spectral Doppler echocardiography, not only can the problems of reduced measurement accuracy or unstable measurement quality caused by artificial factors be solved, but also other problems that cannot be measured by traditional manual methods can be measured. data, expanding the parameter measurement range.
附图说明Description of drawings
图1为本发明实施例一提供的一种二维频谱多普勒超声心动图像的处理方法示意图;FIG. 1 is a schematic diagram of a processing method for a two-dimensional spectral Doppler echocardiographic image provided by Embodiment 1 of the present invention;
图2a为本发明实施例一提供的一组第一图像和对应的第一子图像示意图;Fig. 2a is a schematic diagram of a group of first images and corresponding first sub-images provided by Embodiment 1 of the present invention;
图2b为本发明实施例一提供的另一组第一图像和对应的第一子图像示意图;Fig. 2b is a schematic diagram of another group of first images and corresponding first sub-images provided by Embodiment 1 of the present invention;
图2c为本发明实施例一提供的一组第三图像和第四图像示意图;Fig. 2c is a schematic diagram of a set of third images and fourth images provided by Embodiment 1 of the present invention;
图2d为本发明实施例一提供的一组第四图像和第一转置二值图示意图;Fig. 2d is a schematic diagram of a group of fourth images and the first transposed binary image provided by Embodiment 1 of the present invention;
图3为本发明实施例二提供的一种二维频谱多普勒超声心动图像的处理装置的模块结构图;3 is a block diagram of a two-dimensional spectral Doppler echocardiographic image processing device provided by Embodiment 2 of the present invention;
图4为本发明实施例三提供的一种电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device provided by Embodiment 3 of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例一提供的一种二维频谱多普勒超声心动图像的处理方法,如图1为本发明实施例一提供的一种二维频谱多普勒超声心动图像的处理方 法示意图所示,本方法主要包括如下步骤:A processing method for a two-dimensional spectral Doppler echocardiographic image provided by Embodiment 1 of the present invention, as shown in FIG. 1 is a schematic diagram of a processing method for a two-dimensional spectral Doppler echocardiographic image provided by Embodiment 1 of the present invention , this method mainly includes the following steps:
步骤1,获取二维频谱多普勒超声心动图像生成第一图像。 Step 1, acquiring a two-dimensional spectral Doppler echocardiographic image to generate a first image.
这里,二维频谱多普勒超声心动图像可具体为二维的连续多普勒(continuouswaveDoppler,CW)超声心动图像。Here, the two-dimensional spectral Doppler echocardiographic image may specifically be a two-dimensional continuous wave Doppler (continuous wave Doppler, CW) echocardiographic image.
步骤2,对第一图像进行感兴趣区域图像提取处理生成对应的第二图像; Step 2, performing region-of-interest image extraction processing on the first image to generate a corresponding second image;
具体包括:步骤21,对第一图像进行血流速度零线识别处理标记出对应的第一零线;It specifically includes: step 21, performing blood flow velocity zero line identification processing on the first image to mark the corresponding first zero line;
这里,在原始的二维频谱多普勒超声心动图像也就是第一图像上,血流速度零线要么是由标准刻度进行标识、要么由特殊颜色的线条进行标识,本发明实施例可通过多种方式来对其进行识别和定位;Here, on the original two-dimensional spectral Doppler echocardiographic image, that is, the first image, the zero line of blood flow velocity is marked either by a standard scale or by a line of a special color. ways to identify and locate them;
其中一种实现方式中,对第一图像进行血流速度零线识别处理标记出对应的第一零线具体包括:对第一图像每行像素点的平均像素值进行计算得到对应的第一行像素均值,计算第一行像素均值与预设的零线像素值的差值生成对应的第一像素差值,若第一像素差值满足预设的零线像素误差范围,则将第一像素差值对应的行作为零线行,并根据零线行在第一图像上标记出第一零线;In one of the implementation manners, performing blood flow velocity zero line identification processing on the first image and marking the corresponding first zero line specifically includes: calculating the average pixel value of each row of pixels in the first image to obtain the corresponding first row Pixel mean value, calculate the difference between the pixel mean value of the first row and the preset zero line pixel value to generate the corresponding first pixel difference value, if the first pixel difference value meets the preset zero line pixel error range, then the first pixel The line corresponding to the difference is taken as the zero line line, and the first zero line is marked on the first image according to the zero line line;
步骤22,若第一图像中的频谱图像大峰值朝上,则提取第一图像中从图像顶部到第一零线的子图像作为第一子图像;若第一图像中的频谱图像大峰值朝下,则提取第一图像中从第一零线到图像底部的子图像,并对提取出的子图像进行图像翻转处理生成第一子图像;第一子图像的图像底部均为第一零线;Step 22, if the large peak of the spectrum image in the first image faces upward, then extract the sub-image from the top of the image to the first zero line in the first image as the first sub-image; if the large peak of the spectrum image in the first image faces Next, extract the sub-image from the first zero line to the bottom of the image in the first image, and perform image flip processing on the extracted sub-image to generate the first sub-image; the bottom of the image of the first sub-image is the first zero line ;
这里,频谱图像大峰值朝上、朝下对应血流的两个相反方向;为便于对图像进行处理,当前步骤将所有频谱图像都处理为大峰值朝上形状,因此在频谱图像大峰值朝下时要对原始图像进行上下翻转;另外对于原始的二维频谱多普勒超声心动图像,若大峰值朝上一般在血流速度零线之下还是会存在一些峰值较小的干扰信号,若大峰值朝下一般在血流速度零线之上也会存在一些 峰值较小的干扰信号,所以在当前步骤进行图像裁剪时还会一并将这些干扰信号图像剪除;Here, the large peak of the spectrum image is facing upwards and downwards corresponding to the two opposite directions of blood flow; in order to facilitate image processing, the current step processes all the spectral images as the shape of the large peak facing upwards, so in the spectral image the large peak is facing downwards In addition, for the original two-dimensional spectral Doppler echocardiographic image, if the large peak is facing upward, there will still be some interference signals with smaller peaks below the zero line of blood flow velocity. If the peak point is downward, there will generally be some interference signals with smaller peaks above the zero line of blood flow velocity, so these interference signal images will also be cut out when the image is cropped in the current step;
以图2a为本发明实施例一提供的一组第一图像和对应的第一子图像示意图为例,其中第一图像的大峰值朝上,从该第一图像顶部到第一零线进行图像剪裁后得到第一子图像;Take Figure 2a as an example of a group of first images and corresponding first sub-images provided by Embodiment 1 of the present invention, where the large peak of the first image faces upward, and the image is drawn from the top of the first image to the first zero line Obtain the first sub-image after clipping;
以图2b为本发明实施例一提供的另一组第一图像和对应的第一子图像示意图为例,其中第一图像的大峰值朝下,先从第一零线到该第一图像底部进行图像剪裁,再将剪裁图像进行翻转得到第一子图像;Take Fig. 2b as an example of another group of first images and corresponding first sub-images provided by Embodiment 1 of the present invention, where the large peak of the first image faces downward, first from the first zero line to the bottom of the first image performing image clipping, and then flipping the clipped image to obtain the first sub-image;
步骤23,对第一子图像的每行像素点的像素值总和进行统计,生成对应的第一行像素总和;并将数值最小的第一行像素总和对应的图像行记为最小像素行;并将第一子图像中从最小像素行到图像底部的子图像作为感兴趣区域图像进行提取,生成第二图像。Step 23, counting the sum of the pixel values of each row of pixels in the first sub-image to generate a corresponding first row of pixel sum; and recording the image row corresponding to the first row of pixel sum with the smallest value as the minimum pixel row; and Extracting the sub-image from the minimum pixel row to the bottom of the image in the first sub-image as the image of the region of interest to generate the second image.
这里,在图像处理过程中,第一子图像的顶部还会存在一些无用背景,为提高图像辨识度,当前步骤就是对第一子图像进行进一步的裁剪,将顶部一些无用的背景行删除。Here, in the image processing process, some useless backgrounds still exist on the top of the first sub-image. In order to improve image recognition, the current step is to further crop the first sub-image to delete some useless background lines on the top.
步骤3,对第二图像进行高斯模糊图像处理生成对应的第三图像。 Step 3, performing Gaussian blur image processing on the second image to generate a corresponding third image.
这里,对图像进行高斯模糊处理是为了进一步消除图像噪声。Here, Gaussian blur processing is performed on the image to further eliminate image noise.
步骤4,对第三图像进行二值化处理生成对应的第四图像。Step 4, performing binarization processing on the third image to generate a corresponding fourth image.
这里,如图2c为本发明实施例一提供的一组第三图像和第四图像示意图所示。Here, FIG. 2c is a schematic diagram of a group of third images and fourth images provided by Embodiment 1 of the present invention.
步骤5,对第四图像进行频谱包络线识别处理标记出对应的第一包络线; Step 5, performing spectrum envelope recognition processing on the fourth image to mark the corresponding first envelope;
具体包括:步骤51,将第四图像向左旋转90°生成对应的第一转置二值图;It specifically includes: step 51, rotating the fourth image 90° to the left to generate a corresponding first transposed binary image;
这里,之所以对第四图像进行转置,是为了在后续步骤中可以采用计算更便捷的行遍历方式;转置前后的第四图像和第一转置二值图,如图2d为本发明实施例一提供的一组第四图像和第一转置二值图示意图所示;Here, the reason why the fourth image is transposed is to use a more convenient row traversal method in the subsequent steps; the fourth image before and after the transposition and the first transposed binary image, as shown in Figure 2d for the present invention A set of fourth images and a schematic diagram of the first transposed binary image provided in Embodiment 1 are shown;
步骤52,对第一转置二值图进行逐行检查,将当前行中像素值均为预设的前景点像素值的连续像素点进行聚类,生成对应的连续像素点序列;Step 52, checking the first transposed binary image line by line, clustering the continuous pixel points in the current line whose pixel values are all preset foreground point pixel values, and generating a corresponding continuous pixel point sequence;
步骤53,对同一行的多个连续像素点序列进行最优序列筛选,将像素点数量最多作为与当前行对应的最优连续像素点序列;并将各个最优连续像素点序列中的左边界像素点标记为行边界点;Step 53, performing optimal sequence screening on multiple consecutive pixel point sequences in the same row, taking the largest number of pixels as the optimal continuous pixel point sequence corresponding to the current row; Pixels are marked as row boundary points;
这里,选择最优连续像素点序列就是为了消除图2d中左边的干扰噪点,或者消除图像中一些孤立噪点;Here, selecting the optimal continuous pixel point sequence is to eliminate the interference noise on the left in Figure 2d, or to eliminate some isolated noise in the image;
步骤54,按第一转置二值图与第四图像的像素点坐标转置对应关系,将第四图像中与各个行边界点对应的像素点记为列边界点;Step 54, according to the corresponding relationship between the first transposed binary image and the pixel point coordinate transposition of the fourth image, the pixel points corresponding to each row boundary point in the fourth image are recorded as column boundary points;
这里,第一转置二值图的行边界点对应的第四图像的列边界点实际就是包络点;Here, the column boundary points of the fourth image corresponding to the row boundary points of the first transposed binary image are actually envelope points;
步骤55,对列边界点进行依次连接得到第一连接线;并对第一连接线进行光滑处理得到第一包络线;并在第四图像上完成对第一包络线的标记处理。Step 55, sequentially connect the column boundary points to obtain the first connection line; and smooth the first connection line to obtain the first envelope; and complete the marking process on the first envelope on the fourth image.
这里,为了对包络点中的噪点进行进一步消除,所以对包络点连接线也就是第一连接线进行平滑处理,在平滑处理过程中会消除时间间隔过短、幅值变化过大的噪声包络点,最后得到相对较为平滑的第一包络线。Here, in order to further eliminate the noise points in the envelope points, smoothing is performed on the connecting line of the envelope points, that is, the first connecting line. During the smoothing process, noises with too short time intervals and large amplitude changes will be eliminated. Envelope points, and finally get a relatively smooth first envelope.
步骤6,对第一包络线进行峰值点识别处理标记出多个第一峰值点; Step 6, performing peak point identification processing on the first envelope to mark a plurality of first peak points;
具体包括:步骤61,以第一包络线的各个采样点到第四图像底部零线的垂直距离为采样点的采样值,对第一包络线的各个采样点的采样值进行统计,生成第一采样值序列为{x 1,x 2…x i…x n}; Specifically include: step 61, taking the vertical distance from each sampling point of the first envelope to the zero line at the bottom of the fourth image as the sampling value of the sampling point, and making statistics on the sampling values of each sampling point of the first envelope to generate The first sample value sequence is {x 1 , x 2 ... x i ... x n };
其中,i为采样点索引,1≤i≤n,x i为各个采样点的采样值,n为第一包络线的采样点总数; Wherein, i is the sampling point index, 1≤i≤n, x i is the sampling value of each sampling point, and n is the total number of sampling points of the first envelope;
步骤62,构建高斯核权重滑窗;Step 62, constructing a Gaussian kernel weight sliding window;
具体包括:步骤621,设定高斯核权重滑窗的滑窗宽度w;Specifically include: step 621, setting the sliding window width w of the Gaussian kernel weight sliding window;
这里,可预先对高斯核权重滑窗内的滑窗采样点总数进行设定得到一个预设采样点总数,并以此预设采样点总数作为高斯核权重滑窗的滑窗宽度w;Here, the total number of sliding window sampling points in the Gaussian kernel weight sliding window can be set in advance to obtain a preset total number of sampling points, and the preset total number of sampling points can be used as the sliding window width w of the Gaussian kernel weight sliding window;
步骤622,设定高斯核权重滑窗内的采样值序列为{s 1…s j…s w}; Step 622, set the sampling value sequence in the Gaussian kernel weight sliding window as {s 1 ...s j ...s w };
其中,j为滑窗内采样点索引,1≤j≤w,s j为滑窗内各个采样点的采样值; Among them, j is the sampling point index in the sliding window, 1≤j≤w, s j is the sampling value of each sampling point in the sliding window;
这里,因为滑窗宽度w即是滑窗内的采样点总数,所以1≤j≤w;Here, because the sliding window width w is the total number of sampling points in the sliding window, so 1≤j≤w;
步骤622,根据标准高斯函数
Figure PCTCN2022097243-appb-000006
以滑窗内的最大采样值s max对应的最大采样点索引j max为均值μ,以四分之一滑窗宽度w/4为方差σ,构建高斯核权重滑窗内各个采样点的高斯核系数运算函数为
Figure PCTCN2022097243-appb-000007
Step 622, according to the standard Gaussian function
Figure PCTCN2022097243-appb-000006
Taking the maximum sampling point index j max corresponding to the maximum sampling value s max in the sliding window as the mean value μ, and taking a quarter of the sliding window width w/4 as the variance σ, construct a Gaussian kernel weighted Gaussian kernel for each sampling point in the sliding window The coefficient operation function is
Figure PCTCN2022097243-appb-000007
其中,k j为高斯核权重滑窗内各个采样点的高斯核系数; Among them, k j is the Gaussian kernel coefficient of each sampling point in the Gaussian kernel weight sliding window;
步骤623,根据高斯核系数运算函数,构建高斯核权重滑窗的滑窗权值运算函数为
Figure PCTCN2022097243-appb-000008
Step 623, according to the operation function of the Gaussian kernel coefficient, construct the sliding window weight operation function of the Gaussian kernel weight sliding window as
Figure PCTCN2022097243-appb-000008
其中,A为滑窗权值,k’ j为与滑窗内各个高斯核系数k j对应的归一化高斯核系数; Wherein, A is the sliding window weight, and k' j is the normalized Gaussian kernel coefficient corresponding to each Gaussian kernel coefficient k j in the sliding window;
步骤63,在第一采样值序列{x 1,x 2…x i…x n}中,从第一个采样值x 1开始,以步长为1、以滑窗宽度w为滑窗采样点数量,将第一采样值序列{x 1,x 2…x i…x n}切分成第二数量的子滑窗序列C hStep 63, in the first sample value sequence {x 1 , x 2 ... x i ... x n }, start from the first sample value x 1 , take the step size as 1, and take the sliding window width w as the sliding window sampling point number, the first sample value sequence {x 1 , x 2 ... x i ... x n } is divided into the second number of sub-sliding window sequences C h ;
其中,子滑窗序列C h为{x i=h,x i=h+1…x i=h+w-1},h为子滑窗索引,1≤h≤第二数量,第二数量=n-w+1; Among them, the sub-sliding window sequence C h is {xi =h , xi =h+1 ...xi =h+w-1 }, h is the sub-sliding window index, 1≤h≤the second number, the second number =n-w+1;
例如,第一采样值序列为{x 1=d 1,x 2=d 2,x 3=d 3,x 4=d 4,x 5=d 5,x 6=d 6},则n=6,滑窗宽度w=4,第二数量=6-4+1=3,子滑窗序列有3个分别为: For example, the first sample value sequence is {x 1 =d 1 , x 2 =d 2 , x 3 =d 3 , x 4 =d 4 , x 5 =d 5 , x 6 =d 6 }, then n=6 , the sliding window width w=4, the second quantity=6-4+1=3, there are 3 sub-sliding window sequences respectively:
C h=1{x 1=d 1,x 2=d 2,x 3=d 3,x 4=d 4}, C h=1 {x 1 =d 1 , x 2 =d 2 , x 3 =d 3 , x 4 =d 4 },
C h=2{x 2=d 2,x 3=d 3,x 4=d 4,x 5=d 5} Ch =2 {x 2 =d 2 , x 3 =d 3 , x 4 =d 4 , x 5 =d 5 }
C h=3{x 3=d 3,x 4=d 4,x 5=d 5,x 6=d 6}; Ch =3 {x 3 =d 3 , x 4 =d 4 , x 5 =d 5 , x 6 =d 6 };
步骤64,使用高斯核权重滑窗对各个子滑窗序列C h进行滑窗权值运算得到对应的滑窗权值A hStep 64, use the Gaussian kernel weight sliding window to perform sliding window weight calculation on each sub-sliding window sequence C h to obtain the corresponding sliding window weight A h ;
具体包括:将当前子滑窗序列C h的各个采样值转换为对应的滑窗内采样 值s j,并将其中的最大值作为最大采样值s max,并将最大采样值s max在滑窗内的采样点索引作为对应的最大采样点索引j max;并将各个滑窗内采样值s j的采样点索引及最大采样点索引j max,代入高斯核系数运算函数进行运算得到多个高斯核系数k j;并对当前的所有高斯核系数k j进行归一化处理得到多个归一化高斯核系数k’ j;并将当前的所有归一化高斯核系数k’ j及其对应的滑窗内采样值s j代入滑窗权值运算函数进行运算得到对应的滑窗权值A hIt specifically includes: converting each sampling value of the current sub-sliding window sequence C h into the corresponding sampling value s j in the sliding window, and using the maximum value as the maximum sampling value s max , and setting the maximum sampling value s max in the sliding window The index of the sampling point within is taken as the corresponding index of the maximum sampling point j max ; and the index of the sampling point of the sampling value s j in each sliding window and the index of the maximum sampling point j max are substituted into the Gaussian kernel coefficient operation function to obtain multiple Gaussian kernels Coefficient k j ; and normalize all current Gaussian kernel coefficients k j to obtain multiple normalized Gaussian kernel coefficients k'j; and all current normalized Gaussian kernel coefficients k' j and their corresponding The sampling value s j in the sliding window is substituted into the sliding window weight calculation function to obtain the corresponding sliding window weight A h ;
例如,第一采样值序列为{x 1=d 1,x 2=d 2,x 3=d 3,x 4=d 4,x 5=d 5,x 6=d 6},n=6,w=4,子滑窗序列包括:C h=1{x 1=d 1,x 2=d 2,x 3=d 3,x 4=d 4},C h=2{x 2=d 2,x 3=d 3,x 4=d 4,x 5=d 5}和C h=3{x 3=d 3,x 4=d 4,x 5=d 5,x 6=d 6}; For example, the first sample value sequence is {x 1 =d 1 , x 2 =d 2 , x 3 =d 3 , x 4 =d 4 , x 5 =d 5 , x 6 =d 6 }, n=6, w=4, the sub-sliding window sequence includes: C h=1 {x 1 =d 1 , x 2 =d 2 , x 3 =d 3 , x 4 =d 4 }, C h=2 {x 2 =d 2 , x 3 =d 3 , x 4 =d 4 , x 5 =d 5 } and Ch =3 {x 3 =d 3 , x 4 =d 4 , x 5 =d 5 , x 6 =d 6 };
在对C h=1{x 1=d 1,x 2=d 2,x 3=d 3,x 4=d 4}进行滑窗权值运算时,1≤j≤4;将当前子滑窗序列C h=1的各个采样值转换为对应的滑窗内采样值s j,得到:s 1=x 1=d 1、s 2=x 2=d 2、s 3=x 3=d 3、s 4=x 4=d 4;若其中最大采样值为d 2,则s max=s 2,对应的j max=2;将各个滑窗内采样值s j的采样点索引(j=1、2、3、4)及最大采样点索引j max=2,代入高斯核系数运算函数进行运算得到多个高斯核系数k jWhen performing sliding window weight calculation on C h=1 {x 1 =d 1 , x 2 =d 2 , x 3 =d 3 , x 4 =d 4 }, 1≤j≤4; the current sub-sliding window Each sampling value of the sequence C h=1 is converted into the corresponding sampling value s j in the sliding window, and it is obtained: s 1 =x 1 =d 1 , s 2 =x 2 =d 2 , s 3 =x 3 =d 3 , s 4 =x 4 =d 4 ; if the maximum sampling value is d 2 , then s max =s 2 , and the corresponding j max =2; index the sampling points of the sampling value s j in each sliding window (j=1, 2, 3, 4) and the maximum sampling point index j max = 2, which is substituted into the Gaussian kernel coefficient operation function to obtain multiple Gaussian kernel coefficients k j :
高斯核系数
Figure PCTCN2022097243-appb-000009
Gaussian kernel coefficient
Figure PCTCN2022097243-appb-000009
高斯核系数
Figure PCTCN2022097243-appb-000010
Gaussian kernel coefficient
Figure PCTCN2022097243-appb-000010
高斯核系数
Figure PCTCN2022097243-appb-000011
Gaussian kernel coefficient
Figure PCTCN2022097243-appb-000011
高斯核系数
Figure PCTCN2022097243-appb-000012
Gaussian kernel coefficient
Figure PCTCN2022097243-appb-000012
对k 1、k 2、k 3和k 4,做归一化处理得到对应的归一化高斯核系数k’ 1、k’ 2、k’ 3和k’ 4;再将k’ 1、k’ 2、k’ 3和k’ 4和对应的s 1、s 2、s 3和s 4带入滑窗权值运算函数
Figure PCTCN2022097243-appb-000013
就可得到滑窗权值A h=1=k′ 1×d 1+k′ 2×d 2+k′ 3×d 3+k′ 4×d 4
For k 1 , k 2 , k 3 and k 4 , perform normalization processing to obtain the corresponding normalized Gaussian kernel coefficients k' 1 , k' 2 , k' 3 and k'4; then k' 1 , k ' 2 , k' 3 and k' 4 and the corresponding s 1 , s 2 , s 3 and s 4 are brought into the sliding window weight calculation function
Figure PCTCN2022097243-appb-000013
Then the sliding window weight A h=1 =k′ 1 ×d 1 +k′ 2 ×d 2 +k′ 3 ×d 3 +k′ 4 ×d 4 can be obtained;
在对C h=2{x 2=d 2,x 3=d 3,x 4=d 4,x 5=d 5}进行滑窗权值运算时,1≤j≤4;将当前子滑窗序列C h=2的各个采样值转换为对应的滑窗内采样值s j,得到:s 1=x 2=d 2、s 2=x 3=d 3、s 3=x 4=d 4、s 4=x 5=d 5;若其中最大采样值仍为d 2,则s max=s 1,对应的j max=1;将各个滑窗内采样值s j的采样点索引(j=1、2、3、4)及最大采样点索引j max=1,代入高斯核系数运算函数进行运算得到多个高斯核系数k jWhen performing sliding window weight calculation on C h=2 {x 2 =d 2 , x 3 =d 3 , x 4 =d 4 , x 5 =d 5 }, 1≤j≤4; the current sub-sliding window Each sampling value of the sequence C h=2 is converted into the corresponding sampling value s j in the sliding window, and it is obtained: s 1 =x 2 =d 2 , s 2 =x 3 =d 3 , s 3 =x 4 =d 4 , s 4 =x 5 =d 5 ; if the maximum sampling value is still d 2 , then s max =s 1 , and the corresponding j max =1; index the sampling points of the sampling value s j in each sliding window (j=1 , 2, 3, 4) and the maximum sampling point index j max =1, which is substituted into the Gaussian kernel coefficient operation function to obtain multiple Gaussian kernel coefficients k j :
高斯核系数
Figure PCTCN2022097243-appb-000014
Gaussian kernel coefficient
Figure PCTCN2022097243-appb-000014
高斯核系数
Figure PCTCN2022097243-appb-000015
Gaussian kernel coefficient
Figure PCTCN2022097243-appb-000015
高斯核系数
Figure PCTCN2022097243-appb-000016
Gaussian kernel coefficient
Figure PCTCN2022097243-appb-000016
高斯核系数
Figure PCTCN2022097243-appb-000017
Gaussian kernel coefficient
Figure PCTCN2022097243-appb-000017
对k 1、k 2、k 3和k 4,做归一化处理得到对应的归一化高斯核系数k’ 1、k’ 2、k’ 3和k’ 4;再将k’ 1、k’ 2、k’ 3和k’ 4和对应的s 1、s 2、s 3和s 4带入滑窗权值运算函数
Figure PCTCN2022097243-appb-000018
就可得到滑窗权值A h=1=k′ 1×d 2+k′ 2×d 3+k′ 3×d 4+k′ 4×d 5
For k 1 , k 2 , k 3 and k 4 , perform normalization processing to obtain the corresponding normalized Gaussian kernel coefficients k' 1 , k' 2 , k' 3 and k'4; then k' 1 , k ' 2 , k' 3 and k' 4 and the corresponding s 1 , s 2 , s 3 and s 4 are brought into the sliding window weight calculation function
Figure PCTCN2022097243-appb-000018
Then the sliding window weight A h=1 =k′ 1 ×d 2 +k′ 2 ×d 3 +k′ 3 ×d 4 +k′ 4 ×d 5 can be obtained;
在对C h=3{x 3=d 3,x 4=d 4,x 5=d 5,x 6=d 6}进行滑窗权值运算时,1≤j≤4;将当前子滑窗序列C h=3的各个采样值转换为对应的滑窗内采样值s j,得到:s 1=x 3=d 3、s 2=x 4=d 4、s 3=x 5=d 5、s 4=x 6=d 6;若其中最大采样值为d 6,则s max=s 4,对应的j max=4;将各个滑窗内采样值s j的采样点索引(j=1、2、3、4)及最大采样点索引j max=4,代入高斯核系数运算函数进行运算得到多个高斯核系数k jWhen performing sliding window weight calculation on C h=3 {x 3 =d 3 , x 4 =d 4 , x 5 =d 5 , x 6 =d 6 }, 1≤j≤4; the current sub-sliding window Each sampling value of the sequence C h=3 is converted into the corresponding sampling value s j in the sliding window, and it is obtained: s 1 =x 3 =d 3 , s 2 =x 4 =d 4 , s 3 =x 5 =d 5 , s 4 =x 6 =d 6 ; if the maximum sampling value is d 6 , then s max =s 4 , and the corresponding j max =4; index the sampling points of the sampling value s j in each sliding window (j=1, 2, 3, 4) and the maximum sampling point index j max = 4, which is substituted into the Gaussian kernel coefficient operation function to obtain multiple Gaussian kernel coefficients k j :
高斯核系数
Figure PCTCN2022097243-appb-000019
Gaussian kernel coefficient
Figure PCTCN2022097243-appb-000019
高斯核系数
Figure PCTCN2022097243-appb-000020
Gaussian kernel coefficient
Figure PCTCN2022097243-appb-000020
高斯核系数
Figure PCTCN2022097243-appb-000021
Gaussian kernel coefficient
Figure PCTCN2022097243-appb-000021
高斯核系数
Figure PCTCN2022097243-appb-000022
Gaussian kernel coefficient
Figure PCTCN2022097243-appb-000022
对k 1、k 2、k 3和k 4,做归一化处理得到对应的归一化高斯核系数k’ 1、k’ 2、k’ 3和k’ 4;再将k’ 1、k’ 2、k’ 3和k’ 4和对应的s 1、s 2、s 3和s 4带入滑窗权值运算函数
Figure PCTCN2022097243-appb-000023
就可得到滑窗权值A h=1=k′ 1×d 3+k′ 2×d 4+k′ 3×d 5+k′ 4×d 6
For k 1 , k 2 , k 3 and k 4 , perform normalization processing to obtain the corresponding normalized Gaussian kernel coefficients k' 1 , k' 2 , k' 3 and k'4; then k' 1 , k ' 2 , k' 3 and k' 4 and the corresponding s 1 , s 2 , s 3 and s 4 are brought into the sliding window weight calculation function
Figure PCTCN2022097243-appb-000023
Then the sliding window weight A h=1 =k′ 1 ×d 3 +k′ 2 ×d 4 +k′ 3 ×d 5 +k′ 4 ×d 6 can be obtained;
步骤65,将第一采样值序列{x 1,x 2…x i…x n}记为当前序列;并将当前序列上滑窗权值A h为最大值的子滑窗序列C h,标记为当前子滑窗序列;并将当前子滑窗序列上最大采样值对应的采样点索引,标记为峰值点索引P;并以峰值点索引P,将当前采样值序列分为左右部分记为左采样值序列和右采样值序列;并分别以左、右采样值序列为新的当前采样值序列,继续在新的当前采样值序列中对最大滑窗权值对应的子滑窗序列的最大采样值的采样点索引进行峰值点索引标记处理,直到新的当前采样值序列的序列长度低于预设的最小序列长度为止; Step 65, record the first sampled value sequence {x 1 , x 2 ... x i ... x n } as the current sequence; and mark the sub-sliding window sequence C h whose upper sliding window weight A h is the maximum value in the current sequence, as is the current sub-sliding window sequence; and mark the sampling point index corresponding to the maximum sampling value on the current sub-sliding window sequence as the peak point index P; and use the peak point index P to divide the current sampling value sequence into left and right parts and record it as left Sampled value sequence and right sampled value sequence; and take the left and right sampled value sequence as the new current sampled value sequence respectively, and continue the maximum sampling of the sub-sliding window sequence corresponding to the maximum sliding window weight in the new current sampled value sequence The sampling point index of the value is marked with the peak point index until the sequence length of the new current sampling value sequence is lower than the preset minimum sequence length;
例如,第一采样值序列有5个子滑窗序列C 1、C 2、C 3、C 4和C 5,5个子滑窗序列C 1、C 2、C 3、C 4和C 5对应的滑窗权值的大小关系为:A 1<A 2<A 3,A 3>A 4>A 5;那么,第一采样值序列中滑窗权值最大的是C 3,若C 3中采样值最大的是第2个采样点,那么C 3中的第2个采样点的索引会记为峰值点索引;以C 3的第2个采样点把第一采样值序列分成两部分记为左、右采样值序列;对于左、右采样值序列则继续按照上述方式进行峰值点索引标记,直到被分出来的左、右采样值序列的序列长度已经低于最小序列长度为止; For example, the first sampling value sequence has 5 sub-sliding window sequences C 1 , C 2 , C 3 , C 4 and C 5 , and the corresponding sliding window sequences of 5 sub-sliding window sequences C 1 , C 2 , C 3 , C 4 and C 5 The size relationship of the window weight is: A 1 <A 2 <A 3 , A 3 > A 4 >A 5 ; then, the largest sliding window weight in the first sampling value sequence is C 3 , if the sampling value in C 3 The largest is the second sampling point, then the index of the second sampling point in C 3 will be recorded as the peak point index; the first sampling value sequence is divided into two parts by the second sampling point of C 3 and recorded as left, Right sample value sequence; for the left and right sample value sequences, continue to mark the peak point index in the above way until the sequence length of the separated left and right sample value sequences is lower than the minimum sequence length;
步骤66,将第一包络线上,与所有峰值点索引P对应的采样点作为第一峰值点。Step 66: Use the sampling points corresponding to all peak point indexes P on the first envelope as the first peak point.
步骤7,对各个第一峰值点进行左右基线点识别处理标记出对应的第一左 基线点和第一右基线点; Step 7, carry out left and right baseline point recognition processing to each first peak point and mark corresponding first left baseline point and first right baseline point;
具体包括:步骤71,在第一包络线上,以各个第一峰值点为当前峰值点;It specifically includes: step 71, on the first envelope, using each first peak point as the current peak point;
步骤72,按预设的时间长度阈值,从当前峰值点向左和向右分别划分出一个对应的左包络线区间和右包络线区间;Step 72, dividing a corresponding left envelope interval and a right envelope interval from the current peak point to the left and right according to the preset time length threshold;
这里,时间长度阈值常规情况下设为半个心搏周期时长也就是时间长度阈值=心搏周期时长/2;对于心搏周期时长的计算方法有多种,可以对当前峰值点与前后峰值点的峰-峰间距取平均值作为该心搏周期时长,也可对第一包络线上所有相邻峰值点的峰-峰间距取平均值作为该心搏周期时长;Here, the time length threshold is generally set to half the heart cycle length, that is, the time length threshold = heart cycle length/2; there are many ways to calculate the heart cycle length, and the current peak point and the front and rear peak points The average value of the peak-to-peak distance of the first envelope can be taken as the duration of the heartbeat cycle, and the average value of the peak-to-peak distance of all adjacent peak points on the first envelope can be taken as the duration of the heartbeat cycle;
步骤73,将左包络线区间和右包络线区间上的最小包络线幅值记为对应的左区间最小值和右区间最小值;Step 73, record the minimum envelope amplitude on the left envelope interval and the right envelope interval as the corresponding left interval minimum value and right interval minimum value;
这里,在理想情况下包络线基线没有发生任何漂移、包络线波形也没有因毛刺或干扰导致的局部极大、极小值时,左、右包络线区间上最小包络线幅值对应的点应是一个谷值点;但在实际情况中,包络线基线经常发生局部漂移且包络线波形也可能因毛刺或干扰导致在波形上升或下降沿上存在局部极大、极小值,这种情况下,左、右包络线区间上最小包络线幅值对应的点可能是一个谷值点也可能是左、右包络线区间边界的上升沿或下降沿上的一个最小值点;这里之所以要提取左区间最小值和右区间最小值,是为了将二者作为左、右包络线区间的参考基线零点来弱化因基线漂移、包络线波形毛刺导致的基线点提取误差;Here, under ideal conditions, when there is no drift in the baseline of the envelope, and the envelope waveform has no local maximum or minimum value caused by burrs or interference, the minimum envelope amplitude on the left and right envelope intervals The corresponding point should be a valley point; but in actual situations, the baseline of the envelope often drifts locally and the envelope waveform may also have local maximum and minimum on the rising or falling edge of the waveform due to glitches or interference value, in this case, the point corresponding to the minimum envelope amplitude on the left and right envelope intervals may be a valley point or a rising or falling edge of the left and right envelope interval boundaries The minimum value point; the reason why the minimum value of the left interval and the minimum value of the right interval are extracted here is to use the two as the reference baseline zero point of the left and right envelope intervals to weaken the baseline caused by baseline drift and envelope waveform burrs point extraction error;
步骤74,在左包络线区间上,从当前峰值点出发向左进行左侧谷值点遍历;遍历时,计算当前峰值点的幅值与左区间最小值的差值生成第一幅差,计算当前左侧谷值点的幅值与左区间最小值的差值生成第二幅差,计算第二幅差与第一幅差的比值生成第一比值,若第一比值小于预设误差范围则将当前左侧谷值点作为与当前峰值点对应的第一左基线点并停止继续遍历,若第一比值大于或等于预设误差范围则转至下一个左侧谷值点继续遍历;Step 74, starting from the current peak point and traversing the left valley point to the left on the left envelope interval; when traversing, calculating the difference between the amplitude of the current peak point and the minimum value of the left interval to generate the first amplitude difference, Calculate the difference between the amplitude of the current left valley point and the minimum value of the left interval to generate the second amplitude difference, calculate the ratio of the second amplitude difference to the first amplitude difference to generate the first ratio, if the first ratio is less than the preset error range Then use the current left valley point as the first left baseline point corresponding to the current peak point and stop traversing, if the first ratio is greater than or equal to the preset error range, go to the next left valley point to continue traversing;
需要说明的是,如果左包络线区间上没有第一比值小于预设误差范围的 左侧谷值点,说明所有遍历的谷值点可能都是毛刺或干扰导致的波形上升或下降沿上的局部极大、极小值,此时将第一左基线点设定为左区间最小值对应的采样点;这里,预设误差范围可由多次试验之后得到的一个最佳值来进行设定;It should be noted that if there is no left valley point whose first ratio is less than the preset error range on the left envelope interval, it means that all traversed valley points may be caused by glitches or interference on the rising or falling edge of the waveform Local maximum and minimum values, at this time, set the first left baseline point as the sampling point corresponding to the minimum value of the left interval; here, the preset error range can be set by an optimal value obtained after multiple experiments;
步骤75,在右包络线区间上,从当前峰值点出发向右进行右侧谷值点遍历;遍历时,计算当前峰值点的幅值与右区间最小值的差值生成第三幅差,计算当前右侧谷值点的幅值与右区间最小值的差值生成第四幅差,计算第四幅差与第三幅差的比值生成第二比值,若第二比值小于预设误差范围则将当前右侧谷值点作为与当前峰值点对应的第一右基线点并停止继续遍历,若第二比值大于或等于预设误差范围则转至下一个右侧谷值点继续遍历。Step 75, starting from the current peak point on the right envelope interval, traversing the right valley point to the right; when traversing, calculating the difference between the amplitude of the current peak point and the minimum value of the right interval to generate a third difference, Calculate the difference between the amplitude of the current right valley point and the minimum value of the right interval to generate the fourth difference, calculate the ratio of the fourth difference to the third difference to generate the second ratio, if the second ratio is less than the preset error range Then use the current right valley point as the first right baseline point corresponding to the current peak point and stop traversing, if the second ratio is greater than or equal to the preset error range, go to the next right valley point to continue traversing.
需要说明的是,如果右包络线区间上没有第二比值小于预设误差范围的左侧谷值点,说明所有遍历的谷值点可能都是毛刺或干扰导致的波形上升或下降沿上的局部极大、极小值,此时将第一右基线点设定为右区间最小值对应的采样点;这里,预设误差范围可由多次试验之后得到的一个最佳值来进行设定。It should be noted that if there is no left valley point whose second ratio is smaller than the preset error range on the right envelope interval, it means that all traversed valley points may be caused by glitches or interference on the rising or falling edge of the waveform. Local maximum and minimum values, at this time, set the first right baseline point as the sampling point corresponding to the minimum value of the right interval; here, the preset error range can be set by an optimal value obtained after multiple experiments.
步骤8,根据完成峰值点和左右基线点标记的第一包络线,进行血流参数测算生成对应的血流参数组序列;Step 8, according to the completed peak point and the first envelope marked by the left and right baseline points, perform blood flow parameter calculation to generate a corresponding blood flow parameter group sequence;
其中,血流参数组序列包括多个血流参数组;血流参数组包括峰值流速参数、压力阶差参数、加速时间参数、减速时间参数、射血时间参数、压差减半时间参数和速度时间积分参数;血流参数组与第一峰值点一一对应;Wherein, the blood flow parameter group sequence includes a plurality of blood flow parameter groups; the blood flow parameter group includes a peak flow velocity parameter, a pressure gradient parameter, an acceleration time parameter, a deceleration time parameter, an ejection time parameter, a pressure difference halving time parameter and a speed Time integration parameters; the blood flow parameter group corresponds to the first peak point one by one;
具体包括:步骤81,在第一包络线上,以各个第一峰值点为当前峰值点,以当前峰值点对应的第一左基线点为当前左基线点,以当前峰值点对应的第一右基线点为当前右基线点;It specifically includes: step 81, on the first envelope, take each first peak point as the current peak point, take the first left baseline point corresponding to the current peak point as the current left baseline point, and take the first left baseline point corresponding to the current peak point The right baseline point is the current right baseline point;
步骤82,以当前峰值点到第四图像底部零线的垂直距离作为对应峰值距离h,根据预设的单位峰值距离血流速度V s和峰值距离h计算得到对应的峰值流速参数V max,V max=V s*h; Step 82, taking the vertical distance from the current peak point to the bottom zero line of the fourth image as the corresponding peak distance h, and calculating the corresponding peak flow velocity parameters V max according to the preset unit peak distance blood flow velocity V s and peak distance h, Vmax max =V s *h;
这里,常规情况下原始的二维频谱多普勒超声心动图像上都会有纵向单位距离与流速的标尺信息,第四图像从二维频谱多普勒超声心动图像剪裁而来但并未发生缩小、放大操作,所以可以沿用原始二维频谱多普勒超声心动图像上的纵向单位距离与流速的标尺信息也就是单位峰值距离血流速度V s来与各个采样点距离基线的距离相乘得到对应的采样点流速;那么若采样点为峰值点,则对应的采样点流速就是峰值流速; Here, under normal circumstances, the original two-dimensional spectral Doppler echocardiographic image will have the scale information of longitudinal unit distance and flow velocity, and the fourth image is cut from the two-dimensional spectral Doppler echocardiographic image without shrinking. Zoom-in operation, so the longitudinal unit distance and flow velocity scale information on the original two-dimensional spectral Doppler echocardiography image, that is, the unit peak distance blood flow velocity V s can be used to multiply the distance from each sampling point to the baseline to obtain the corresponding Sampling point flow rate; then if the sampling point is the peak point, the corresponding sampling point flow rate is the peak flow rate;
步骤83,根据峰值流速参数V max,计算生成对应的压力阶差参数△P,其中,
Figure PCTCN2022097243-appb-000024
Step 83, calculate and generate the corresponding pressure gradient parameter ΔP according to the peak flow velocity parameter V max , where,
Figure PCTCN2022097243-appb-000024
这里,公知的由流体动力学简化伯努利方程推导出压力阶差(pressure gradient)与峰值流速的换算关系就是流速平方的四倍关系,所以直接将峰值流速参数V max带入换算关系即可获得压力阶差; Here, the well-known conversion relationship between the pressure gradient and the peak flow velocity derived from the simplified Bernoulli equation of fluid dynamics is the quadruple relationship of the square of the flow velocity, so the peak flow velocity parameter V max can be directly brought into the conversion relationship. get the pressure gradient;
步骤84,将当前左基线点到当前峰值点的时间间隔作为对应的加速时间参数T aStep 84, taking the time interval from the current left baseline point to the current peak point as the corresponding acceleration time parameter T a ;
这里,当前左基线点对应的时间点可视为当次心搏周期中的最小血流速度时间点,当前峰值点对应的时间点可视为当次心搏周期中的最大血流速度时间点,那么当次心搏周期中因心脏房室运动导致的当次血流速度的加速时间参数T a,自然以最大血流速度时间点减去加速前最小血流速度时间点的时间差来决定; Here, the time point corresponding to the current left baseline point can be regarded as the minimum blood flow velocity time point in the current cardiac cycle, and the time point corresponding to the current peak point can be regarded as the maximum blood flow velocity time point in the current cardiac cycle , then the acceleration time parameter T a of the current blood flow velocity caused by the heart atrioventricular movement in the current cardiac cycle is naturally determined by the time difference between the maximum blood flow velocity time point and the minimum blood flow velocity time point before acceleration;
步骤85,将当前峰值点到当前右基线点的时间间隔作为对应的减速时间参数T dStep 85, taking the time interval from the current peak point to the current right baseline point as the corresponding deceleration time parameter T d ;
这里,当前峰值点对应的时间点可视为当次心搏周期中的最大血流速度时间点,当前右基线点对应的时间点可视为当次心搏周期中的另一个最小血流速度时间点,那么当次心搏周期中因心脏房室运动导致的当次血流速度的减速时间参数T a,自然以减速后最小血流速度时间点减去最大血流速度时间点的时间差来决定; Here, the time point corresponding to the current peak point can be regarded as the maximum blood flow velocity time point in the current cardiac cycle, and the time point corresponding to the current right baseline point can be regarded as another minimum blood flow velocity in the current cardiac cycle time point, then the deceleration time parameter T a of the current blood flow velocity caused by the heart atrioventricular movement in the current cardiac cycle is naturally determined by the time difference of the minimum blood flow velocity time point after deceleration minus the maximum blood flow velocity time point Decide;
步骤86,将加速时间参数T a和减速时间参数T d的总和作为对应的射血时 间参数T eStep 86, taking the sum of the acceleration time parameter T a and the deceleration time parameter T d as the corresponding ejection time parameter T e ;
这里,射血时间可视为单次心搏周期中因心脏房室运动导致的当次血流速度从最小值到最大值的加速时间参数T a和再从最大值到最小值的减速时间参数T d的总和; Here, the ejection time can be regarded as the acceleration time parameter T a of the current blood flow velocity from the minimum value to the maximum value and the deceleration time parameter from the maximum value to the minimum value caused by the atrioventricular movement in a single heartbeat cycle sum of Td ;
步骤87,将第一包络线上从当前峰值点到当前右基线点的包络线片段记为当前片段;并在当前片段上,从当前峰值点起向右进行采样点遍历;遍历时,将当前采样点到第四图像底部零线的垂直距离作为对应的采样点距离h sam,并根据采样点距离h sam和单位峰值距离血流速度V s计算生成对应的采样点流速V sam=V s*h sam,并根据采样点流速V sam计算生成对应的采样点压力阶差
Figure PCTCN2022097243-appb-000025
并计算采样点压力阶差△P sam与压力阶差参数△P的比值生成第一比值,若第一比值进入预设的半值比例确认范围则停止遍历并将当前采样点作为压差半值采样点,若第一比值尚未进入半值比例确认范围则停转至下一个采样点继续遍历;并将当前峰值点到压差半值采样点的时间间隔作为对应的压差减半时间参数T P/2
Step 87, record the envelope segment from the current peak point to the current right baseline point on the first envelope as the current segment; and on the current segment, traverse the sampling points from the current peak point to the right; when traversing, Take the vertical distance from the current sampling point to the zero line at the bottom of the fourth image as the corresponding sampling point distance h sam , and calculate and generate the corresponding sampling point flow velocity V sam =V according to the sampling point distance h sam and the unit peak distance blood flow velocity V s s *h sam , and calculate and generate the corresponding sampling point pressure gradient according to the sampling point flow velocity V sam
Figure PCTCN2022097243-appb-000025
And calculate the ratio of the pressure gradient △P sam of the sampling point to the pressure gradient parameter △P to generate the first ratio, if the first ratio enters the preset half-value ratio confirmation range, stop traversing and use the current sampling point as the half-value of the pressure difference Sampling point, if the first ratio has not yet entered the half-value proportional confirmation range, stop and go to the next sampling point to continue traversing; and use the time interval from the current peak point to the pressure difference half-value sampling point as the corresponding pressure difference halving time parameter T P/2 ;
这里,压差半值采样点实际就是压力阶差相对峰值点减半的采样点,第一比值的理想值为0.5,在实际应用中很难达到,所以本发明实施例为理想值0.5定义了一个半值比例确认范围,也就是在0.5上下的一个浮动误差范围,只要第一比值进入该范围其对应的采样点即可被认为是压差半值采样点;Here, the half-value sampling point of the pressure difference is actually the sampling point where the pressure gradient is halved relative to the peak point. The ideal value of the first ratio is 0.5, which is difficult to achieve in practical applications, so the embodiment of the present invention defines the ideal value as 0.5 A half-value ratio confirmation range, that is, a floating error range around 0.5, as long as the first ratio enters this range, the corresponding sampling point can be considered as the half-value sampling point of the pressure difference;
步骤88,对从当前左基线点到当前右基线点的第一包络线片段进行速度积分运算生成对应的速度时间积分参数;Step 88, performing velocity integration calculation on the first envelope segment from the current left baseline point to the current right baseline point to generate corresponding velocity time integration parameters;
这里,速度时间积分参数常用于评估被测者的心脏功能强度等;Here, the speed-time integral parameter is often used to evaluate the cardiac function strength of the subject;
步骤89,将峰值流速参数V max、压力阶差参数△P、加速时间参数T a、减速时间参数T d、射血时间参数T e、压差减半时间参数T △P/2和速度时间积分参数,组成与当前峰值点对应的血流参数组;并将血流参数组向血流参数组序列添加。 Step 89, the peak flow velocity parameter V max , the pressure gradient parameter △P, the acceleration time parameter T a , the deceleration time parameter T d , the ejection time parameter T e , the pressure difference halving time parameter T △P/2 and the speed time Integrate parameters to form a blood flow parameter group corresponding to the current peak point; and add the blood flow parameter group to the blood flow parameter group sequence.
步骤9,计算血流参数组序列中各个同类参数的平均值,得到峰值流速平 均值、压力阶差平均值、加速时间平均值、减速时间平均值、射血时间平均值、压差减半时间平均值和速度时间积分平均值,并由所有平均值组成测量数据集合作为二维频谱多普勒超声心动图像的测量数据结果进行返回。Step 9, calculate the average value of each similar parameter in the blood flow parameter group sequence, and obtain the average value of peak flow velocity, average value of pressure gradient, average value of acceleration time, average value of deceleration time, average value of ejection time, and halving time of pressure difference The average value and the velocity-time-integrated average value, and the measurement data set composed of all average values is returned as the measurement data result of the two-dimensional spectral Doppler echocardiography image.
图3为本发明实施例二提供的一种二维频谱多普勒超声心动图像的处理装置的模块结构图,该装置可以为实现本发明实施例方法的终端设备或者服务器,也可以为与上述终端设备或者服务器连接的实现本发明实施例方法的装置,例如该装置可以是上述终端设备或者服务器的装置或芯片系统。如图3所示,该装置包括:获取模块201、图像预处理模块202、包络线处理模块203和血流参数计算模块204。FIG. 3 is a block diagram of a two-dimensional spectral Doppler echocardiographic image processing device provided in Embodiment 2 of the present invention. The device may be a terminal device or a server implementing the method of the embodiment of the present invention, or it may be the same as the above-mentioned The device connected to the terminal device or the server to implement the method of the embodiment of the present invention, for example, the device may be the device or chip system of the above-mentioned terminal device or server. As shown in FIG. 3 , the device includes: an acquisition module 201 , an image preprocessing module 202 , an envelope processing module 203 and a blood flow parameter calculation module 204 .
获取模块201用于获取二维频谱多普勒超声心动图像生成第一图像。The acquiring module 201 is configured to acquire a two-dimensional spectral Doppler echocardiographic image to generate a first image.
图像预处理模块202用于对第一图像进行感兴趣区域图像提取处理生成对应的第二图像;并对第二图像进行高斯模糊图像处理生成对应的第三图像;并对第三图像进行二值化处理生成对应的第四图像。The image preprocessing module 202 is used to perform region-of-interest image extraction processing on the first image to generate a corresponding second image; and perform Gaussian blur image processing on the second image to generate a corresponding third image; and perform binary processing on the third image processing to generate a corresponding fourth image.
包络线处理模块203用于对第四图像进行频谱包络线识别处理标记出对应的第一包络线;并对第一包络线进行峰值点识别处理标记出多个第一峰值点;并对各个第一峰值点进行左右基线点识别处理标记出对应的第一左基线点和第一右基线点。The envelope processing module 203 is used to perform spectrum envelope identification processing on the fourth image to mark the corresponding first envelope; and perform peak point identification processing on the first envelope to mark a plurality of first peak points; And perform left and right baseline point identification processing on each first peak point to mark the corresponding first left baseline point and first right baseline point.
血流参数计算模块204用于根据完成峰值点和左右基线点标记的第一包络线,进行血流参数测算生成对应的血流参数组序列;血流参数组序列包括多个血流参数组;血流参数组包括峰值流速参数、压力阶差参数、加速时间参数、减速时间参数、射血时间参数、压差减半时间参数和速度时间积分参数;血流参数组与第一峰值点一一对应。The blood flow parameter calculation module 204 is used to perform blood flow parameter calculation and generate a corresponding blood flow parameter set sequence according to the first envelope marked with the peak point and the left and right baseline points; the blood flow parameter set sequence includes multiple blood flow parameter sets ; The blood flow parameter group includes peak flow velocity parameters, pressure gradient parameters, acceleration time parameters, deceleration time parameters, ejection time parameters, pressure difference halving time parameters and velocity time integration parameters; the blood flow parameter group is the same as the first peak point One to one correspondence.
血流参数计算模块204还用于计算血流参数组序列中各个同类参数的平均值,得到峰值流速平均值、压力阶差平均值、加速时间平均值、减速时间平均值、射血时间平均值、压差减半时间平均值和速度时间积分平均值,并由所有平均值组成测量数据集合作为二维频谱多普勒超声心动图像的测量数据结 果进行返回。The blood flow parameter calculation module 204 is also used to calculate the average value of each similar parameter in the blood flow parameter group sequence to obtain the average value of peak flow velocity, average pressure gradient, average acceleration time, average deceleration time, and average ejection time , the mean value of the pressure difference halving time and the mean value of the velocity time integration, and the measurement data set composed of all the mean values is returned as the measurement data result of the two-dimensional spectral Doppler echocardiographic image.
本发明实施例提供的一种二维频谱多普勒超声心动图像的处理装置,可以执行上述方法实施例中的方法步骤,其实现原理和技术效果类似,在此不再赘述。An apparatus for processing two-dimensional spectral Doppler echocardiographic images provided by an embodiment of the present invention can execute the method steps in the above method embodiments, and its implementation principle and technical effect are similar, and will not be repeated here.
需要说明的是,应理解以上装置的各个模块的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块通过处理元件调用软件的形式实现,部分模块通过硬件的形式实现。例如,获取模块可以为单独设立的处理元件,也可以集成在上述装置的某一个芯片中实现,此外,也可以以程序代码的形式存储于上述装置的存储器中,由上述装置的某一个处理元件调用并执行以上确定模块的功能。其它模块的实现与之类似。此外这些模块全部或部分可以集成在一起,也可以独立实现。这里所描述的处理元件可以是一种集成电路,具有信号的处理能力。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be noted that it should be understood that the division of each module of the above device is only a division of logical functions, and may be fully or partially integrated into one physical entity or physically separated during actual implementation. And these modules can all be implemented in the form of calling software through processing elements; they can also be implemented in the form of hardware; some modules can also be implemented in the form of calling software through processing elements, and some modules can be implemented in the form of hardware. For example, the acquisition module can be a separate processing element, or it can be integrated into a chip of the above-mentioned device. In addition, it can also be stored in the memory of the above-mentioned device in the form of program code, and a certain processing element of the above-mentioned device can Call and execute the functions of the modules identified above. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, and can also be implemented independently. The processing element described here may be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
例如,以上这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit,ASIC),或,一个或多个数字信号处理器(Digital Signal Processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)等。再如,当以上某个模块通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(Central Processing Unit,CPU)或其它可以调用程序代码的处理器。再如,这些模块可以集成在一起,以片上系统(System-on-a-chip,SOC)的形式实现。For example, the above modules may be one or more integrated circuits configured to implement the above method, for example: one or more specific integrated circuits (Application Specific Integrated Circuit, ASIC), or, one or more digital signal processors ( Digital Signal Processor, DSP), or, one or more Field Programmable Gate Arrays (Field Programmable Gate Array, FPGA), etc. For another example, when one of the above modules is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processors that can call program codes. For another example, these modules can be integrated together and implemented in the form of a System-on-a-chip (SOC).
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该 计算机程序指令时,全部或部分地产生按照本发明实施例所描述的流程或功能。上述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。上述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,上述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线路(Digital Subscriber Line,DSL))或无线(例如红外、无线、蓝牙、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。上述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。上述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described according to the embodiments of the present invention will be generated in whole or in part. The above-mentioned computers may be general-purpose computers, special-purpose computers, computer networks, or other programmable devices. The above-mentioned computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. (such as coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (such as infrared, wireless, Bluetooth, microwave, etc.) to another website site, computer, server or data center. The above-mentioned computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The above-mentioned usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD)) and the like.
图4为本发明实施例三提供的一种电子设备的结构示意图。该电子设备可以为前述的终端设备或者服务器,也可以为与前述终端设备或者服务器连接的实现本发明实施例方法的终端设备或服务器。如图4所示,该电子设备可以包括:处理器301(例如CPU)、存储器302、收发器303;收发器303耦合至处理器301,处理器301控制收发器303的收发动作。存储器302中可以存储各种指令,以用于完成各种处理功能以及实现本发明上述实施例中提供的方法和处理过程。优选的,本发明实施例涉及的电子设备还包括:电源304、系统总线305以及通信端口306。系统总线305用于实现元件之间的通信连接。上述通信端口306用于电子设备与其他外设之间进行连接通信。FIG. 4 is a schematic structural diagram of an electronic device provided by Embodiment 3 of the present invention. The electronic device may be the aforementioned terminal device or server, or may be a terminal device or server connected to the aforementioned terminal device or server to implement the method of the embodiment of the present invention. As shown in FIG. 4 , the electronic device may include: a processor 301 (such as a CPU), a memory 302 , and a transceiver 303 ; Various instructions may be stored in the memory 302 for completing various processing functions and realizing the methods and processing procedures provided in the above-mentioned embodiments of the present invention. Preferably, the electronic device involved in this embodiment of the present invention further includes: a power supply 304 , a system bus 305 and a communication port 306 . The system bus 305 is used to realize the communication connection among the components. The above-mentioned communication port 306 is used for connection and communication between the electronic device and other peripheral devices.
在图4中提到的系统总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该系统总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。通信接口用于实现数据库访问装置与其他设备(例如客户端、读写库和只读库)之间的通信。存储器可能包含随机存 取存储器(Random Access Memory,RAM),也可能还包括非易失性存储器(Non-Volatile Memory),例如至少一个磁盘存储器。The system bus mentioned in FIG. 4 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus or the like. The system bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is used to realize the communication between the database access device and other devices (such as client, read-write library and read-only library). The memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory), such as at least one disk memory.
上述的处理器可以是通用处理器,包括中央处理器CPU、网络处理器(Network Processor,NP)等;还可以是数字信号处理器DSP、专用集成电路ASIC、现场可编程门阵列FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。Above-mentioned processor can be general-purpose processor, comprises central processing unit CPU, network processor (Network Processor, NP) etc.; Can also be digital signal processor DSP, application-specific integrated circuit ASIC, field programmable gate array FPGA or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components.
需要说明的是,本发明实施例还提供一种计算机可读存储介质,该存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述实施例中提供的方法和处理过程。It should be noted that the embodiments of the present invention also provide a computer-readable storage medium, and instructions are stored in the storage medium, and when the storage medium is run on a computer, the computer executes the methods and processing procedures provided in the above-mentioned embodiments.
本发明实施例还提供一种运行指令的芯片,该芯片用于执行上述实施例中提供的方法和处理过程。The embodiment of the present invention also provides a chip for running instructions, and the chip is used for executing the method and the processing procedure provided in the foregoing embodiments.
本发明实施例提供了一种二维频谱多普勒超声心动图像的处理方法、装置、电子设备及计算机可读存储介质,首先通过对原始的二维频谱多普勒超声心动图像进行感兴趣区域剪裁、高斯模糊处理和二值化处理来减少图像噪点、提高图像识别精度,然后通过对二值图进行频谱包络线提取来提高数据识别精度并同时增加了对连续数据的识别能力,然后通过使用高斯核权重滑窗对包络线进行滑窗权值运算来提高对包络线上正常信号峰值点的识别准确度,在得到峰值点之后通过与峰值点的幅差和时间间隔关系算出对应的左右基线点,最后基于各个峰值点及其对应的左右基线点不但可以得到与各个峰值点相关的峰值流速、加速时间、减速时间、射血时间还可以得到常规方法无法测量的血流量积分也就是速度时间积分和压力阶差及压力阶差减半时间,同时还能进一步转换得到各项测量参数的平均值。通过本发明,在基于频谱多普勒超声心动图进行血流参数测量时,不但可以解决因人工因素导致的测量准确度降低或测量质量不稳定等问题,还可以测量传统人工方式无法测量的其他数据,扩大了参数测量范围。Embodiments of the present invention provide a processing method, device, electronic equipment, and computer-readable storage medium for a two-dimensional spectral Doppler echocardiographic image. Clipping, Gaussian blur processing and binarization processing to reduce image noise and improve image recognition accuracy, and then extract the spectral envelope of the binary image to improve data recognition accuracy and increase the recognition ability of continuous data, and then pass Use the Gaussian kernel weight sliding window to perform sliding window weight calculation on the envelope to improve the recognition accuracy of the peak point of the normal signal on the envelope. After the peak point is obtained, the correspondence is calculated by the amplitude difference and time interval relationship with the peak point. Finally, based on each peak point and its corresponding left and right baseline points, not only the peak flow velocity, acceleration time, deceleration time, and ejection time related to each peak point can be obtained, but also the blood flow integral that cannot be measured by conventional methods can be obtained. It is the speed-time integral, the pressure gradient and the half-time of the pressure gradient, and at the same time, it can be further converted to obtain the average value of various measurement parameters. Through the present invention, when measuring blood flow parameters based on spectral Doppler echocardiography, not only can the problems of reduced measurement accuracy or unstable measurement quality caused by artificial factors be solved, but also other problems that cannot be measured by traditional manual methods can be measured. data, expanding the parameter measurement range.
专业人员应该还可以进一步意识到,结合本文中所公开的实施例描述的 各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals should further realize that the units and algorithm steps described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the relationship between hardware and software Interchangeability. In the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans 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 invention.
结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. Protection scope, within the spirit and principles of the present invention, any modification, equivalent replacement, improvement, etc., shall be included in the protection scope of the present invention.

Claims (9)

  1. 一种二维频谱多普勒超声心动图像的处理方法,其特征在于,所述方法包括:A method for processing two-dimensional spectral Doppler echocardiographic images, characterized in that the method comprises:
    获取二维频谱多普勒超声心动图像生成第一图像;acquiring a two-dimensional spectral Doppler echocardiographic image to generate a first image;
    对所述第一图像进行感兴趣区域图像提取处理生成对应的第二图像;performing region-of-interest image extraction processing on the first image to generate a corresponding second image;
    对所述第二图像进行高斯模糊图像处理生成对应的第三图像;performing Gaussian blur image processing on the second image to generate a corresponding third image;
    对所述第三图像进行二值化处理生成对应的第四图像;performing binarization processing on the third image to generate a corresponding fourth image;
    对所述第四图像进行频谱包络线识别处理标记出对应的第一包络线;performing spectrum envelope identification processing on the fourth image to mark the corresponding first envelope;
    对所述第一包络线进行峰值点识别处理标记出多个第一峰值点;performing peak point identification processing on the first envelope to mark a plurality of first peak points;
    对各个所述第一峰值点进行左右基线点识别处理标记出对应的第一左基线点和第一右基线点;Perform left and right baseline point identification processing on each of the first peak points to mark the corresponding first left baseline point and first right baseline point;
    根据完成峰值点和左右基线点标记的所述第一包络线,进行血流参数测算生成对应的血流参数组序列;所述血流参数组序列包括多个血流参数组;所述血流参数组包括峰值流速参数、压力阶差参数、加速时间参数、减速时间参数、射血时间参数、压差减半时间参数和速度时间积分参数;所述血流参数组与所述第一峰值点一一对应;According to the first envelope marked with the peak point and the left and right baseline points, perform blood flow parameter calculation to generate a corresponding blood flow parameter set sequence; the blood flow parameter set sequence includes multiple blood flow parameter sets; the blood flow parameter set sequence includes multiple blood flow parameter sets; The flow parameter group includes a peak flow velocity parameter, a pressure gradient parameter, an acceleration time parameter, a deceleration time parameter, an ejection time parameter, a pressure difference halving time parameter and a velocity time integration parameter; the blood flow parameter group is related to the first peak value One-to-one correspondence;
    计算所述血流参数组序列中各个同类参数的平均值,得到峰值流速平均值、压力阶差平均值、加速时间平均值、减速时间平均值、射血时间平均值、压差减半时间平均值和速度时间积分平均值,并由所有平均值组成测量数据集合作为所述二维频谱多普勒超声心动图像的测量数据结果进行返回。Calculate the average value of each similar parameter in the blood flow parameter group sequence to obtain the average peak flow velocity, average pressure gradient, average acceleration time, average deceleration time, average ejection time, and average pressure difference halving time value and velocity-time-integrated average, and a measurement data set composed of all the average values is returned as the measurement data result of the two-dimensional spectral Doppler echocardiographic image.
  2. 根据权利要求1所述的二维频谱多普勒超声心动图像的处理方法,其特征在于,所述对所述第一图像进行感兴趣区域图像提取处理生成对应的第二图像,具体包括:The method for processing two-dimensional spectral Doppler echocardiographic images according to claim 1, wherein said performing region-of-interest image extraction processing on said first image to generate a corresponding second image specifically includes:
    对所述第一图像进行血流速度零线识别处理标记出对应的第一零线;Perform blood flow velocity zero line identification processing on the first image to mark the corresponding first zero line;
    若所述第一图像中的频谱图像大峰值朝上,则提取所述第一图像中从图像顶部到所述第一零线的子图像作为第一子图像;若所述第一图像中的频谱 图像大峰值朝下,则提取所述第一图像中从所述第一零线到图像底部的子图像,并对提取出的子图像进行图像翻转处理生成所述第一子图像;所述第一子图像的图像底部均为所述第一零线;If the large peak of the spectrum image in the first image is upward, then extract the sub-image from the top of the image to the first zero line in the first image as the first sub-image; if the first image in the first image If the large peak of the spectral image is facing downward, then extract the sub-image from the first zero line to the bottom of the image in the first image, and perform image flip processing on the extracted sub-image to generate the first sub-image; The bottom of the image of the first sub-image is the first zero line;
    对所述第一子图像的每行像素点的像素值总和进行统计,生成对应的第一行像素总和;并将数值最小的所述第一行像素总和对应的图像行记为最小像素行;并将所述第一子图像中从所述最小像素行到图像底部的子图像作为感兴趣区域图像进行提取,生成所述第二图像。The sum of the pixel values of each row of pixels in the first sub-image is counted to generate a corresponding first row of pixel sums; and the image row corresponding to the first row of pixel sums with the smallest numerical value is recorded as the smallest pixel row; and extracting the sub-image from the minimum pixel row to the bottom of the image in the first sub-image as an image of the region of interest to generate the second image.
  3. 根据权利要求1所述的二维频谱多普勒超声心动图像的处理方法,其特征在于,所述对所述第四图像进行频谱包络线识别处理标记出对应的第一包络线,具体包括:The method for processing two-dimensional spectral Doppler echocardiographic images according to claim 1, characterized in that, performing spectrum envelope recognition processing on the fourth image to mark the corresponding first envelope, specifically include:
    将所述第四图像向左旋转90°生成对应的第一转置二值图;Rotate the fourth image to the left by 90° to generate a corresponding first transposed binary image;
    对所述第一转置二值图进行逐行检查,将当前行中像素值均为预设的前景点像素值的连续像素点进行聚类,生成对应的连续像素点序列;Carrying out row-by-row inspection on the first transposed binary image, clustering the continuous pixel points whose pixel values in the current row are preset foreground point pixel values, and generating a corresponding sequence of continuous pixel points;
    对同一行的多个所述连续像素点序列进行最优序列筛选,将像素点数量最多作为与当前行对应的最优连续像素点序列;并将各个所述最优连续像素点序列中的左边界像素点标记为行边界点;Optimum sequence screening is carried out to a plurality of said continuous pixel point sequences of the same row, and the maximum number of pixels is used as the optimal continuous pixel point sequence corresponding to the current row; Boundary pixel points are marked as row boundary points;
    按所述第一转置二值图与所述第四图像的像素点坐标转置对应关系,将所述第四图像中与各个所述行边界点对应的像素点记为列边界点;According to the corresponding relationship between the pixel coordinate transposition of the first transposed binary image and the fourth image, the pixel points corresponding to each of the row boundary points in the fourth image are recorded as column boundary points;
    对所述列边界点进行依次连接得到第一连接线;并对所述第一连接线进行光滑处理得到所述第一包络线;并在所述第四图像上完成对所述第一包络线的标记处理。Connecting the column boundary points sequentially to obtain a first connection line; and smoothing the first connection line to obtain the first envelope; and completing the first envelope on the fourth image Marking of threads.
  4. 根据权利要求1所述的二维频谱多普勒超声心动图像的处理方法,其特征在于,所述对所述第一包络线进行峰值点识别处理标记出多个第一峰值点,具体包括:The method for processing two-dimensional spectral Doppler echocardiographic images according to claim 1, characterized in that, performing peak point identification processing on the first envelope to mark a plurality of first peak points specifically includes :
    以所述第一包络线的各个采样点到第四图像底部零线的垂直距离为采样点的采样值,对所述第一包络线的各个采样点的采样值进行统计,生成第一采 样值序列为{x 1,x 2…x i…x n},i为采样点索引,1≤i≤n,x i为各个采样点的采样值,n为所述第一包络线的采样点总数; Taking the vertical distance from each sampling point of the first envelope to the zero line at the bottom of the fourth image as the sampling value of the sampling point, performing statistics on the sampling values of each sampling point of the first envelope to generate the first The sampling value sequence is {x 1 , x 2 ... x i ... x n }, i is the sampling point index, 1≤i≤n, x i is the sampling value of each sampling point, n is the first envelope Total number of sampling points;
    构建高斯核权重滑窗;设定所述高斯核权重滑窗的滑窗宽度w;设定所述高斯核权重滑窗内的采样值序列为{s 1…s j…s w},j为滑窗内采样点索引,1≤j≤w,s j为滑窗内各个采样点的采样值;根据标准高斯函数
    Figure PCTCN2022097243-appb-100001
    以滑窗内的最大采样值s max对应的最大采样点索引j max为均值μ,以四分之一滑窗宽度w/4为方差σ,构建所述高斯核权重滑窗内各个采样点的高斯核系数运算函数为
    Figure PCTCN2022097243-appb-100002
    k j为所述高斯核权重滑窗内各个采样点的高斯核系数;根据所述高斯核系数运算函数,构建所述高斯核权重滑窗的滑窗权值运算函数为
    Figure PCTCN2022097243-appb-100003
    A为滑窗权值,k’ j为与滑窗内各个所述高斯核系数k j对应的归一化高斯核系数;
    Construct a Gaussian kernel weight sliding window; set the sliding window width w of the Gaussian kernel weight sliding window; set the sampling value sequence in the Gaussian kernel weight sliding window as {s 1 ... s j ... s w }, j is The index of the sampling point in the sliding window, 1≤j≤w, s j is the sampling value of each sampling point in the sliding window; according to the standard Gaussian function
    Figure PCTCN2022097243-appb-100001
    Taking the maximum sampling point index j max corresponding to the maximum sampling value s max in the sliding window as the mean value μ, and taking a quarter of the sliding window width w/4 as the variance σ, construct the weight of each sampling point in the Gaussian kernel weight sliding window The Gaussian kernel coefficient operation function is
    Figure PCTCN2022097243-appb-100002
    k j is the Gaussian kernel coefficient of each sampling point in the Gaussian kernel weight sliding window; according to the Gaussian kernel coefficient operation function, the sliding window weight operation function of the Gaussian kernel weight sliding window is constructed as
    Figure PCTCN2022097243-appb-100003
    A is the sliding window weight, and k' j is the normalized Gaussian kernel coefficient corresponding to each described Gaussian kernel coefficient k j in the sliding window;
    在所述第一采样值序列{x 1,x 2…x i…x n}中,从第一个采样值x 1开始,以步长为1、以所述滑窗宽度w为滑窗采样点数量,将所述第一采样值序列{x 1,x 2…x i…x n}切分成第二数量的子滑窗序列C h;所述子滑窗序列C h为{x i=h,x i=h +1…x i=h+w-1},h为子滑窗索引,1≤h≤第二数量,第二数量=n-w+1; In the first sample value sequence {x 1 , x 2 ... x i ... x n }, starting from the first sample value x 1 , the sliding window is sampled with a step size of 1 and the sliding window width w The number of points, the first sampling value sequence {x 1 , x 2 ... x i ... x n } is divided into the second number of sub-sliding window sequences C h ; the sub-sliding window sequence C h is {xi = h , x i=h +1 ... x i=h+w-1 }, h is the sub-sliding window index, 1≤h≤the second number, the second number=n-w+1;
    使用所述高斯核权重滑窗对各个所述子滑窗序列C h进行滑窗权值运算;运算过程中,将所述当前子滑窗序列C h的各个采样值转换为对应的滑窗内采样值s j,并将其中的最大值作为最大采样值s max,并将最大采样值s max在滑窗内的采样点索引作为对应的最大采样点索引j max;并将各个滑窗内采样值s j的采样点索引及最大采样点索引j max,代入所述高斯核系数运算函数进行运算得到多个高斯核系数k j;并对当前的所有高斯核系数k j进行归一化处理得到多个归一化高斯核系数k’ j;并将当前的所有归一化高斯核系数k’ j及其对应的滑窗内采样值s j代入所述滑窗权值运算函数进行运算得到对应的滑窗权值A hUse the Gaussian kernel weight sliding window to perform a sliding window weight calculation on each of the sub-sliding window sequences C h ; during the operation, each sampling value of the current sub-sliding window sequence C h is converted into Sampling value s j , and taking the maximum value as the maximum sampling value s max , and taking the sampling point index of the maximum sampling value s max in the sliding window as the corresponding maximum sampling point index j max ; and sampling in each sliding window The sampling point index of the value s j and the maximum sampling point index j max are substituted into the Gaussian kernel coefficient operation function to obtain a plurality of Gaussian kernel coefficients k j ; and normalize all current Gaussian kernel coefficients k j to obtain A plurality of normalized Gaussian kernel coefficients k'j; and all current normalized Gaussian kernel coefficients k' j and their corresponding sampling values s j in the sliding window are substituted into the sliding window weight calculation function to obtain the corresponding The sliding window weight A h of ;
    将所述第一采样值序列{x 1,x 2…x i…x n}记为当前序列;并将所述当前序列上所述滑窗权值A h为最大值的所述子滑窗序列C h,标记为当前子滑窗序列; 并将所述当前子滑窗序列上最大采样值对应的采样点索引,标记为峰值点索引P;并以所述峰值点索引P,将所述当前采样值序列分为左右部分记为左采样值序列和右采样值序列;并分别以所述左、右采样值序列为新的当前采样值序列,继续在所述新的当前采样值序列中对最大滑窗权值对应的子滑窗序列的最大采样值的采样点索引进行峰值点索引标记处理,直到所述新的当前采样值序列的序列长度低于预设的最小序列长度为止; Record the first sequence of sampled values {x 1 , x 2 ... x i ... x n } as the current sequence; The sequence C h is marked as the current sub-sliding window sequence; and the sampling point index corresponding to the maximum sampling value on the current sub-sliding window sequence is marked as the peak point index P; and the peak point index P is used to set the The current sampling value sequence is divided into left and right parts and is recorded as a left sampling value sequence and a right sampling value sequence; Perform peak point index marking processing on the sampling point index of the maximum sampling value of the sub-sliding window sequence corresponding to the maximum sliding window weight until the sequence length of the new current sampling value sequence is lower than the preset minimum sequence length;
    将所述第一包络线上,与所有所述峰值点索引P对应的采样点作为所述第一峰值点。Taking the sampling points corresponding to all the peak point indexes P on the first envelope as the first peak point.
  5. 根据权利要求1所述的二维频谱多普勒超声心动图像的处理方法,其特征在于,所述对各个所述第一峰值点进行左右基线点识别处理标记出对应的第一左基线点和第一右基线点,具体包括:The method for processing two-dimensional spectral Doppler echocardiographic images according to claim 1, wherein the left and right baseline point identification processing is performed on each of the first peak points to mark the corresponding first left baseline point and The first right baseline point, specifically including:
    在所述第一包络线上,以各个所述第一峰值点为当前峰值点;On the first envelope, each of the first peak points is the current peak point;
    按预设的时间长度阈值,从所述当前峰值点向左和向右分别划分出一个对应的左包络线区间和右包络线区间;According to the preset time length threshold, a corresponding left envelope interval and a right envelope interval are respectively divided from the current peak point to the left and right;
    将所述左包络线区间和右包络线区间上的最小包络线幅值记为对应的左区间最小值和右区间最小值;Record the minimum envelope amplitude on the left envelope interval and the right envelope interval as the corresponding left interval minimum and right interval minimum;
    在所述左包络线区间上,从所述当前峰值点出发向左进行左侧谷值点遍历;遍历时,计算所述当前峰值点的幅值与所述左区间最小值的差值生成第一幅差,计算当前左侧谷值点的幅值与所述左区间最小值的差值生成第二幅差,计算所述第二幅差与所述第一幅差的比值生成第一比值,若所述第一比值小于预设误差范围则将所述当前左侧谷值点作为与所述当前峰值点对应的所述第一左基线点并停止继续遍历,若所述第一比值大于或等于预设误差范围则转至下一个左侧谷值点继续遍历;On the left envelope interval, start from the current peak point to traverse the left valley point to the left; when traversing, calculate the difference between the amplitude of the current peak point and the minimum value of the left interval to generate The first difference, calculate the difference between the amplitude of the current left valley point and the minimum value of the left interval to generate the second difference, calculate the ratio of the second difference to the first difference to generate the first difference Ratio, if the first ratio is less than the preset error range, then use the current left valley point as the first left baseline point corresponding to the current peak point and stop traversing, if the first ratio If it is greater than or equal to the preset error range, go to the next left valley point and continue traversing;
    在所述右包络线区间上,从所述当前峰值点出发向右进行右侧谷值点遍历;遍历时,计算所述当前峰值点的幅值与所述右区间最小值的差值生成第三幅差,计算当前右侧谷值点的幅值与所述右区间最小值的差值生成第四幅差, 计算所述第四幅差与所述第三幅差的比值生成第二比值,若所述第二比值小于预设误差范围则将所述当前右侧谷值点作为与所述当前峰值点对应的所述第一右基线点并停止继续遍历,若所述第二比值大于或等于预设误差范围则转至下一个右侧谷值点继续遍历。On the right envelope line interval, start from the current peak point to the right to traverse the right valley point; when traversing, calculate the difference between the amplitude of the current peak point and the minimum value of the right interval to generate The third difference is to calculate the difference between the amplitude of the current right valley point and the minimum value of the right interval to generate the fourth difference, and to calculate the ratio of the fourth difference to the third difference to generate the second difference. Ratio, if the second ratio is less than the preset error range, then use the current right valley point as the first right baseline point corresponding to the current peak point and stop traversing, if the second ratio If it is greater than or equal to the preset error range, go to the next valley point on the right to continue traversing.
  6. 根据权利要求1所述的二维频谱多普勒超声心动图像的处理方法,其特征在于,所述根据完成峰值点和左右基线点标记的所述第一包络线,进行血流参数测算生成对应的血流参数组序列,具体包括:The method for processing two-dimensional spectral Doppler echocardiographic images according to claim 1, wherein the blood flow parameters are calculated and generated according to the first envelope marked with the peak point and the left and right baseline points The corresponding blood flow parameter set sequence specifically includes:
    在所述第一包络线上,以各个所述第一峰值点为当前峰值点,以所述当前峰值点对应的所述第一左基线点为当前左基线点,以所述当前峰值点对应的所述第一右基线点为当前右基线点;On the first envelope, take each of the first peak points as the current peak point, take the first left baseline point corresponding to the current peak point as the current left baseline point, and take the current peak point as the current left baseline point. The corresponding first right baseline point is the current right baseline point;
    以所述当前峰值点到第四图像底部零线的垂直距离作为对应峰值距离h,根据预设的单位峰值距离血流速度V s和所述峰值距离h计算得到对应的所述峰值流速参数V max,V max=V s*h; Taking the vertical distance from the current peak point to the bottom zero line of the fourth image as the corresponding peak distance h, and calculating the corresponding peak flow velocity parameter V according to the preset unit peak distance blood flow velocity V s and the peak distance h max , V max =V s *h;
    根据所述峰值流速参数V max,计算生成对应的所述压力阶差参数△P,其中,
    Figure PCTCN2022097243-appb-100004
    Calculate and generate the corresponding pressure gradient parameter ΔP according to the peak flow velocity parameter V max , wherein,
    Figure PCTCN2022097243-appb-100004
    将所述当前左基线点到所述当前峰值点的时间间隔作为对应的所述加速时间参数T aTaking the time interval from the current left baseline point to the current peak point as the corresponding acceleration time parameter T a ;
    将所述当前峰值点到所述当前右基线点的时间间隔作为对应的所述减速时间参数T dTaking the time interval from the current peak point to the current right baseline point as the corresponding deceleration time parameter T d ;
    将所述加速时间参数T a和所述减速时间参数T d的总和作为对应的所述射血时间参数T eTaking the sum of the acceleration time parameter T a and the deceleration time parameter T d as the corresponding ejection time parameter T e ;
    将所述第一包络线上从所述当前峰值点到所述当前右基线点的包络线片段记为当前片段;并在所述当前片段上,从所述当前峰值点起向右进行采样点遍历;遍历时,将当前采样点到第四图像底部零线的垂直距离作为对应的采样点距离h sam,并根据所述采样点距离h sam和所述单位峰值距离血流速度V s计算生成对应的采样点流速V sam=V s*h sam,并根据所述采样点流速V sam计算生成对应 的采样点压力阶差
    Figure PCTCN2022097243-appb-100005
    并计算所述采样点压力阶差△P sam与所述压力阶差参数△P的比值生成第一比值,若所述第一比值进入预设的半值比例确认范围则停止遍历并将所述当前采样点作为压差半值采样点,若所述第一比值尚未进入所述半值比例确认范围则停转至下一个采样点继续遍历;并将所述当前峰值点到所述压差半值采样点的时间间隔作为对应的所述压差减半时间参数T △P/2
    Record the envelope segment from the current peak point to the current right baseline point on the first envelope as the current segment; and on the current segment, proceed to the right from the current peak point Sampling point traversal; when traversing, the vertical distance from the current sampling point to the bottom zero line of the fourth image is taken as the corresponding sampling point distance h sam , and according to the sampling point distance h sam and the unit peak distance blood flow velocity V s Calculate and generate the corresponding sampling point flow velocity V sam =V s *h sam , and calculate and generate the corresponding sampling point pressure gradient according to the sampling point flow velocity V sam
    Figure PCTCN2022097243-appb-100005
    And calculate the ratio of the pressure gradient ΔP sam of the sampling point to the pressure gradient parameter ΔP to generate a first ratio, if the first ratio enters the preset half value ratio confirmation range, stop traversing and put the The current sampling point is used as the half-value sampling point of the pressure difference. If the first ratio has not yet entered the half-value ratio confirmation range, it will stop and go to the next sampling point to continue traversing; The time interval between value sampling points is used as the corresponding pressure difference halving time parameter T ΔP/2 ;
    对从所述当前左基线点到所述当前右基线点的第一包络线片段进行速度积分运算生成对应的所述速度时间积分参数;performing a velocity integration operation on the first envelope segment from the current left baseline point to the current right baseline point to generate the corresponding velocity time integration parameter;
    将所述峰值流速参数V max、所述压力阶差参数△P、所述加速时间参数T a、所述减速时间参数T d、所述射血时间参数T e、所述压差减半时间参数T △P/2和所述速度时间积分参数,组成与所述当前峰值点对应的所述血流参数组;并将所述血流参数组向所述血流参数组序列添加。 The peak flow velocity parameter V max , the pressure gradient parameter ΔP, the acceleration time parameter T a , the deceleration time parameter T d , the ejection time parameter T e , and the pressure difference halving time The parameter T ΔP/2 and the velocity-time integral parameter form the blood flow parameter set corresponding to the current peak point; and add the blood flow parameter set to the blood flow parameter set sequence.
  7. 一种用于实现权利要求1-6任一项所述的二维频谱多普勒超声心动图像的处理方法步骤的装置,其特征在于,所述装置包括:获取模块、图像预处理模块、包络线处理模块和血流参数计算模块;A device for realizing the steps of the method for processing two-dimensional spectral Doppler echocardiographic images described in any one of claims 1-6, wherein the device comprises: an acquisition module, an image preprocessing module, a package A network line processing module and a blood flow parameter calculation module;
    所述获取模块用于获取二维频谱多普勒超声心动图像生成第一图像;The acquiring module is used to acquire a two-dimensional spectral Doppler echocardiographic image to generate a first image;
    所述图像预处理模块用于对所述第一图像进行感兴趣区域图像提取处理生成对应的第二图像;并对所述第二图像进行高斯模糊图像处理生成对应的第三图像;并对所述第三图像进行二值化处理生成对应的第四图像;The image preprocessing module is used to perform region-of-interest image extraction processing on the first image to generate a corresponding second image; and perform Gaussian blur image processing on the second image to generate a corresponding third image; and The third image is binarized to generate a corresponding fourth image;
    所述包络线处理模块用于对所述第四图像进行频谱包络线识别处理标记出对应的第一包络线;并对所述第一包络线进行峰值点识别处理标记出多个第一峰值点;并对各个所述第一峰值点进行左右基线点识别处理标记出对应的第一左基线点和第一右基线点;The envelope processing module is used to perform spectrum envelope identification processing on the fourth image to mark the corresponding first envelope; and perform peak point identification processing on the first envelope to mark multiple The first peak point; and performing left and right baseline point identification processing on each of the first peak points to mark the corresponding first left baseline point and first right baseline point;
    所述血流参数计算模块用于根据完成峰值点和左右基线点标记的所述第一包络线,进行血流参数测算生成对应的血流参数组序列;所述血流参数组序列包括多个血流参数组;所述血流参数组包括峰值流速参数、压力阶差参数、 加速时间参数、减速时间参数、射血时间参数、压差减半时间参数和速度时间积分参数;所述血流参数组与所述第一峰值点一一对应;The blood flow parameter calculation module is used to perform blood flow parameter calculation and generate a corresponding blood flow parameter set sequence according to the first envelope marked with the peak point and the left and right baseline points; the blood flow parameter set sequence includes multiple A blood flow parameter group; the blood flow parameter group includes a peak flow velocity parameter, a pressure gradient parameter, an acceleration time parameter, a deceleration time parameter, an ejection time parameter, a pressure difference halving time parameter and a velocity time integral parameter; The flow parameter group is in one-to-one correspondence with the first peak point;
    所述血流参数计算模块还用于计算所述血流参数组序列中各个同类参数的平均值,得到峰值流速平均值、压力阶差平均值、加速时间平均值、减速时间平均值、射血时间平均值、压差减半时间平均值和速度时间积分平均值,并由所有平均值组成测量数据集合作为所述二维频谱多普勒超声心动图像的测量数据结果进行返回。The blood flow parameter calculation module is also used to calculate the average value of each similar parameter in the blood flow parameter group sequence to obtain the average value of peak flow velocity, average value of pressure gradient, average value of acceleration time, average value of deceleration time, and ejection time. The time average value, the pressure difference halving time average value and the velocity time integral average value, and all the average values form a measurement data set to be returned as the measurement data results of the two-dimensional spectral Doppler echocardiographic image.
  8. 一种电子设备,其特征在于,包括:存储器、处理器和收发器;An electronic device, characterized in that it includes: a memory, a processor, and a transceiver;
    所述处理器用于与所述存储器耦合,读取并执行所述存储器中的指令,以实现权利要求1-6任一项所述的方法步骤;The processor is configured to be coupled to the memory, read and execute instructions in the memory, so as to implement the method steps described in any one of claims 1-6;
    所述收发器与所述处理器耦合,由所述处理器控制所述收发器进行消息收发。The transceiver is coupled to the processor, and the processor controls the transceiver to send and receive messages.
  9. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机指令,当所述计算机指令被计算机执行时,使得所述计算机执行权利要求1-6任一项所述的方法的指令。A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a computer, the computer executes the method described in any one of claims 1-6. method directive.
PCT/CN2022/097243 2022-01-07 2022-06-07 Method and apparatus for processing two-dimensional spectral doppler echocardiographic image WO2023130661A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210018428.3 2022-01-07
CN202210018428.3A CN114376603B (en) 2022-01-07 2022-01-07 Processing method and device for two-dimensional spectrum Doppler ultrasound cardiac image

Publications (1)

Publication Number Publication Date
WO2023130661A1 true WO2023130661A1 (en) 2023-07-13

Family

ID=81200111

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/097243 WO2023130661A1 (en) 2022-01-07 2022-06-07 Method and apparatus for processing two-dimensional spectral doppler echocardiographic image

Country Status (2)

Country Link
CN (1) CN114376603B (en)
WO (1) WO2023130661A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114376603B (en) * 2022-01-07 2023-11-28 乐普(北京)医疗器械股份有限公司 Processing method and device for two-dimensional spectrum Doppler ultrasound cardiac image

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006051285A (en) * 2004-08-16 2006-02-23 Aloka Co Ltd Ultrasonic diagnostic equipment
CN105105741A (en) * 2015-07-15 2015-12-02 无锡海鹰电子医疗系统有限公司 Envelope line extracting and feature point tracking method of pulse wave image
CN112597982A (en) * 2021-03-04 2021-04-02 中国人民解放军总医院 Image classification method, device, equipment and medium based on artificial intelligence
CN113288214A (en) * 2021-06-29 2021-08-24 逸超科技(北京)有限公司 Method and device for processing ultrasonic Doppler frequency spectrum data and readable storage medium
CN113679419A (en) * 2021-08-24 2021-11-23 苏州圣泽医疗科技有限公司 Adjustable Doppler spectrum envelope parameter calculation method
CN114376603A (en) * 2022-01-07 2022-04-22 乐普(北京)医疗器械股份有限公司 Two-dimensional spectrum Doppler ultrasonic cardiogram image processing method and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9204858B2 (en) * 2010-02-05 2015-12-08 Ultrasonix Medical Corporation Ultrasound pulse-wave doppler measurement of blood flow velocity and/or turbulence
JP6782634B2 (en) * 2013-10-25 2020-11-11 ボルケーノ コーポレイション A system for providing information on blood vessels to assist in assessing a patient's blood vessels
WO2016156989A1 (en) * 2015-04-02 2016-10-06 Cardiawave Method and apparatus for treating valvular disease
CN107095692B (en) * 2016-02-19 2024-02-09 乐普(北京)医疗器械股份有限公司 Ultrasonic imaging system, ultrasonic imaging method and one-dimensional displacement scanning method
KR20190085741A (en) * 2018-01-11 2019-07-19 삼성메디슨 주식회사 Ultrasound medical imaging apparatus and controlling method thereof
EP3749207B1 (en) * 2018-02-07 2023-07-12 Cimon Medical AS Ultrasound blood-flow monitoring
CN112022137B (en) * 2018-11-30 2021-07-13 博动医学影像科技(上海)有限公司 Method and device for establishing blood vessel section function and blood vessel stress
CN115715170A (en) * 2020-06-11 2023-02-24 皇家飞利浦有限公司 Method for estimating hemodynamic parameters
CN113066083B (en) * 2021-04-25 2022-08-02 青岛海信医疗设备股份有限公司 Method for determining Doppler parameter of fluid and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006051285A (en) * 2004-08-16 2006-02-23 Aloka Co Ltd Ultrasonic diagnostic equipment
CN105105741A (en) * 2015-07-15 2015-12-02 无锡海鹰电子医疗系统有限公司 Envelope line extracting and feature point tracking method of pulse wave image
CN112597982A (en) * 2021-03-04 2021-04-02 中国人民解放军总医院 Image classification method, device, equipment and medium based on artificial intelligence
CN113288214A (en) * 2021-06-29 2021-08-24 逸超科技(北京)有限公司 Method and device for processing ultrasonic Doppler frequency spectrum data and readable storage medium
CN113679419A (en) * 2021-08-24 2021-11-23 苏州圣泽医疗科技有限公司 Adjustable Doppler spectrum envelope parameter calculation method
CN114376603A (en) * 2022-01-07 2022-04-22 乐普(北京)医疗器械股份有限公司 Two-dimensional spectrum Doppler ultrasonic cardiogram image processing method and device

Also Published As

Publication number Publication date
CN114376603B (en) 2023-11-28
CN114376603A (en) 2022-04-22

Similar Documents

Publication Publication Date Title
WO2021082272A1 (en) Method for determining cardiac cycles and ultrasonic device
WO2023130663A1 (en) Coronary angiogram quantitative analysis method and apparatus based on angiogram video
CN112233076B (en) Structural vibration displacement measurement method and device based on red round target image processing
WO2023130661A1 (en) Method and apparatus for processing two-dimensional spectral doppler echocardiographic image
WO2021147866A1 (en) Ecg signal acquisition method and device, storage medium, and electronic device
CN114419500A (en) Method and device for screening diastolic and systolic images based on cardiac ultrasound video
CN110580697B (en) Video image processing method and system for measuring thickness of fetal nape transparency from ultrasonic video image
CN117351307A (en) Model training method, device, equipment and storage medium
CN111639555B (en) Finger vein image noise accurate extraction and adaptive filtering denoising method and device
CN108875825B (en) Granary pest detection method based on image blocking
WO2023124069A1 (en) Method and apparatus for calibrating image
CN116130090A (en) Ejection fraction measuring method and device, electronic device, and storage medium
CN114419499B (en) Method and device for processing ejection fraction data based on heart ultrasonic video
CN115775233A (en) Processing method and device for measuring characteristic dimension based on cardiac ultrasound video
WO2022089266A1 (en) Blood vessel lumen extraction method and apparatus, electronic device and storage medium
WO2021139447A1 (en) Abnormal cervical cell detection apparatus and method
CN111256609B (en) Method and device for detecting USB interface depth
KR101334029B1 (en) Method for extracting muscle of head and neck and method of ROI analysis
KR20180006120A (en) Optimized Image Segmentation Methods and System with DL and PDE
CN112132000A (en) Living body detection method and device, computer readable medium and electronic equipment
CN111166313A (en) Heart rate measuring method and device and readable storage medium
CN112149675B (en) Method for acquiring chart information data, electronic equipment and readable storage medium
CN110507358B (en) Image processing method and system for measuring thickness of fetal nuchal transparency from ultrasonic image
US20230056296A1 (en) Image exposure adjustment method and apparatus, device, and storage medium
CN113723508B (en) Bill image classification method, device, computing 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: 22918117

Country of ref document: EP

Kind code of ref document: A1