CN103976728A - Method for improving electrocardiographic waveform drawing accuracy - Google Patents

Method for improving electrocardiographic waveform drawing accuracy Download PDF

Info

Publication number
CN103976728A
CN103976728A CN201410156924.0A CN201410156924A CN103976728A CN 103976728 A CN103976728 A CN 103976728A CN 201410156924 A CN201410156924 A CN 201410156924A CN 103976728 A CN103976728 A CN 103976728A
Authority
CN
China
Prior art keywords
value
pixel
slope
point
adjacent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410156924.0A
Other languages
Chinese (zh)
Other versions
CN103976728B (en
Inventor
彭海波
汪伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Edan Instruments Inc
Original Assignee
Edan Instruments Inc
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 Edan Instruments Inc filed Critical Edan Instruments Inc
Publication of CN103976728A publication Critical patent/CN103976728A/en
Application granted granted Critical
Publication of CN103976728B publication Critical patent/CN103976728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

The invention relates to the medical field, in particular to a method for improving the electrocardiographic waveform drawing accuracy. The method comprises the following steps: calculating the slope of the connection line of the corresponding coordinates of each two adjacent pixel points in a pixel point set to obtain a slope value set; according to a judgment result to the slope value in the set, setting the grey value of the pixel points so as to draw the electrocardiographic waveform to further eliminate a stage in which the electrocardiographic waveform appears and greatly improve the electrocardiographic waveform accuracy. The method is suitable for drawing the static electrocardiographic waveform and is also suitable for drawing the real-time electrocardiographic waveform.

Description

A kind of method that improves ecg wave form drafting accuracy
Technical field
the present invention relates to medical field, be specifically related to a kind of method that improves ecg wave form drafting accuracy.
Background technology
conventionally, in PC electrocardiograph system (being called for short PC ECG), need the electrocardiogram (ECG) data of fixed sample rate to be presented on the personal computer monitor that resolution is different.For different resolution, the number difference of the pixel that display can show.On the display of raster scanning display mode, the displaing coordinate of pixel is the approximation of actual coordinate, can only round numbers.When this makes the resolution of display lower, the waveform drawing can present stepped.Ecg wave form is the foundation of the diagnosis state of an illness, and the ladder of waveform drawing all can affect the observation of doctor to ecg wave form, and therefore we need to find a kind of method to eliminate the ladder of ecg wave form.
the ladder occurring while drawing ecg wave form for elimination is generally to adopt anti-aliasing processing.Current most popular anti-aliasing algorithm is " the anti-aliasing algorithm of Wu ".The method connects a desirable line segment between two end points, then weights be set regulate the brightness of both sides pixel to the distance of line segment according to line segment both sides pixel, thereby reach the object of visually eliminating sawtooth, the method is actually the thickness that has increased curve.But the method is just obvious for effect in the coordinate (abscissa or vertical coordinate) of two somes situation relatively far apart, very near if the coordinate of two points is separated by, and only differs pixel one or two, just basic inefficacy of this algorithm so.So just all waveform ladders of cancellation completely, still can affect to doctor's observation ecg wave form.
Summary of the invention
for overcoming above-mentioned defect, object of the present invention is to provide a kind of ecg wave form of eliminating to draw step, and then improves the method for ecg wave form drafting accuracy.
the object of the invention is to be achieved through the following technical solutions:
a kind of method that improves ecg wave form drafting accuracy of the present invention, comprising:
obtain the pixel set corresponding with it according to characteristic point set;
according to adjacent two coordinates that pixel is corresponding in pixel set, obtain slope value set, and judge in slope value set, whether to exist for zero or infinitely-great slope value, if exist for zero or infinitely-great slope value, the gray value of the both sides adjacent pixels point of the coordinate points line that adjacent two pixels are corresponding is set to α, wherein 0< α < 1, if do not exist for zero or infinitely-great slope value, the absolute value of slope value and default slope threshold value are compared, if the absolute value of slope value is greater than default slope threshold value, the gray value of the both sides adjacent pixels point of coordinate points line corresponding adjacent two pixels is set to respectively to γ and δ, wherein γ and δ determine to the distance of line according to pixel respectively, wherein γ+δ=1, if the absolute value of slope is less than default slope threshold value, if judge, slope value is for just, the lower pixel point gray value of coordinate points line corresponding to adjacent two characteristic points is set to β, if slope value is for negative, the top pixel gray value of coordinate points line corresponding to adjacent two characteristic points is set to β, wherein 0.5< β <1, thereby obtain the set of waveform drawing pixel,
according to the pixel gray value drawing waveforms in the set of waveform drawing pixel.
as a modification of the present invention, the numerical value of each characteristic point is rounded to the coordinate figure as Y, wherein round according to the mode rounding up and carry out, the sequence number at the feature point extraction interval under each characteristic point is as X coordinate figure, the pixel corresponding to coordinate figure of the each characteristic point obtaining stored, obtained pixel set.
a kind of ecg wave form that improves provided by the invention is drawn accuracy method, the slope of every neighbor pixel respective coordinates line in the set of calculating pixel point in the method, obtain slope value set, the result of determination of carrying out according to the slope value in this set is set the gray value of pixel, and then carry out ecg wave form drafting, can further eliminate the ladder that ecg wave form occurs, greatly improve the accuracy of ecg wave form.And the method had both been applicable to the drafting of static ecg wave form, also applicable to the drafting of heart real time waveform.
?
Brief description of the drawings
for ease of explanation, the present invention is described in detail by following preferred embodiment and accompanying drawing.
fig. 1 is a kind of schematic flow sheet that improves ecg wave form drafting accuracy method of the present invention;
fig. 2 is a kind of another schematic flow sheet that improves ecg wave form drafting accuracy method of the present invention;
fig. 3 is a kind of waveform drawing method flow of the present invention schematic diagram;
fig. 4 is the idiographic flow schematic diagram that a kind of waveform drawing method of the present invention is applied to ecg wave form;
fig. 5 is a kind of ecg wave form drawing apparatus of the present invention schematic diagram;
fig. 6 is the concrete schematic diagram of a kind of ecg wave form drawing apparatus of the present invention.
?
Detailed description of the invention
in order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
please refer to Fig. 1, a kind of method that improves ecg wave form drafting accuracy of the present invention, comprises the following steps:
step 11: obtain waveform data points set, calculated characteristics point extracts interval simultaneously;
detailed process is: the number M that obtains the pixel of every millimeter of demonstration on display according to the resolution of display, size; Obtain the number R of the data point of every millimeter of demonstration according to the walking speed S of default sample frequency F and waveform, wherein R=F/S; The number Q that obtains the data point that each pixel on average will show, wherein Q=R/M, is feature point extraction interval, and feature point extraction interval refers in every Q point extracts a point as characteristic point; The waveform data points set of wherein obtaining is preferably the set of EGC waveform data point.
step 12: set is extracted to waveform data points, obtains characteristic point set;
detailed process is: poor to every adjacent two data point in waveform data points set, obtain difference set, sign symbol to every adjacent two differences of this difference set compares, if the sign symbol of every adjacent two differences is not identical, catastrophe point is not set, if the sign symbol of every adjacent two differences is identical, the intermediate point of adjacent three data points corresponding to these adjacent two differences is set to catastrophe point, obtain catastrophe point set, add up the number of catastrophe point in each feature point extraction interval, if the number of catastrophe point is zero in feature point extraction interval, extract intermediate point in feature point extraction interval as characteristic point, if the number of catastrophe point is greater than zero in feature point extraction interval, getting in feature point extraction interval the catastrophe point of numerical value maximum in catastrophe point is characteristic point, obtain characteristic point set, the feature point set of wherein said acquisition share in drawing waveforms.
please refer to Fig. 2, a kind of method that improves ecg wave form drafting accuracy of the present invention, comprises the following steps:
step 21: obtain the pixel set corresponding with it according to characteristic point set;
detailed process is: the numerical value of each characteristic point is rounded to the coordinate figure as Y, wherein round according to the mode rounding up and carry out; The sequence number at the feature point extraction interval under each characteristic point is as X coordinate figure; The sequence number at feature point extraction interval refer in characteristic point interval the sequence number of somewhat residing pixel, be that every Q data point occupies a pixel on screen, the pixel corresponding to coordinate figure of the each characteristic point obtaining stored, obtained the set of pixel.
step 22: according to pixel set, obtain the set of waveform drawing pixel;
detailed process is: according to adjacent two coordinates that pixel is corresponding in pixel set, obtain slope value set, and judge in slope value set, whether to exist for zero or infinitely-great slope value, if exist for zero or infinitely-great slope value, the gray value of the both sides adjacent pixels point of the coordinate points line that adjacent two pixels are corresponding is set to α, wherein 0< α < 1, if do not exist for zero or infinitely-great slope value, the absolute value of slope value and default slope threshold value are compared, if the absolute value of slope value is greater than default slope threshold value, the gray value of the both sides adjacent pixels point of coordinate points line corresponding adjacent two pixels is set to respectively to γ and δ, wherein γ and δ determine to the distance of line according to pixel respectively, wherein γ+δ=1, if the absolute value of slope is less than default slope threshold value, if judge, slope value is for just, the lower pixel point gray value of coordinate points line corresponding to adjacent two characteristic points is set to β, if slope value is for negative, the top pixel gray value of coordinate points line corresponding to adjacent two characteristic points is set to β, wherein 0.5< β <1, thereby obtain the set of waveform drawing pixel.
step 23: according to the pixel gray value drawing waveforms in the set of waveform drawing pixel.
present embodiment is mainly taking ecg wave form as example, wherein, mainly comprise slave computer and host computer for the method for drafting of realizing a kind of ecg wave form, slave computer mainly obtains electrocardiosignal by cardiac diagnosis lead-line, then convert analogue signal to digital signal through analog digital conversion, again digital signal is passed to host computer, host computer to electrocardiogram (ECG) data store, pretreatment, feature point extraction, anti-aliasing processing, demonstration and printing.
refer to Fig. 3, a kind of waveform drawing method of the present invention, comprises the following steps:
step 101: gather original waveform signal;
detailed process is: by the conducting wire acquired signal on collecting cassette, signal obtains waveform initial data through analog digital conversion, collecting cassette can be that wireless collection box can be also wired collecting cassette, for wireless collection box, also will have a receiving box, the present embodiment is set the data that at least needed to gather 10 seconds.
step 102: original waveform signal is carried out to pretreatment, and calculated characteristics point extracts interval;
detailed process is: waveform initial data is carried out to low-pass filtering pretreatment, filtering noise disturb, obtain waveform data points set S (n), n=1,2,3 ..., N}, total number that N is data point; Obtain the number M of the pixel of every millimeter of demonstration on display according to the resolution of display, size; Obtain the number R of the data point of every millimeter of demonstration according to the walking speed S of default sample frequency F and waveform, wherein R=F/S; The number Q that obtains the data point that each pixel on average will show, wherein Q=R/M, is feature point extraction interval, and feature point extraction interval refers in every Q point extracts a point as characteristic point.
step 103: extract the characteristic point in each feature point extraction interval, obtain characteristic point set;
detailed process is: poor to every adjacent two data point in set of data points, obtain a difference set { X (n), n=1,2,3 ..., N-1}, wherein X (n)=S (n+1)-S (n), S (n) is n point in set of data points { S (n) }, sign symbol to every adjacent two difference X (n) and X (n+1) in difference set compares, if sign symbol is identical, adjacent three data point S (n) that these two differences are corresponding are described, S (n+1), the intermediate point S (n+1) of S (n+2) is catastrophe point, if sign symbol difference, adjacent three data point S (n) that these two differences are corresponding are described, S (n+1), there is not catastrophe point in S (n+2), simultaneously, obtain a catastrophe point set { V (i), i=1, 2, 3, I}, { V (i) } is the subset of waveform data points set { S (n) }, when catastrophe point V (i) refers to drawing waveforms, cause waveform to occur the point of turnover, add up the number of catastrophe point in each feature point extraction interval, if number is zero, extract intermediate point in each feature point extraction interval as characteristic point, if be greater than zero, getting catastrophe point maximum in catastrophe point is characteristic point, obtain characteristic point set { H (j), j=1,2,3,, J}, { H (j) } is the subset of EGC waveform data point set { S (n) }.
step 104: the gray value to adjacent locations pixel arranges;
detailed process is: the slope that calculates adjacent two characteristic point H (j) and H (j+1) respective coordinates line, obtain a slope value set { Z (j), j=1, 2, 3, J-1}, each slope value in slope value set is judged, if slope value exists for zero or for infinitely great, the gray value that the adjacent pixels point on two coordinate points line both sides is set is α, wherein 0< α < 1, the value of this gray value α is that the distance of putting coordinate points line according to this adjacent pixels is determined, and this gray value also all refers to normalization gray value afterwards, by the actual grey of pixel in total gray scale activity, for example, taking 256 gray scales as example, its gray scale from 0 to 255, if the actual grey of pixel is 128, the gray value after normalizing is 128/256=0.5, therefore the scope of the gray value after known normalization is between 0 to 1, if slope value does not exist for zero or for infinitely great, the absolute value of slope value and default slope threshold value λ are compared, if the absolute value of slope value is greater than default slope threshold value λ, also there are other pixels in the close region that these adjacent two pixel lines are described, the gray value of the pixel on both sides is set to respectively to γ and δ, wherein γ and δ determine to the distance of line according to close region pixel, and have γ+δ=1, can eliminate by the border of line is fogged like this sawtooth of ecg wave form, if the absolute value of slope is less than default slope threshold value λ, judge the positive and negative of slope, if slope value is for just, the gray value of the lower pixel point of these adjacent two characteristic point respective coordinates lines is set to β, if slope value is for negative, the gray value of the top pixel of these adjacent two characteristic point respective coordinates lines is set to β, in order to keep the flatness of waveform, 0.5< β <1 is set, and its β value is determined to the distance of coordinate line according to top pixel.
step 105: according to the pixel gray value drawing waveforms arranging;
detailed process is: according to the gray value drawing waveforms of upper and lower two pixels of waveform, obtain new oscillogram.
shown in Fig. 4, the specific descriptions that a kind of waveform drawing method of the present invention is applied to electrocardiosignal are as follows, comprise the steps:
step 101: gather electrocardiosignal, obtain ecg wave form initial data;
detailed process is: gather electrocardiosignal by the conducting wire on collecting cassette from human body, electrocardiosignal obtains ecg wave form initial data through analog digital conversion, collecting cassette can be that wireless collection box can be also wired collecting cassette, for wireless collection box, also will have a receiving box, the present embodiment is set the electrocardiogram (ECG) data that at least needed to gather 10 seconds.
step 1021: initial data is sampled and filter preprocessing, obtain preprocessed data set;
detailed process is: the ecg wave form initial data of slave computer collection sends to host computer by collecting cassette, obtain EGC waveform data, EGC waveform data is sampled and Filtering Processing obtains the set of data points { S (n) of pretreated EGC waveform data, n=1,2,3 ... N}, total number that N is data point; Sample frequency is set to different sample frequencys according to different collecting cassettes, and under normal circumstances, the sample frequency F of wired collecting cassette is 1000Hz, and the sample frequency of wireless collection box is 500Hz; The frequency of wave filter comprises 25Hz, 35Hz, 45Hz, 75Hz, 100Hz, 150Hz.The data length of sampling in the present embodiment is the data of at least sampling for 10 seconds.
step 1022: extract interval according to the walking speed of the resolution of display, size, waveform and sample frequency calculated characteristics point;
detailed process is: the number M that obtains the pixel of every millimeter of demonstration on indicator screen according to the resolution of display, size; Obtain the number R of the data point of every millimeter of demonstration according to default sample frequency F and default waveform walking speed S, wherein R=F/S; Then the number Q that obtains the data point that each pixel on average will show according to the number R of the number M of pixel and data point, wherein Q=R/M, is feature point extraction interval, and feature point extraction interval refers in every Q point extracts a point as characteristic point.
step 1031: adjacent two data point in the set of data points of pretreated electrocardiogram (ECG) data is asked to difference, obtain difference set;
detailed process is: poor to every adjacent two data point, obtain a difference set X (n), n=1,2,3 ..., N-1}, wherein X (n)=S (n+1)-S (n).
step 1032: the sign symbol to every adjacent two differences in difference set compares, and obtains catastrophe point set;
detailed process is: the sign symbol to every adjacent two difference X (n) and X (n+1) in difference set compares, if sign symbol is identical, adjacent three data point S (n) that these two differences are corresponding are described, S (n+1), the intermediate point S (n+1) of S (n+2) is catastrophe point, if sign symbol difference, adjacent three data point S (n) that these two differences are corresponding are described, S (n+1), there is not catastrophe point in S (n+2), obtain a catastrophe point set { V (i), i=1, 2, 3, I}, { V (i) } is the subset of EGC waveform data point set { S (n) }, when catastrophe point V (i) refers to drawing waveforms, cause the point of waveform turnover.
step 1033: extract characteristic point according to the number of the catastrophe point in feature point extraction interval, obtain characteristic point set;
detailed process is: add up the number of catastrophe point in each feature point extraction interval, if the number of catastrophe point is zero, do not have catastrophe point, get intermediate point in each feature point extraction interval as characteristic point, if the number of catastrophe point is greater than zero, getting maximum catastrophe point is characteristic point, obtains characteristic point set { H (j), j=1,2,3 ... J}, { H (j) } is the subset of EGC waveform data point set { S (n) }.
step 1034: calculate coordinate figure corresponding to each characteristic point according to the value of the characteristic point in characteristic point set, obtain pixel set;
detailed process is: the numerical value of each characteristic point is rounded to the coordinate figure as Y, wherein round according to the mode rounding up and carry out; The sequence number at the feature point extraction interval under each characteristic point is as X coordinate figure; The sequence number at feature point extraction interval refer in characteristic point interval the sequence number of somewhat residing pixel, be that every Q data point occupies a pixel on screen, the pixel corresponding to coordinate figure of the each characteristic point obtaining stored, obtain set { P (j), j=1,2 of pixel, 3,, J}, P (j) is the pixel coordinate that H (j) is corresponding.
step 1041: the slope of every adjacent two pixel lines in the set of calculating pixel point, obtains slope value set;
detailed process is: in pixel set { P (j) }, the slope of the line between every adjacent two pixels calculates, and obtains corresponding slope value, obtain corresponding slope value set Z (j), j=1,2,3 ..., J-1}.
step 1042: judge that whether having slope absolute value in slope value set is zero or infinitely-great slope value;
detailed process is: the slope value in screening slope value set { Z (j) }, and judge that in slope value set { Z (j) }, whether having slope absolute value is zero or infinitely-great slope value, having slope absolute value if judge is zero or when infinitely-great slope value, the gray value of the pixel its adjacent two pixel line both sides being closed on is made as α; Having slope absolute value if judge is that infinitely-great slope value illustrates that the X coordinate of these two pixels is identical, having slope absolute value if judge is that zero slope value illustrates that these two pixel Y coordinates are identical, the gray value of the pixel closing on by its adjacent two pixel line both sides is made as α, wherein 0< α < 1.
step 1043: the absolute value of the each slope value in set of slopes and default slope threshold value λ are compared, corresponding gray value is set;
detailed process is: be that not have slope absolute value be zero or when infinitely-great slope value when judging in slope value set { Z (j) }, the absolute value of the each slope value in set of slopes { Z (j) } and default slope threshold value λ are compared, if the absolute value of slope value is greater than default slope threshold value λ, also there are other pixels in the close region that these adjacent two pixel lines are described, the gray value of the pixel on both sides is set to γ and δ, wherein γ and δ determine to the distance of two pixel lines according to adjacent pixels o'clock respectively, and there is γ+δ=1, can eliminate by the border of line is fogged like this sawtooth of ecg wave form, if the absolute value of slope is less than default slope threshold value λ, judge the positive and negative of slope value, if slope value is for just, the gray value of the lower pixel point of these adjacent two characteristic point respective coordinates lines is set to β, if slope value is for negative, the gray value of the top pixel of these adjacent two characteristic point respective coordinates lines is set to β, in order to keep the flatness of waveform, 0.5< β <1 is set.
step 1044: obtain ecg wave form according to each pixel of the gray value arranging and draw pixel set;
detailed process is: according to each pixel of the gray value arranging obtain the pixel set that ecg wave form draws P1 (k), k=1,2,3 ..., K}, wherein K>=J.
step 105: the gray value of drawing pixel in pixel set according to ecg wave form is drawn ecg wave form;
detailed process is: draw ecg wave form according to the gray value of pixel in the set of waveform drawing pixel, wherein the width of final wavy curve is two pixels.
reference as shown in Figure 5, the drawing apparatus of a kind of ecg wave form of the present invention, this device mainly comprises: electrocardio-data collection module 301, electrocardiogram (ECG) data pretreatment module 302, electrocardiogram (ECG) data feature point extraction module 303, ecg wave form drafting module 304 and main control module 305; Described electrocardio-data collection module 301 is connected with main control module 305, for gathering human ecg signal, and electrocardiosignal is converted into digital signal sends to main control module 305; Described electrocardiogram (ECG) data pretreatment module 302 is connected with main control module 305, for the electrocardiogram (ECG) data transmitting from main control module is carried out to pretreatment, comprising sampling and Filtering Processing, eliminate noise calculated characteristics point and extract interval, pretreatment result is sent to main control module 305 simultaneously; Described electrocardiogram (ECG) data feature point extraction module 303 is connected with main control module 305, obtain characteristic point set for pass the extraction of the pretreated electrocardiogram (ECG) data of coming and feature point extraction interval electrocardiogram (ECG) data being carried out to characteristic point according to main control module 305, and characteristic point set is sent it back to main control module 305; Described ecg wave form drafting module 304 is connected with main control module 305, for obtaining slope value set according to characteristic point set, and obtains the set of ecg wave form drafting pixel according to the gray value that slope value arranges respective pixel point, ecg wave form is drawn simultaneously.
the drawing apparatus of a kind of ecg wave form of the present invention also comprises electrocardiogram (ECG) data memory module 306 and ecg wave form display module 307; Described electrocardiogram (ECG) data memory module 306 is connected with main control module 305, for electrocardiogram (ECG) data is stored; Described ecg wave form display module 307 is connected with main control module 305, for ecg wave form is presented on display or by ecg wave form and is printed; And main control module 305 extracts the electrocardiogram (ECG) data of storage from electrocardiogram (ECG) data memory module 306, and ECG Data Transmission Based is sampled to electrocardiogram (ECG) data pretreatment module, Filtering Processing, and then result is transferred to again to electrocardiogram (ECG) data feature point extraction module 303, and ecg wave form drafting module 304 is depicted as the characteristic point of extraction ecg wave form and shows.
as shown in Figure 6, in the drawing apparatus of a kind of ecg wave form of the present invention, described electrocardio-data collection module 301 comprises: receiving element 3011 and AD conversion unit 3021; Described receiving element 3011, the human ecg signal gathering for the conducting wire receiving on collecting cassette; This electrocardiosignal is the electrocardiosignal of simulation; Described AD conversion unit 3021 is connected with receiving element 3011, for the electrocardiosignal of simulation is changed into digital electrocardiosignal, obtains EGC waveform data simultaneously; This electrocardiosignal is original electrocardiosignal, and this EGC waveform data is original EGC waveform data.Described electrocardiogram (ECG) data pretreatment module 302 comprises: sampling unit 3021, filter unit 3022 and take out an interval calculation unit 3023; Described sampling unit 3021, for original EGC waveform data is sampled, obtains the electrocardiogram (ECG) data after sampling; Described filter unit 3022 is connected with sampling unit, for to sampling electrocardiogram (ECG) data carry out low-pass filtering treatment, eliminate disturb and noise, obtain pretreated EGC waveform data set of data points S (n), n=1,2,3 ..., N}; A described interval calculation unit 3023 and the described filter unit 3022 taken out, for extracting interval according to the resolution of display, size, waveform walking speed and sample frequency calculated characteristics point.Described electrocardiogram (ECG) data feature point extraction module 303 comprises: consecutive number strong point difference computational unit 3031, the first comparing unit 3032, feature point extraction unit 3033 and pixel set acquiring unit 3034; Described consecutive number strong point difference computational unit 3031, asks poor for the adjacent two data point according to the set of data points of electrocardiogram (ECG) data, calculates and obtains difference set; Described the first comparing unit 3032 is connected with consecutive number strong point difference computational unit 3031, for the sign symbol of adjacent two differences of difference set is compared, obtains catastrophe point set; Described feature point extraction unit 3033 is connected with described the first comparing unit 3032, for extracting characteristic point according to the number of the catastrophe point in feature point extraction interval, obtains characteristic point set; Described pixel set acquiring unit 3034 is connected with described feature point extraction unit 3033, for calculate coordinate figure corresponding to each characteristic point according to the value of the characteristic point of characteristic point set, obtains pixel set.Described ecg wave form drafting module 304 comprises slope value set acquiring unit 3041, slope value judging unit 3042, gray value setting unit 3043 and waveform drawing unit 3044; Described slope value set acquiring unit 3041, for calculate the slope of every adjacent two pixel lines according to pixel set, obtains slope value set; Described slope value judging unit 3042 is connected with described slope value set acquiring unit 3041, for screening the slope value of slope value set, and judges that in slope value set, whether having slope absolute value is zero or infinitely-great slope value; Described gray value setting unit 3043 is connected with described slope value judging unit 3042, the gray value of the adjacent pixels point on the both sides of the coordinate points line that adjacent two pixels are corresponding is set according to the slope value in slope value set, obtains ecg wave form and draw pixel set; That not have slope absolute value be zero or when infinitely-great slope value when judging in slope value set, the absolute value of the each slope value in set of slopes and default slope threshold value λ are compared, the gray value on adjacent two pixel line both sides is arranged; Described waveform drawing unit 3044 is connected with described gray value setting unit 3043, draws pixel set, and draw pixel set according to ecg wave form ecg wave form is drawn for obtaining ecg wave form according to each pixel of the gray value arranging.
the foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (2)

1. improve ecg wave form and draw a method for accuracy, it is characterized in that, comprising:
Obtain the pixel set corresponding with it according to characteristic point set;
According to adjacent two coordinates that pixel is corresponding in pixel set, obtain slope value set, and judge in slope value set, whether to exist for zero or infinitely-great slope value, if exist for zero or infinitely-great slope value, the gray value of the both sides adjacent pixels point of the coordinate points line that adjacent two pixels are corresponding is set to α, wherein 0< α < 1, if do not exist for zero or infinitely-great slope value, the absolute value of slope value and default slope threshold value are compared, if the absolute value of slope value is greater than default slope threshold value, the gray value of the both sides adjacent pixels point of coordinate points line corresponding adjacent two pixels is set to respectively to γ and δ, wherein γ and δ determine to the distance of line according to pixel respectively, wherein γ+δ=1, if the absolute value of slope is less than default slope threshold value, if judge, slope value is for just, the lower pixel point gray value of coordinate points line corresponding to adjacent two characteristic points is set to β, if slope value is for negative, the top pixel gray value of coordinate points line corresponding to adjacent two characteristic points is set to β, wherein 0.5< β <1, thereby obtain the set of waveform drawing pixel,
According to the pixel gray value drawing waveforms in the set of waveform drawing pixel.
2. a kind of method that improves ecg wave form drafting accuracy according to claim 1, it is characterized in that, the numerical value of each characteristic point is rounded to the coordinate figure as Y, wherein round according to the mode rounding up and carry out, the sequence number at the feature point extraction interval under each characteristic point is as X coordinate figure, the pixel corresponding to coordinate figure of the each characteristic point obtaining stored, obtained pixel set.
CN201410156924.0A 2012-12-21 2012-12-21 A kind of method improving ecg wave form drafting accuracy Active CN103976728B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210561139.4A CN103126669B (en) 2012-12-21 2012-12-21 Method of improving wave form drawing accuracy degree and drawing method and device applied method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201210561139.4A Division CN103126669B (en) 2012-12-21 2012-12-21 Method of improving wave form drawing accuracy degree and drawing method and device applied method

Publications (2)

Publication Number Publication Date
CN103976728A true CN103976728A (en) 2014-08-13
CN103976728B CN103976728B (en) 2015-12-02

Family

ID=48487589

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201210561139.4A Active CN103126669B (en) 2012-12-21 2012-12-21 Method of improving wave form drawing accuracy degree and drawing method and device applied method
CN201410156924.0A Active CN103976728B (en) 2012-12-21 2012-12-21 A kind of method improving ecg wave form drafting accuracy

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201210561139.4A Active CN103126669B (en) 2012-12-21 2012-12-21 Method of improving wave form drawing accuracy degree and drawing method and device applied method

Country Status (1)

Country Link
CN (2) CN103126669B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105125208A (en) * 2015-10-16 2015-12-09 东软熙康健康科技有限公司 Electrocardiogram drawing method and electrocardiogram drawing tool
CN111345807A (en) * 2018-12-21 2020-06-30 四川锦江电子科技有限公司 Electrocardiographic waveform drawing method, module and device

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104856672B (en) * 2015-06-05 2016-04-27 厦门纳龙科技有限公司 A kind of display medium of avoiding suppresses the method causing electrocardiographic wave to be failed to pinpoint a disease in diagnosis
CN105054925A (en) * 2015-08-26 2015-11-18 深圳邦健生物医疗设备股份有限公司 Feature point obtaining and waveform drawing
CN105184080B (en) * 2015-09-09 2019-07-12 北京嘉和美康信息技术有限公司 A kind of lead waveform method of replacing and device
CN105595988A (en) * 2015-12-23 2016-05-25 石家庄翰纬医疗设备有限公司 Electrocardiogram wave form drawing method and calculation device
CN109087374B (en) * 2018-08-14 2023-05-05 珠海迈越信息技术有限公司 Signal quality curve drawing method and device
CN109770891B (en) * 2019-01-31 2022-04-29 上海交通大学 Electrocardiosignal preprocessing method and preprocessing device
CN111856576A (en) * 2020-07-27 2020-10-30 广州海洋地质调查局 Plume identification method and processing terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0857457A2 (en) * 1997-01-31 1998-08-12 Hewlett-Packard Company Method and system for the fast determination of EKG waveform morphology
WO2004110241A2 (en) * 2003-06-16 2004-12-23 Century Ocean Corporation Limited Devices and methods for heart-rate measurement and wrist-watch incorporating same
US20090002372A1 (en) * 2007-06-27 2009-01-01 Shenzhen Mindray Bio-Medical Electronics Co., Ltd Waveform data display device and method
CN101378251A (en) * 2007-08-28 2009-03-04 深圳迈瑞生物医疗电子股份有限公司 Method for improving signal display quality under a condition of low sampling rate
CN101489472A (en) * 2006-07-13 2009-07-22 爱德华兹生命科学公司 Method and apparatus for continuous assessment of a cardiovascular parameter using the arterial pulse pressure propagation time and waveform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0857457A2 (en) * 1997-01-31 1998-08-12 Hewlett-Packard Company Method and system for the fast determination of EKG waveform morphology
WO2004110241A2 (en) * 2003-06-16 2004-12-23 Century Ocean Corporation Limited Devices and methods for heart-rate measurement and wrist-watch incorporating same
CN101489472A (en) * 2006-07-13 2009-07-22 爱德华兹生命科学公司 Method and apparatus for continuous assessment of a cardiovascular parameter using the arterial pulse pressure propagation time and waveform
US20090002372A1 (en) * 2007-06-27 2009-01-01 Shenzhen Mindray Bio-Medical Electronics Co., Ltd Waveform data display device and method
CN101378251A (en) * 2007-08-28 2009-03-04 深圳迈瑞生物医疗电子股份有限公司 Method for improving signal display quality under a condition of low sampling rate

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105125208A (en) * 2015-10-16 2015-12-09 东软熙康健康科技有限公司 Electrocardiogram drawing method and electrocardiogram drawing tool
CN111345807A (en) * 2018-12-21 2020-06-30 四川锦江电子科技有限公司 Electrocardiographic waveform drawing method, module and device
CN111345807B (en) * 2018-12-21 2022-08-09 四川锦江电子科技有限公司 Electrocardiographic waveform drawing method, module and device

Also Published As

Publication number Publication date
CN103126669B (en) 2014-09-17
CN103126669A (en) 2013-06-05
CN103976728B (en) 2015-12-02

Similar Documents

Publication Publication Date Title
CN103126669B (en) Method of improving wave form drawing accuracy degree and drawing method and device applied method
US11562222B2 (en) Systems and methods of identity analysis of electrocardiograms
CN108186011B (en) Atrial fibrillation detection method, atrial fibrillation detection device and readable storage medium
CN107529646B (en) Non-contact heart rate measurement method and device based on Euler image amplification
CN110706826B (en) Non-contact real-time multi-person heart rate and blood pressure measuring method based on video image
Ntonfo et al. Low-complexity image processing for real-time detection of neonatal clonic seizures
CN107456227B (en) Full-lead electrocardiogram clustering template system and method
DE112013006788T5 (en) Pulse wave velocity measuring method and system and imaging device
EP3063601B1 (en) Direct neural interface system and method
KR101579740B1 (en) Untrasound dianognosis apparatus, method and computer-readable storage medium
KR20140139564A (en) Systems and methods for ecg monitoring
CN105249925B (en) A kind of traditional Chinese medical pulse manifestation collecting device and noise reduction system and noise-reduction method
CN111161268B (en) Image processing method, device, electronic equipment and computer storage medium
CN108937905B (en) Non-contact heart rate detection method based on signal fitting
CN106037792B (en) A kind of heart sound wave data processing and graphic display method and its auscultation system
CN107348971A (en) A kind of heart disease screening system based on heart sound detection and machine learning algorithm
CN107997754A (en) A kind of intelligence mattress system and human body physiological characteristics data extraction method
CN114469124A (en) Method for identifying abnormal electrocardiosignals in motion process
US20120277816A1 (en) Adjusting neighborhood widths of candidate heart beats according to previous heart beat statistics
KR20090001146A (en) System and method for detecting abnormality of biosignal using neural network with weighted fuzzy membership funtions
CN109674474B (en) Sleep apnea recognition method, device and computer readable medium
CN109770891B (en) Electrocardiosignal preprocessing method and preprocessing device
US10078731B2 (en) System and methods for displaying medical data
CN111772669A (en) Elbow joint contraction muscle force estimation method based on adaptive long-time and short-time memory network
CN109002798B (en) Single-lead visual evoked potential extraction method based on convolutional neural network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant