CN103976728B - A kind of method improving ecg wave form drafting accuracy - Google Patents

A kind of method improving ecg wave form drafting accuracy Download PDF

Info

Publication number
CN103976728B
CN103976728B CN201410156924.0A CN201410156924A CN103976728B CN 103976728 B CN103976728 B CN 103976728B CN 201410156924 A CN201410156924 A CN 201410156924A CN 103976728 B CN103976728 B CN 103976728B
Authority
CN
China
Prior art keywords
value
pixel
slope
point
wave form
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.)
Active
Application number
CN201410156924.0A
Other languages
Chinese (zh)
Other versions
CN103976728A (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

Abstract

<b> the present invention relates to medical field, be specifically related to a kind of ecg wave form that improves and draw accuracy method, calculate the slope of every neighbor pixel respective coordinates line in pixel set in the method, obtain slope value set, according to the gray value of the result of determination setting pixel carried out the slope value in this set, and then carry out ecg wave form drafting, the ladder that ecg wave form occurs can be eliminated further, greatly improve the accuracy of ecg wave form.And the method had both been applicable to the drafting of static ecg wave form, be also applicable to the drafting of heart real time waveform.</b>

Description

A kind of method improving ecg wave form drafting accuracy
Technical field
the present invention relates to medical field, be specifically related to a kind of method improving ecg wave form drafting accuracy.
Background technology
usually, need the electrocardiogram (ECG) data of fixed sample rate to be presented on the different personal computer monitor of resolution in PC electrocardiograph system (being called for short PCECG).For different resolution, the number of the pixel that display can show is different.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 drawn 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.
for the ladder occurred when eliminating and draw ecg wave form, be generally adopt anti-aliasing process.Current most popular anti-aliasing algorithm is " the anti-aliasing algorithm of Wu ".The method connects a desirable line segment between the two endpoints, then according to line segment both sides pixel, the brightness that weights regulate both sides pixel is set to the distance of line segment, thus reaching the object visually eliminating sawtooth, the method is actually the thickness adding curve.But the method for two points coordinate (abscissa or vertical coordinate) relatively far apart when effect just obvious, if the coordinate of two points is separated by very near, only difference one or two pixel, so this algorithm is just basic lost efficacy.So just can not cancellation is all completely waveform ladder, still can affect to the observation ecg wave form of doctor.
Summary of the invention
for overcoming above-mentioned defect, namely object of the present invention is to provide a kind of ecg wave form of eliminating to draw step, and then improves the method that ecg wave form draws accuracy.
the object of the invention is to be achieved through the following technical solutions:
a kind of method improving ecg wave form drafting accuracy of the present invention, comprising:
the pixel set corresponding with it is obtained according to characteristic point set;
the coordinate corresponding according to two pixels adjacent 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, then the gray value of the both sides adjacent pixels point of coordinate points line corresponding for adjacent two pixels is set to α, wherein 0< α <1, if do not exist for zero or infinitely-great slope value, then the absolute value of slope value and the slope threshold value preset are compared, if the absolute value of slope value is greater than default slope threshold value, then the gray value of the both sides adjacent pixels point of coordinate points line corresponding for adjacent two pixels is set to γ and δ respectively, wherein γ and δ determines according to the distance of pixel to line respectively, wherein γ+δ=1, if the absolute value of slope is less than default slope threshold value, if then judge, slope value is as just, then the lower pixel point gray value of the coordinate points line of adjacent two Feature point correspondence is set to β, if slope value is negative, then the topmost pixel point gray value of the coordinate points line of adjacent two Feature point correspondence is set to β, wherein 0.5< β <1, thus 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 as Y-coordinate value, the mode wherein rounded according to rounding up is carried out, using the sequence number at the feature point extraction interval belonging to each characteristic point as X-coordinate value, pixel corresponding for the coordinate figure of each characteristic point obtained is stored, obtains pixel set.
one provided by the invention improves ecg wave form and draws accuracy method, calculate the slope of every neighbor pixel respective coordinates line in pixel set in the method, obtain slope value set, according to the gray value of the result of determination setting pixel carried out the slope value in this set, and then carry out ecg wave form drafting, the ladder that ecg wave form occurs can be eliminated further, greatly improve the accuracy of ecg wave form.And the method had both been applicable to the drafting of static ecg wave form, be also applicable to the drafting of heart real time waveform.
Accompanying drawing explanation
for ease of illustrating, the present invention is described in detail by following preferred embodiment and accompanying drawing.
fig. 1 is a kind of schematic flow sheet improving ecg wave form drafting accuracy method of the present invention;
fig. 2 is a kind of another schematic flow sheet improving 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 of the present invention drawing apparatus.
Detailed description of the invention
in order to make object of the present invention, technical scheme and advantage clearly understand, 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, be not intended to limit the present invention.
please refer to Fig. 1, the present invention is a kind of improves the method that ecg wave form draws accuracy, comprises the following steps:
step 11: obtain waveform data points set, calculates feature point extraction interval simultaneously;
detailed process is: the number M obtaining the pixel of every millimeter of display on display according to the resolution of display, size; The number R of the data point of every millimeter of display is obtained, wherein R=F/S according to the sample frequency F preset and the walking speed S of waveform; Obtain the number Q of the data point that each pixel on average will show, wherein Q=R/M, be feature point extraction interval, feature point extraction interval refers in every Q point extracts a point as characteristic point; The waveform data points set wherein obtained is preferably the set of EGC waveform data point.
step 12: extract waveform data points set, obtains characteristic point set;
detailed process is: poor to adjacent two data point every in waveform data points set, obtain difference set, the sign symbol of every adjacent two differences of this difference set is compared, if often the sign symbol of adjacent two differences is not identical, then catastrophe point is not set, if often the sign symbol of adjacent two differences is identical, the intermediate point of adjacent three data points corresponding for 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, intermediate point then in extraction feature point extraction interval is as characteristic point, if the number of catastrophe point is greater than zero in feature point extraction interval, then getting the catastrophe point that in feature point extraction interval, in catastrophe point, numerical value is maximum is characteristic point, obtain characteristic point set, the feature point set of wherein said acquisition share in drawing waveforms.
please refer to Fig. 2, the present invention is a kind of improves the method that ecg wave form draws accuracy, comprises the following steps:
step 21: obtain the pixel set corresponding with it according to characteristic point set;
detailed process is: round as Y-coordinate value using the numerical value of each characteristic point, and the mode wherein rounded according to rounding up is carried out; Using the sequence number at the feature point extraction interval belonging to each characteristic point as X-coordinate value; The sequence number at feature point extraction interval to refer in characteristic point interval the sequence number of a little residing pixel, namely every Q data point occupies a pixel on screen, pixel corresponding for the coordinate figure of each characteristic point obtained is stored, obtains the set of pixel.
step 22: according to pixel set, obtains the set of waveform drawing pixel;
detailed process is: the coordinate corresponding according to two pixels adjacent 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, then the gray value of the both sides adjacent pixels point of coordinate points line corresponding for adjacent two pixels is set to α, wherein 0< α <1, if do not exist for zero or infinitely-great slope value, then the absolute value of slope value and the slope threshold value preset are compared, if the absolute value of slope value is greater than default slope threshold value, then the gray value of the both sides adjacent pixels point of coordinate points line corresponding for adjacent two pixels is set to γ and δ respectively, wherein γ and δ determines according to the distance of pixel to line respectively, wherein γ+δ=1, if the absolute value of slope is less than default slope threshold value, if then judge, slope value is as just, then the lower pixel point gray value of the coordinate points line of adjacent two Feature point correspondence is set to β, if slope value is negative, then the topmost pixel point gray value of the coordinate points line of adjacent two Feature point correspondence is set to β, wherein 0.5< β <1, thus 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 for ecg wave form, wherein, method for drafting for realizing a kind of ecg wave form mainly comprises slave computer and host computer, slave computer obtains electrocardiosignal mainly through cardiac diagnosis lead-line, then analogue signal is converted to digital signal through analog digital conversion, again digital signal is passed to host computer, host computer stores electrocardiogram (ECG) data, pretreatment, feature point extraction, anti-aliasing process, display and printing.
refer to Fig. 3, a kind of waveform drawing method of the present invention, comprises the following steps:
step 101: gather Raw waveform signals;
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 wireless collection box also can be wired collecting cassette, for wireless collection box, also will have a receiving box, the present embodiment sets the data at least needing collection 10 second.
step 102: pretreatment is carried out to Raw waveform signals, and calculate feature point extraction interval;
detailed process is: carry out low-pass filtering pretreatment to waveform initial data, filtering noise disturb, obtain waveform data points set S (n), n=1,2,3 ..., N}, N are total number of data point; The number M of the pixel of every millimeter of display on display is obtained according to the resolution of display, size; The number R of the data point of every millimeter of display is obtained, wherein R=F/S according to the sample frequency F preset and the walking speed S of waveform; Obtain the number Q of the data point that each pixel on average will show, wherein Q=R/M, be feature point extraction interval, 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, obtains characteristic point set;
detailed process is: poor to adjacent two data point every 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) are the n-th points in set of data points { S (n) }, to in difference set often the sign symbol of adjacent two difference X (n) and X (n+1) compare, if sign symbol is identical, adjacent three data point S (n) that these two differences are corresponding are then described, S (n+1), the intermediate point S (n+1) of S (n+2) is catastrophe point, if sign symbol is different, adjacent three data point S (n) that these two differences are corresponding are then 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, waveform is caused to occur the point of turnover, add up the number of catastrophe point in each feature point extraction interval, if number is zero, then extract intermediate point in each feature point extraction interval as characteristic point, if be greater than zero, then 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 of adjacent locations pixel is arranged;
detailed process is: the slope calculating 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}, slope value each in slope value set is judged, if slope value exists for zero or for infinitely great, the gray value then arranging the adjacent pixels point on Two coordinate point line both sides is α, wherein 0< α <1, the value of this gray value α determines to the distance of coordinate points line according to this adjacent pixels point, and this gray value also all refer to normalization after gray value, actual grey by pixel is in total gray scale activity, such as 256 gray scales, its gray scale is between 0 to 255, if the actual grey of pixel is 128, gray value then after normalizing is 128/256=0.5, the scope of the gray value therefore after known normalization is between 0 to 1, if slope value does not exist for zero or for infinitely great, then the absolute value of slope value and the slope threshold value λ preset are compared, if the absolute value of slope value is greater than default slope threshold value λ, then illustrate that the close region of these adjacent two pixel lines also exists other pixels, the gray value of the pixel on both sides is set to γ and δ respectively, wherein γ and δ determines according to the distance of close region pixel to line, and have γ+δ=1, the sawtooth of ecg wave form can be eliminated like this by making the border of line fog, if the absolute value of slope is less than default slope threshold value λ, then judge the positive and negative of slope, if slope value is just, then the gray value of the lower pixel point of these adjacent two Feature point correspondence coordinate lines is set to β, if slope value is negative, then the gray value of the topmost pixel point of these adjacent two Feature point correspondence coordinate lines is set to β, in order to keep the flatness of waveform, arrange 0.5< β <1, its β value is determined according to the distance of topmost pixel point to coordinate line.
step 105: according to the pixel gray value drawing waveforms arranged;
detailed process is: according to the gray value drawing waveforms of upper and lower two pixels of waveform, obtain new oscillogram.
with reference to shown in Fig. 4, the specific descriptions that a kind of waveform drawing of the present invention method 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 wireless collection box also can be wired collecting cassette, for wireless collection box, also will have a receiving box, the present embodiment sets the electrocardiogram (ECG) data at least needing collection 10 second.
step 1021: sample and filter preprocessing to initial data, obtains 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 to be sampled and Filtering Processing obtains the set of data points { S (n) of pretreated EGC waveform data, n=1,2,3 ... N}, N are total number of 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: calculate feature point extraction interval according to the walking speed of the resolution of display, size, waveform and sample frequency;
detailed process is: the number M obtaining the pixel of every millimeter of display on indicator screen according to the resolution of display, size; The number R of the data point of every millimeter of display is obtained, wherein R=F/S according to the sample frequency F preset and default waveform walking speed S; Then obtain the number Q of the data point that each pixel on average will show according to the number M of pixel and the number R of 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: ask difference to adjacent two data point in the set of data points of pretreated electrocardiogram (ECG) data, obtains 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: in difference set often the sign symbol of adjacent two differences compare, obtain catastrophe point set;
detailed process is: in difference set often the sign symbol of adjacent two difference X (n) and X (n+1) compare, if sign symbol is identical, adjacent three data point S (n) that these two differences are corresponding are then described, S (n+1), the intermediate point S (n+1) of S (n+2) is catastrophe point, if sign symbol is different, adjacent three data point S (n) that these two differences are corresponding are then 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, the point causing waveform to be transferred.
step 1033: the number according to the catastrophe point in feature point extraction interval extracts characteristic point, obtains characteristic point set;
detailed process is: the number of adding up catastrophe point in each feature point extraction interval, if the number of catastrophe point is zero, does not namely exist catastrophe point, then get intermediate point in each feature point extraction interval as characteristic point, if the number of catastrophe point is greater than zero, then 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: the coordinate figure calculating each Feature point correspondence according to the value of the characteristic point in characteristic point set, obtains pixel set;
detailed process is: round as Y-coordinate value using the numerical value of each characteristic point, and the mode wherein rounded according to rounding up is carried out; Using the sequence number at the feature point extraction interval belonging to each characteristic point as X-coordinate value; The sequence number at feature point extraction interval to refer in characteristic point interval the sequence number of a little residing pixel, namely every Q data point occupies a pixel on screen, pixel corresponding for the coordinate figure of each characteristic point obtained is stored, obtain set { P (j), j=1,2 of pixel, 3,, J}, P (j) are the pixel coordinates that H (j) is corresponding.
step 1041: the slope calculating often adjacent two pixel lines in pixel set, obtains slope value set;
detailed process is: in pixel set { P (j) }, and the slope of the line often between adjacent two pixels calculates, and obtains corresponding slope value, namely obtain corresponding slope value set Z (j), j=1,2,3 ..., J-1}.
step 1042: judging whether to exist in slope value set slope absolute value is zero or infinitely-great slope value;
detailed process is: the slope value in screening slope value set { Z (j) }, and to judge whether to exist in slope value set { Z (j) } slope absolute value be zero or infinitely-great slope value, if judge exist slope absolute value be zero or infinitely-great slope value time, then the gray value of the pixel closed on its adjacent two pixel line both sides is set to α; There is slope absolute value if judge is that infinitely-great slope value illustrates that the X-coordinate of these two pixels is identical, if judge exist slope absolute value be zero slope value illustrate that these two pixel Y-coordinate are identical, the gray value of the pixel closed on by its adjacent two pixel line both sides is set to α, wherein 0< α <1.
step 1043: the absolute value of each slope value in set of slopes and the slope threshold value λ preset are compared, corresponding gray value is set;
detailed process is: when judge in slope value set { Z (j) } be do not exist slope absolute value be zero or infinitely-great slope value time, the absolute value of each slope value in set of slopes { Z (j) } and the slope threshold value λ preset are compared, if the absolute value of slope value is greater than default slope threshold value λ, then illustrate that the close region of these adjacent two pixel lines also exists other pixels, the gray value of the pixel on both sides is set to γ and δ, wherein γ and δ determines according to the adjacent pixels o'clock distance to two pixel lines respectively, and have γ+δ=1, the sawtooth of ecg wave form can be eliminated like this by making the border of line fog, if the absolute value of slope is less than default slope threshold value λ, then judge the positive and negative of slope value, if slope value is just, then the gray value of the lower pixel point of these adjacent two Feature point correspondence coordinate lines is set to β, if slope value is negative, then the gray value of the topmost pixel point of these adjacent two Feature point correspondence coordinate 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 arranged and draw pixel set;
detailed process is: according to arrange gray value each pixel obtain ecg wave form draw pixel set P1 (k), k=1,2,3 ..., K}, wherein K>=J.
step 105: the gray value drawing pixel in pixel set according to ecg wave form draws ecg wave form;
detailed process is: the gray value according to pixel in the set of waveform drawing pixel draws ecg wave form, and the width of wherein 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 and sends to main control module 305; Described electrocardiogram (ECG) data pretreatment module 302 is connected with main control module 305, for carrying out pretreatment to the electrocardiogram (ECG) data transmitted from main control module, comprising sampling and Filtering Processing, stress release treatment also calculates feature point extraction interval, pre-processed results is sent to main control module 305 simultaneously; Described electrocardiogram (ECG) data feature point extraction module 303 is connected with main control module 305, for passing the pretreated electrocardiogram (ECG) data of coming according to main control module 305 and feature point extraction interval obtains characteristic point set to the extraction that electrocardiogram (ECG) data carries out characteristic point, and characteristic point set is sent it back 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 arranging the gray value acquisition ecg wave form drafting pixel set of respective pixel point according to slope value, drawing simultaneously to ecg wave form.
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 being stored by electrocardiogram (ECG) data; Described ecg wave form display module 307 is connected with main control module 305, for ecg wave form display being printed over the display or by ecg wave form; 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 electrocardiogram (ECG) data feature point extraction module 303, and the characteristic point of extraction is depicted as ecg wave form and shows by ecg wave form drafting module 304.
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 that the conducting wire for receiving on collecting cassette gathers; This electrocardiosignal is the electrocardiosignal of simulation; Described AD conversion unit 3021 is connected with receiving element 3011, for the electrocardiosignal of simulation being changed into the electrocardiosignal of numeral, 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 sampling to original EGC waveform data, obtains the electrocardiogram (ECG) data after sampling; Described filter unit 3022 is connected with sampling unit, for sampling electrocardiogram (ECG) data carry out low-pass filtering treatment, eliminate interference and noise, obtain pretreated EGC waveform data set of data points S (n), n=1,2,3 ..., N}; Describedly take out an interval calculation unit 3023 and described filter unit 3022, calculate feature point extraction interval for the resolution according to display, size, waveform walking speed and sample frequency.Described electrocardiogram (ECG) data feature point extraction module 303 comprises: consecutive number strong point difference computational unit 3031, first comparing unit 3032, feature point extraction unit 3033 and pixel set acquiring unit 3034; Described consecutive number strong point difference computational unit 3031, the adjacent two data point for the set of data points according to electrocardiogram (ECG) data asks poor, calculates and obtains difference set; Described first comparing unit 3032 is connected with consecutive number strong point difference computational unit 3031, for comparing the sign symbol of two differences adjacent in difference set, obtains catastrophe point set; Described feature point extraction unit 3033 is connected with described first comparing unit 3032, extracts characteristic point, obtain characteristic point set for the number according to the catastrophe point in feature point extraction interval; Described pixel set acquiring unit 3034 is connected with described feature point extraction unit 3033, for calculating the coordinate figure of each Feature point correspondence according to the value of the characteristic point in 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 calculating the slope of often 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, and for screening the slope value in slope value set, and to judge whether to exist in slope value set slope absolute value be 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 coordinate points line corresponding to adjacent two pixels is set according to the slope value in slope value set, obtains ecg wave form and draw pixel set; When judge in slope value set be do not exist slope absolute value be zero or infinitely-great slope value time, the absolute value of each slope value in set of slopes and the slope threshold value λ preset 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 for obtaining ecg wave form according to each pixel of the gray value arranged, and draws ecg wave form according to the set of ecg wave form drafting pixel.
the foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (2)

1. improve the method that ecg wave form draws accuracy, it is characterized in that, comprising:
The pixel set corresponding with it is obtained according to characteristic point set, the numerical value of each characteristic point is rounded as Y-coordinate value, using the sequence number at the feature point extraction interval belonging to each characteristic point as X-coordinate value, the pixel corresponding according to the coordinate figure of each characteristic point obtained obtains pixel set;
The coordinate corresponding according to two pixels adjacent 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, then the gray value of the both sides adjacent pixels point of coordinate points line corresponding for adjacent two pixels is set to α, wherein 0< α <1, if do not exist for zero or infinitely-great slope value, then the absolute value of slope value and the slope threshold value preset are compared, if the absolute value of slope value is greater than default slope threshold value, then the gray value of the both sides adjacent pixels point of coordinate points line corresponding for adjacent two pixels is set to γ and δ respectively, wherein γ and δ determines according to the distance of pixel to line respectively, wherein γ+δ=1, if the absolute value of slope is less than default slope threshold value, if then judge, slope value is as just, then the lower pixel point gray value of the coordinate points line of adjacent two Feature point correspondence is set to β, if slope value is negative, then the topmost pixel point gray value of the coordinate points line of adjacent two Feature point correspondence is set to β, wherein 0.5< β <1, thus 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 improving ecg wave form drafting accuracy according to claim 1, it is characterized in that, the numerical value of each characteristic point is rounded as Y-coordinate value, the mode wherein rounded according to rounding up is carried out, using the sequence number at the feature point extraction interval belonging to each characteristic point as X-coordinate value, pixel corresponding for the coordinate figure of each characteristic point obtained is stored, obtains 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 CN103976728A (en) 2014-08-13
CN103976728B true 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)

Families Citing this family (9)

* 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
CN105125208B (en) * 2015-10-16 2018-04-27 东软熙康健康科技有限公司 A kind of electrocardio drawing drawing method and electrocardiogram drawing tool
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
CN111345807B (en) * 2018-12-21 2022-08-09 四川锦江电子科技有限公司 Electrocardiographic waveform drawing method, module 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 (3)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1641388B1 (en) * 2003-06-16 2015-04-15 Dayton Technologies Limited Devices and methods for heart-rate measurement and wrist-watch incorporating same
CN101334985B (en) * 2007-06-27 2012-02-01 深圳迈瑞生物医疗电子股份有限公司 Wave data displaying apparatus and method

Patent Citations (3)

* 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
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
CN101378251A (en) * 2007-08-28 2009-03-04 深圳迈瑞生物医疗电子股份有限公司 Method for improving signal display quality under a condition of low sampling rate

Also Published As

Publication number Publication date
CN103126669A (en) 2013-06-05
CN103126669B (en) 2014-09-17
CN103976728A (en) 2014-08-13

Similar Documents

Publication Publication Date Title
CN103976728B (en) A kind of method improving ecg wave form drafting accuracy
US20170220923A1 (en) Gesture classification apparatus and method using emg signal
WO2018165271A1 (en) Systems and methods of identity analysis of electrocardiograms
EP3063601B1 (en) Direct neural interface system and method
DE112013006788T5 (en) Pulse wave velocity measuring method and system and imaging device
KR101579740B1 (en) Untrasound dianognosis apparatus, method and computer-readable storage medium
CN111354006A (en) Method and device for tracing target tissue in ultrasonic image
US8755869B2 (en) Adjusting neighborhood widths of candidate heart beats according to previous heart beat statistics
CN114469124A (en) Method for identifying abnormal electrocardiosignals in motion process
CN107997754A (en) A kind of intelligence mattress system and human body physiological characteristics data extraction method
Wu et al. Catenary image enhancement using wavelet-based contourlet transform with cycle translation
CN106845348B (en) Gesture recognition method based on arm surface electromyographic signals
Madanu et al. Depth of anesthesia prediction via EEG signals using convolutional neural network and ensemble empirical mode decomposition
CN109770891B (en) Electrocardiosignal preprocessing method and preprocessing device
CN110301914B (en) Data measurement method and device for electrocardiographic waveform and terminal equipment
JP5196315B2 (en) Biological signal drawing apparatus and biological signal drawing method
CN116416545A (en) Behavior detection method, apparatus, device and computer readable storage medium
CN106686029A (en) Physiological signal compression transmission and reconstruction method and apparatus
Fathail et al. Ecg paper digitization and r peaks detection using fft
CN110507299A (en) Heart rate signal detection device and method
CN102764474B (en) Auxiliary exercise training system and method
CN105105728A (en) Method and device for pulse wave measurement
Zhang et al. Design of Data Management System for Remote ECG Monitoring
CN113538352A (en) Method and device for acquiring cerebral apoplexy tissue window evaluation value and storage medium
CN106464868A (en) Adaptive demodulation method and apparatus for ultrasound image

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