CN104146706A - Waveform drawing method and device and medical apparatus - Google Patents
Waveform drawing method and device and medical apparatus Download PDFInfo
- Publication number
- CN104146706A CN104146706A CN201410385972.7A CN201410385972A CN104146706A CN 104146706 A CN104146706 A CN 104146706A CN 201410385972 A CN201410385972 A CN 201410385972A CN 104146706 A CN104146706 A CN 104146706A
- Authority
- CN
- China
- Prior art keywords
- waveform
- height
- region
- drawing area
- painting canvas
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000010422 painting Methods 0.000 claims description 107
- 230000000694 effects Effects 0.000 abstract description 7
- 239000004744 fabric Substances 0.000 abstract 3
- 238000010586 diagram Methods 0.000 description 3
- 238000011010 flushing procedure Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008774 maternal effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
Landscapes
- Application Of Or Painting With Fluid Materials (AREA)
Abstract
The invention relates to the technical field of waveform drawing, and provides a waveform drawing method and device and a medical apparatus. The waveform drawing method includes the steps of obtaining N waveforms; obtaining waveform features of the N waveforms; setting a piece of drawing cloth; fixing a drawing area of each waveform on the drawing cloth within the range of the drawing cloth, wherein N is a natural number larger than 1, the drawing areas overlap in equal proportion or are evenly distributed at equal intervals; drawing the waveforms in the drawing areas. The drawing areas overlap in equal proportion or are evenly distributed at equal intervals, and therefore the waveforms can be distributed reasonably, and the effect of easily distinguishing the waveforms is achieved.
Description
Technical field
The present invention relates to waveform drawing technical field, relate in particular to method, equipment and the armarium of waveform drawing.
Background technology
In electrocardio and monitoring field, waveform shows and prints is basic function.The demonstration of waveform and printing effect are one of standards of passing judgment on electrocardiograph and monitor quality.Electrocardiograph detects the waveform obtaining and can on display interface, show on the one hand, also can be recorded and be exported by monitor on the other hand.Electrocardiograph can be divided into interface several waveform viewing areas when drawing waveforms on interface, and each viewing area shows respectively the waveform that difference is led, and making respectively to lead can be not overlapping between waveform, and monitor can record and export according to display interface.This method is only used the in the situation that of large display screen and large recorder chart, just can have good effect, because distribute enough large area can to each viewing area.Small display and/use small records paper in the situation that, this waveform drawing method produces a lot of problems.For example, can cause cut-off or lower cut-off in a lot of waveform generation, it can not be identified, can not be used for medical diagnosis, cause serious consequence.
Summary of the invention
The present invention, in order to solve waveform cut-off technical problem in prior art, provides a kind of method and apparatus of waveform drawing, and a kind of armarium.
According to the first aspect of the embodiment of the present invention, provide a kind of method of waveform drawing.The method comprises: obtain the step of N waveform, the step of wave character of obtaining a described N waveform and the step of setting painting canvas, described N is greater than 1 natural number, wherein, also comprise: the scope with described painting canvas is limited, on described painting canvas, fix the step of the drawing area of each waveform, wherein, described drawing area equal proportion is overlapping or uniformly-spaced evenly arrange between two; And, in the step of described drawing area drawing waveforms.
Further preferably, described wave character comprises waveform height.
Further preferably, the step of fixing the drawing area of each waveform on described painting canvas, comprises step:
S100, judge that whether described painting canvas can place whole described N waveforms, if so, performs step S200;
S200, on described painting canvas, fix the drawing area of each passage waveform, described drawing area is uniformly-spaced evenly arranged between two.
Further preferably, described step S200 comprises:
S210, obtain the height of each waveform, calculate the height summation of a described N waveform;
S220, calculate the height of described painting canvas and the difference of described height summation, obtain interval summation;
S230, by described interval summation divided by N+1, obtain interval height;
S240, determine the drawing area of each waveform according to the height of waveform and described interval height.
Further preferably, the step of fixing the drawing area of each waveform on described painting canvas, comprises step:
S100, judge whether described painting canvas can place whole described N waveforms, if not, execution step S300;
S300, on described painting canvas, fix the drawing area of each waveform, overlapping the arranging of described drawing area equal proportion.
Further preferably, the drawing area of waveform comprises top, region and bottom, region, and described waveform drawing is between top, described region and bottom, region; Described step S300, comprises step:
S310, determine the region top T OP in first waveform drawing region
1;
S320, determine the region top T OP in all the other waveform drawing regions
i: TOP
i=TOP
1+
, wherein, F1 is less than 1 and is greater than 0, i and is more than or equal to 2 and is less than or equal to N, H
j-1it is the height of j-1 waveform;
S330, determine region bottom according to the height of top, region and waveform, the drawing area of fixing each waveform.
Further preferably, the height that described F1 is painting canvas is divided by the height summation of a described N waveform.
Further preferably, described step S300 also comprises step:
S340, judge whether that drawing area exceeds described painting canvas, if not, finished; If so, perform step S350;
S350, again determine the region top T OP in all the other waveform drawing regions
i: TOP
i=TOP
1+
, wherein, F2 is less than F1 and is greater than 0, i and is more than or equal to 2 and is less than or equal to N, H
j-1it is the height of j-1 waveform;
S360, determine bottom, region, the drawing area of fixing each waveform according to the height of definite top, region and waveform again.
Further preferably, described F2=F1-F3, F3=
, wherein, Hei2 is the maximum height that drawing area exceeds painting canvas, H
iit is the height of i waveform.
According to the second aspect of the embodiment of the present invention, provide a kind of waveform drawing device.This device comprises: waveform acquisition module, and for obtaining N waveform, wherein, described N is greater than 1 natural number; The wave character acquisition module being connected with waveform acquisition module, for obtaining the wave character of a described N waveform; Painting canvas setting module, for setting painting canvas; Wherein, also comprise: drawing area stuck-module, be limited for the scope with described painting canvas, on described painting canvas, fix the drawing area of each waveform, wherein, described drawing area equal proportion is overlapping or uniformly-spaced evenly arrange between two; And waveform drawing module, at described drawing area drawing waveforms.
Further preferably, described wave character comprises waveform height.
Further preferably, described drawing area stuck-module, comprises the first judging unit, computing unit and drawing area determining unit; Described the first judging unit is connected with wave character acquisition module and painting canvas setting module respectively, for judging whether described painting canvas can place whole described N waveforms; Described computing unit is connected with described the first judging unit, in the time that the first judging unit is judged as YES, for counting period height; Described drawing area determining unit is connected with described computing unit, for determine the drawing area of each waveform according to the height of waveform and described interval height.
Further preferably, the drawing area of waveform comprises top, region and bottom, region, and described waveform drawing is between top, described region and bottom, region; Described drawing area stuck-module, comprises the first judging unit, computing unit and drawing area determining unit; Described the first judging unit is connected with wave character acquisition module and painting canvas setting module respectively, for judging whether described painting canvas can place whole described N waveforms; Described computing unit is connected with described the first judging unit, in the time that the first judging unit is judged as NO, for calculating the region top T OP in each waveform drawing region
i: TOP
i=TOP
1+
, wherein, TOP
1for the top, region in first waveform drawing region, i is more than or equal to 2 and is less than or equal to N, and F1 is less than 1 and is greater than 0, H
j-1it is the height of j-1 waveform; Described drawing area determining unit is connected with described computing unit, determines bottom, region, the drawing area of fixing each waveform according to the height of top, region and waveform.
Further preferably, also comprise the second judging unit being connected with computing unit, whether exceed described painting canvas for the drawing area that judges a described N waveform; In the time that described the second judging unit is judged as YES, described computing unit calculates the region top T OP in waveform drawing region again
i: TOP
i=TOP
1+
, wherein, i is more than or equal to 2 and is less than or equal to N, and F2 is less than F1 and is greater than 0, H
j-1it is the height of j-1 waveform.
Further preferably, the height that described F1 is painting canvas is divided by the height summation of a described N waveform.
Further preferably, described F2=F1-F3, F3=
, wherein, Hei2 is the maximum height that drawing area exceeds painting canvas, H[i] and be the height of i waveform.
According to the third aspect of the embodiment of the present invention, provide a kind of armarium.This armarium comprises above-mentioned waveform drawing device.
Beneficial effect of the present invention is: this waveform drawing method adopts drawing area equal proportion overlapping or uniformly-spaced evenly arrange between two, can play and make the waveform reasonably effect of arranging, and reach the effect that waveform is easily differentiated.
Brief description of the drawings
Fig. 1 is the flow chart of the waveform drawing method of the embodiment of the present invention.
Fig. 2 is the flow chart that the present embodiment is determined waveform drawing region.
Fig. 3 is the particular flow sheet of step S200.
Fig. 4 is the particular flow sheet of step S300.
Fig. 5 is the waveform drawing apparatus structure schematic diagram of the embodiment of the present invention.
Fig. 6 is drawing area stuck-module structural representation.
Fig. 7 is the waveform schematic diagram that the method for drafting of the embodiment of the present invention is drawn.
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.
Core concept of the present invention is to allow waveform equal proportion overlapping to solve the problem of waveform cut-off, and meanwhile, waveform equal proportion is overlapping can also be played and waveform arranged reasonably act on and reach the effect that waveform is easily differentiated.Waveform equal proportion is overlapping to be referred in all waveforms, and the ratio that the superimposed part of waveform accounts for its whole waveform height is consistent.
Fig. 1 is the flow chart of the waveform drawing method of the embodiment of the present invention.Please refer to Fig. 1, this waveform drawing method comprises the steps:
S1, obtain the step of N waveform.
This step is the basis of waveform drawing, obtains for drawn waveform, allows drawing have object, shoots the arrow at the target.In this step, this N is greater than 1 natural number, and the numerical value of N is not particularly limited in the present invention.For example, ecg wave form has at present 12 leads, 15 leads etc., and these waveforms just have 12 waveforms, 15 waveforms, and now N is 12 or 15 or other numerical value.For patient monitor, this N is just for showing quantity or other numerical value of physical signs.Generally, the Wave data obtaining is kept in memorizer required in order to picture ripple.
S2, obtain the step of the wave character of a described N waveform.
Wave character comprises crest, trough, peak-to-peak interval, waveform height etc. waveform parameter.The embodiment of the present invention preferably this wave character comprises the waveform height of this N waveform.This waveform height is that in this waveform, the highest crest deducts the difference that minimum trough obtains.The waveform height obtaining is for determining the drawing area size of each waveform.
The step of S3, setting painting canvas.
In this step, set a painting canvas, for showing or wave recording.This painting canvas can be used as the display interface of waveform or can be used as the recorder chart of waveform recording.For armarium, the size of its painting canvas is fixed, and usable range is limited.As shown in Figure 7, this painting canvas 100 comprises that effective picture ripple region 110(is called for short effective coverage) and other regions (120,130).These other regions (120,130) are for showing title, information etc. information.This effective coverage 110 is for waveform drawing.
The step of the drawing area of S4, fixing each waveform; Scope with this painting canvas is limited, and fixes the drawing area of each waveform on this painting canvas, and wherein, this drawing area equal proportion is overlapping or uniformly-spaced evenly arrange between two.
The shown waveform of armarium generally adopts roller display mode.Therefore, corresponding on painting canvas, exactly painting canvas is divided into different drawing areas, each drawing area for example, for showing or drawing a waveform (show that II lead ecg wave form).Drawing area and waveform are one to one, and each waveform has the drawing area corresponding with it.Generally, this drawing area arrange be mostly from top to bottom, longitudinal arrangement.Therefore, the height of painting canvas will have influence on drawing area number and arrange.So, in the present embodiment, be limited (using the height of painting canvas as restrictive condition or constraints) with the scope of this painting canvas, certainly in other embodiments, may be that the width of painting canvas is as restrictive condition or constraints.Therefore, in the present embodiment, the waveform height in wave character has just become another constraints.The drawing area of the present embodiment comprises top, region and bottom, region, and this waveform drawing is between top, described region and bottom, region.Bottom this region, add the waveform height of this waveform for top, region.This top, region is the highest fixed point whereabouts that comprises this waveform.
Fig. 2 is the flow chart that the present embodiment is determined waveform drawing region.Please refer to Fig. 2, the method for the drawing area of this fixing each waveform, comprises step:
S100, judge that whether described painting canvas can place whole described waveforms, if so, performs step S200; If not, execution step S300.In this step, the height of the effective coverage of this painting canvas height of painting canvas (be called for short) and this N waveform height summation are compared, if the height of this painting canvas is greater than this height summation, represent that this painting canvas can place whole described waveforms, otherwise expression can not be placed whole described waveforms.
S200, on described painting canvas, fix the drawing area of each passage waveform, described drawing area is uniformly-spaced evenly arranged between two.In the situation that this painting canvas can be placed this N waveform, it is simpler, succinct and neat that this step can make waveform arrange.Fig. 3 is the particular flow sheet of step S200.Please refer to Fig. 3, this step S200 specifically comprises:
S210, obtain the height of each waveform, calculate the height summation of a described N waveform;
S220, calculate the height of described painting canvas and the difference of described height summation, obtain interval summation;
S230, by described interval summation divided by N+1, obtain interval height;
S240, determine the drawing area of each waveform according to the height of waveform and described interval height.In the present embodiment, first this step, determines the region top T OP of the drawing area of Article 1 waveform
1, flushing with the top of this painting canvas by the waveform top of Article 1 waveform (is TOP
1=0),, then according to the height of this Article 1 waveform, determine the bottom, region (having determined the drawing area of Article 1 waveform) of this Article 1 waveform.Secondly, the bottom, region of this Article 1 waveform is added to interval height obtains top, the region (TOP of Article 2 waveform
2), after, determine the region bottom (having determined the drawing area of Article 2 waveform) of this Article 2 waveform according to the height of Article 2 waveform; Determine so, successively the drawing area of each waveform.
S300, on described painting canvas, fix the drawing area of each waveform, described drawing area equal proportion is overlapping.In the situation that this painting canvas cannot be placed this N waveform, it is simpler, succinct and neat that this step can make waveform arrange, and easily recognizes and distinguish.Fig. 4 is the particular flow sheet of step S300.Please refer to Fig. 4, this step S300 comprises step:
S310, determine the region top T OP of the drawing area of first waveform
1.Please refer to Fig. 7, in the present embodiment, by the region top T OP of the drawing area of Article 1 waveform
1flush (i.e. this region top T OP with the top of this painting canvas
1for dotted line 111, this dotted line 111 illustrates under actual environment it is there will not be for convenience of description), i.e. TOP
1=0.
S320, determine the region top T OP in all the other waveform drawing regions
i: TOP
i=TOP
1+
, wherein, F1 is less than 1 and is greater than 0, H
iit is the height of i waveform.F1 is the ratio of equal proportion in overlapping, and the size of F1 has determined overlapping part, and the larger expression lap of F1 is just less.The present embodiment is preferred, and the height that described F1 is painting canvas is divided by the height summation of a described N waveform, and overlapping like this part is minimum, the easiest for differentiating.
S330, determine region bottom according to the height of top, region and waveform, the drawing area of fixing each waveform.Determining of the drawing area of each waveform, is first the top, region of the drawing area of fixed this waveform, then on the basis at top, region, adds that waveform height obtains waveform bottom, and last, the region between top, region and bottom, region is the drawing area of waveform.The drawing area of each waveform has overlapping in this step.The explanation as an example of first waveform example, bottom, the region BOT of the drawing area of this first waveform
1for this region top T OP
1add its waveform height, be specially the dotted line 112 in Fig. 7.The drawing area that region between dotted line 111 and dotted line 112 is first waveform.From Fig. 7, also can find out, the drawing area of the drawing area of first waveform and second waveform has overlapping, and other waveforms are as the same.
S340, judge whether that drawing area exceeds described painting canvas, if not, finished; If so, perform step S350; This step judgement is that top by judging whether drawing area or bottom exceed this painting canvas and complete.
S350, again determine the region top T OP in all the other waveform drawing regions
i: TOP
i=TOP
1+
, wherein, F2 is less than F1 and is greater than 0, i and is more than or equal to 2 and is less than or equal to N, H
j-1it is the height of j-1 waveform; F2 is the ratio of the equal proportion while again determining in overlapping.Because ratio F1 in deterministic process is for the first time larger, cause part drawing area to exceed this painting canvas, so the size of F2 is less than F1 while again determining, while representing again to determine, overlapping scope is larger.The present embodiment preferably this F2 is that F1 deducts F3, wherein, and F3=
, wherein, Hei2 is the maximum height that drawing area exceeds painting canvas, H
iit is the height of i waveform.Ensure so both to have met the requirement of placing, guaranteed that again overlapping part is minimum, the easiest for differentiating.
S360, determine bottom, region according to the height of definite top, region and waveform again, again fix the drawing area of each waveform.Again fix each waveform drawing area method as previously mentioned, repeat no more.This drawing area of again determining using as final drawing area in step S5 for drawing waveforms.
S5, the step of drawing a described N waveform at described drawing area.In drawing area, the method for drawing waveforms is ripe prior art, does not elaborate in embodiments of the present invention.
Sequencing between step S3 and step S1, S2 is not strict with or restriction in embodiments of the present invention, can adjust as required.
The waveform drawing method of the embodiment of the present invention, overlapping or uniformly-spaced arrange by equal proportion, can make painting canvas arrange and easily differentiate between attractive in appearance, waveform.
Fig. 5 is the waveform drawing apparatus structure schematic diagram of the embodiment of the present invention.Please refer to Fig. 5, this waveform drawing device comprises waveform acquisition module 1, wave character acquisition module 2, painting canvas setting module 3, drawing area stuck-module 4 and waveform drawing module 5.
This waveform acquisition module 1, for obtaining N waveform.The shape information of obtaining is used to drawing waveforms, allows drawing have object, shoots the arrow at the target.This N is greater than 1 natural number, and the concrete numeral of N is not particularly limited in the present invention.For example, ecg wave form has at present 12 leads, 15 leads etc., and these waveforms just have 12 waveforms, 15 waveforms, and now N is 12 or 15 or is other numerals.For patient monitor, this N can be the quantity that need to show physical signs, or determines according to display mode.The Wave data obtaining is kept in memorizer required in order to picture ripple.
This wave character acquisition module 2 is connected with this waveform acquisition module 1, for obtaining the wave character of a described N waveform.This wave character comprises crest, trough, peak-to-peak interval, waveform height etc. waveform parameter.The embodiment of the present invention is preferably obtained the waveform height of this N waveform.This waveform height is that in this waveform, the highest crest deducts the difference that minimum trough obtains.
Painting canvas setting module 3, for setting painting canvas; Painting canvas setting module 3 is set a painting canvas, for showing or wave recording.This painting canvas can be used as the display interface of waveform or can be used as the recorder chart of waveform recording.For armarium, the size of its painting canvas is fixed, and usable range is limited.
This drawing area stuck-module 4 is connected with painting canvas setting module 3 and wave character acquisition module 2 respectively, for being limited with the scope of described painting canvas, on described painting canvas, fix the drawing area of each waveform, wherein, described drawing area equal proportion is overlapping or uniformly-spaced evenly arrange between two.
This waveform drawing module 5, is connected with this drawing area stuck-module 4, at described drawing area drawing waveforms.This waveform drawing module 5 is ripe prior aries, does not set forth in embodiments of the present invention.
Please refer to Fig. 6, this drawing area stuck-module 4, comprises that the first judging unit 41, computing unit 42, drawing area determining unit 43 and second judge computing unit 42.Described the first judging unit 41 is set 3 with wave character acquisition module 2 and painting canvas respectively and is connected, described computing unit 42 is connected with described the first judging unit 41, described drawing area determining unit 43 is connected with described computing unit 42, and described the second judging unit 42 is connected with described drawing area determining unit 43 and computing unit 42.
Described the first judging unit 41 is set 3 with wave character acquisition module 2 and painting canvas respectively and is connected, for judging whether described painting canvas can place whole described N waveforms.This first judging unit 41 compares the height of the effective coverage of this painting canvas (being called for short the height of painting canvas) with this N waveform height summation, if the height of this painting canvas is greater than this height summation, represent that this painting canvas can place whole described waveforms, otherwise expression can not be placed whole described waveforms.
When this first judging unit 41 is judged as YES, described computing unit 42 is for counting period height; First, this computing unit 42 calculates the height summation of a described N waveform; Then, calculate the height of described painting canvas and the difference of described height summation, obtain interval summation; Finally, described interval summation, divided by N+1, is obtained to interval height.
When this first judging unit 41 is judged as YES, described drawing area determining unit 43 is for determining the drawing area of each waveform according to the height of waveform and described interval height.The drawing area of waveform comprises top, region and bottom, region, and described waveform drawing is between top, described region and bottom, region.First this drawing area determining unit 43 determines the top, region of the drawing area of Article 1 waveform, and flushing with the top of this painting canvas by the top, region of Article 1 waveform (is TOP
1=0),, then according to the height of this Article 1 waveform, determine the bottom, region (having determined the drawing area of Article 1 waveform) of this Article 1 waveform.Secondly, the bottom, region of this Article 1 waveform is added to interval height obtains top, the region (TOP of Article 2 waveform
2), after, determine the region bottom (having determined the drawing area of Article 2 waveform) of this Article 2 waveform according to the height of Article 2 waveform; Determine so, successively the drawing area of each waveform.
When this first judging unit 41 is judged as NO, this computing unit 42 is for calculating the region top T OP in each waveform drawing region
i: TOP
i=TOP
1+
, wherein, F1 is less than 1 and is greater than 0, H
iit is the height of i waveform.F1 is the ratio of equal proportion in overlapping, and the size of F1 has determined overlapping part, and the larger expression lap of F1 is just less.The present embodiment is preferred, and the height that described F1 is painting canvas is divided by the height summation of a described N waveform, and overlapping like this part is minimum, the easiest for differentiating.
When this first judging unit 41 is judged as NO, this drawing area determining unit 43 is determined bottom, region, the drawing area of fixing each waveform according to the height of top, region and waveform.Determining of the drawing area of each waveform, is first the top, region of the drawing area of fixed this waveform, then on the basis at top, region, adds that waveform height obtains waveform bottom, and last, the region between top, region and bottom, region is the drawing area of waveform.The drawing area of each waveform has overlapping in the present embodiment.
Also can not use in certain embodiments the second judging unit 44, the waveform of drawing so also can produce cut-off in some special situation, shows not exclusively.The present embodiment preferably uses the second judging unit 44, and this second judging unit 44 is connected with this drawing area determining unit 43 and computing unit 42, whether exceeds described painting canvas for the drawing area that judges a described N waveform.This second judging unit 44 completes judgement by whether having the top, region of drawing area or bottom, region to exceed this painting canvas, if have top, region or bottom, region to exceed this painting canvas, think and have drawing area to exceed painting canvas, otherwise, think and do not exceed this painting canvas.In the time that described the second judging unit 44 is judged as NO, this waveform drawing device ends drawing.
In the time that described the second judging unit 44 is judged as YES, described computing unit 42 calculates the region top T OP in waveform drawing region again
i: TOP
i=TOP
1+
, wherein, F2 is less than F1 and is greater than 0, i and is more than or equal to 2 and is less than or equal to N, H
j-1it is the height of j-1 waveform; F2 is the ratio of the equal proportion while again determining in overlapping.Because ratio F1 in deterministic process is for the first time larger, cause part drawing area to exceed this painting canvas, so the size of F2 is less than F1 while again determining, while representing again to determine, overlapping scope is larger.The present embodiment preferably this F2 is that F1 deducts F3, wherein, and F3=
, wherein, Hei2 is the maximum height that drawing area exceeds painting canvas, H
iit is the height of i waveform.Ensure so both to have met the requirement of placing, guaranteed that again overlapping part is minimum, the easiest for differentiating.This drawing area determining unit 43 is determined bottom, region according to the height of again definite top, region and waveform, again fixes the drawing area of each waveform.Again fix each waveform drawing area method as previously mentioned, repeat no more.This waveform drawing module 5 will be carried out drawing waveforms as final drawing area by this drawing area of again determining.
The waveform drawing device of the embodiment of the present invention, overlapping or uniformly-spaced arrange by equal proportion, can make painting canvas arrange and easily differentiate between attractive in appearance, waveform.
The armarium of the embodiment of the present invention comprises ultrasonic product, brain electricity product, electrocardiograph, patient monitor, maternal monitor and dynamic ecg etc., and these equipment all have the waveform drawing device of the embodiment of the present invention.Especially it is better that dynamic ecg uses the waveform drawing device effect of the embodiment of the present invention.
Method to waveform drawing provided by the present invention, device and armarium are described in detail above, applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand core concept of the present invention; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.
Claims (17)
1. a method for waveform drawing, comprises and obtains the step of N waveform, the step of wave character of obtaining a described N waveform and the step of setting painting canvas, and described N is greater than 1 natural number, it is characterized in that, also comprises:
Scope with described painting canvas is limited, and fixes the step of the drawing area of each waveform on described painting canvas, and wherein, described drawing area equal proportion is overlapping or uniformly-spaced evenly arrange between two; And
In the step of described drawing area drawing waveforms.
2. the method for waveform drawing as claimed in claim 1, is characterized in that, described wave character comprises waveform height.
3. the method for waveform drawing as claimed in claim 1, is characterized in that, fixes the step of the drawing area of each waveform on described painting canvas, comprises step:
S100, judge that whether described painting canvas can place whole described N waveforms, if so, performs step S200;
S200, on described painting canvas, fix the drawing area of each passage waveform, described drawing area is uniformly-spaced evenly arranged between two.
4. the method for waveform drawing as claimed in claim 3, is characterized in that, described step S200 comprises:
S210, obtain the height of each waveform, calculate the height summation of a described N waveform;
S220, calculate the height of described painting canvas and the difference of described height summation, obtain interval summation;
S230, by described interval summation divided by N+1, obtain interval height;
S240, determine the drawing area of each waveform according to the height of waveform and described interval height.
5. the method for waveform drawing as claimed in claim 1, is characterized in that, fixes the step of the drawing area of each waveform on described painting canvas, comprises step:
S100, judge whether described painting canvas can place whole described N waveforms, if not, execution step S300;
S300, on described painting canvas, fix the drawing area of each waveform, overlapping the arranging of described drawing area equal proportion.
6. the method for waveform drawing as claimed in claim 5, is characterized in that, the drawing area of waveform comprises top, region and bottom, region, and described waveform drawing is between top, described region and bottom, region; Described step S300, comprises step:
S310, determine the region top T OP in first waveform drawing region
1;
S320, determine the region top T OP in all the other waveform drawing regions
i: TOP
i=TOP
1+
, wherein, F1 is less than 1 and is greater than 0, i and is more than or equal to 2 and is less than or equal to N, H
j-1it is the height of j-1 waveform;
S330, determine region bottom according to the height of top, region and waveform, the drawing area of fixing each waveform.
7. the method for waveform drawing as claimed in claim 6, is characterized in that, the height that described F1 is painting canvas is divided by the height summation of a described N waveform.
8. the method for waveform drawing as claimed in claim 6, is characterized in that, described step S300 also comprises step:
S340, judge whether that drawing area exceeds described painting canvas, if not, finished; If so, perform step S350;
S350, again determine the region top T OP in all the other waveform drawing regions
i: TOP
i=TOP
1+
, wherein, F2 is less than F1 and is greater than 0, i and is more than or equal to 2 and is less than or equal to N, H
j-1it is the height of j-1 waveform;
S360, determine bottom, region, the drawing area of fixing each waveform according to the height of definite top, region and waveform again.
9. the method for waveform drawing as claimed in claim 8, is characterized in that described F2=F1-F3, F3=
, wherein, Hei2 is the maximum height that drawing area exceeds painting canvas, H
iit is the height of i waveform.
10. a waveform drawing device, comprising:
Waveform acquisition module, for obtaining N waveform, wherein, described N is greater than 1 natural number;
The wave character acquisition module being connected with waveform acquisition module, for obtaining the wave character of a described N waveform;
Painting canvas setting module, for setting painting canvas;
It is characterized in that, also comprise:
Drawing area stuck-module, is limited for the scope with described painting canvas, fixes the drawing area of each waveform on described painting canvas, and wherein, described drawing area equal proportion is overlapping or uniformly-spaced evenly arrange between two; And
Waveform drawing module, at described drawing area drawing waveforms.
11. waveform drawing devices as claimed in claim 10, is characterized in that, described wave character comprises waveform height.
12. waveform drawing devices as claimed in claim 10, is characterized in that, described drawing area stuck-module comprises the first judging unit, computing unit and drawing area determining unit; Described the first judging unit is connected with wave character acquisition module and painting canvas setting module respectively, for judging whether described painting canvas can place whole described N waveforms; Described computing unit is connected with described the first judging unit, in the time that the first judging unit is judged as YES, for counting period height; Described drawing area determining unit is connected with described computing unit, for determine the drawing area of each waveform according to the height of waveform and described interval height.
13. waveform drawing devices as claimed in claim 10, is characterized in that, the drawing area of waveform comprises top, region and bottom, region, and described waveform drawing is between top, described region and bottom, region; Described drawing area stuck-module, comprises the first judging unit, computing unit and drawing area determining unit; Described the first judging unit is connected with wave character acquisition module and painting canvas setting module respectively, for judging whether described painting canvas can place whole described N waveforms; Described computing unit is connected with described the first judging unit, in the time that the first judging unit is judged as NO, for calculating the region top T OP in each waveform drawing region
i: TOP
i=TOP
1+
, wherein, TOP
1for the top, region in first waveform drawing region, i is more than or equal to 2 and is less than or equal to N, and F1 is less than 1 and is greater than 0, H
j-1it is the height of j-1 waveform; Described drawing area determining unit is connected with described computing unit, determines bottom, region, the drawing area of fixing each waveform according to the height of top, region and waveform.
14. waveform drawing devices as claimed in claim 13, is characterized in that, also comprise the second judging unit being connected with computing unit, whether exceed described painting canvas for the drawing area that judges a described N waveform; In the time that described the second judging unit is judged as YES, described computing unit calculates the region top T OP in waveform drawing region again
i: TOP
i=TOP
1+
, wherein, i is more than or equal to 2 and is less than or equal to N, and F2 is less than F1 and is greater than 0, H
j-1it is the height of j-1 waveform.
15. waveform drawing devices as claimed in claim 13, is characterized in that, the height that described F1 is painting canvas is divided by the height summation of a described N waveform.
16. waveform drawing devices as claimed in claim 14, is characterized in that described F2=F1-F3, F3=
, wherein, Hei2 is the maximum height that drawing area exceeds painting canvas, H
iit is the height of i waveform.
17. 1 kinds of armarium, is characterized in that, comprise the waveform drawing device described in claim 10 to 16 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410385972.7A CN104146706B (en) | 2014-08-07 | 2014-08-07 | Waveform drawing method and device and medical apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410385972.7A CN104146706B (en) | 2014-08-07 | 2014-08-07 | Waveform drawing method and device and medical apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104146706A true CN104146706A (en) | 2014-11-19 |
CN104146706B CN104146706B (en) | 2017-05-17 |
Family
ID=51872497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410385972.7A Active CN104146706B (en) | 2014-08-07 | 2014-08-07 | Waveform drawing method and device and medical apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104146706B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105184080A (en) * | 2015-09-09 | 2015-12-23 | 北京嘉和美康信息技术有限公司 | Lead waveform replacing method and device |
CN106821373A (en) * | 2016-12-30 | 2017-06-13 | 武汉明德生物科技股份有限公司 | The method, system and device of electrocardiogram are drawn in a kind of local updating |
CN111959132A (en) * | 2020-08-17 | 2020-11-20 | 厦门纳龙科技有限公司 | Electrocardiogram chest lead halving report printing method, terminal equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5284152A (en) * | 1992-02-28 | 1994-02-08 | Hewlett-Packard Company | Method for displaying superimposed heartbeat waveforms |
US5739817A (en) * | 1992-02-28 | 1998-04-14 | Hewlett-Packard Company | Method and apparatus for displaying position information adjacent to a scroll box |
CN101458268A (en) * | 2007-10-31 | 2009-06-17 | 特克特朗尼克公司 | Area overlap control for auto-ranging/auto-setup functions |
CN102090886A (en) * | 2010-12-02 | 2011-06-15 | 广东宝莱特医用科技股份有限公司 | Method for drawing and overlaying multi-channel electrocardiograph waveforms |
CN102579038A (en) * | 2012-03-28 | 2012-07-18 | 深圳市理邦精密仪器股份有限公司 | Method and device for automatically configuring electrocardiographic wave data |
-
2014
- 2014-08-07 CN CN201410385972.7A patent/CN104146706B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5284152A (en) * | 1992-02-28 | 1994-02-08 | Hewlett-Packard Company | Method for displaying superimposed heartbeat waveforms |
US5739817A (en) * | 1992-02-28 | 1998-04-14 | Hewlett-Packard Company | Method and apparatus for displaying position information adjacent to a scroll box |
CN101458268A (en) * | 2007-10-31 | 2009-06-17 | 特克特朗尼克公司 | Area overlap control for auto-ranging/auto-setup functions |
CN102090886A (en) * | 2010-12-02 | 2011-06-15 | 广东宝莱特医用科技股份有限公司 | Method for drawing and overlaying multi-channel electrocardiograph waveforms |
CN102579038A (en) * | 2012-03-28 | 2012-07-18 | 深圳市理邦精密仪器股份有限公司 | Method and device for automatically configuring electrocardiographic wave data |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105184080A (en) * | 2015-09-09 | 2015-12-23 | 北京嘉和美康信息技术有限公司 | Lead waveform replacing method and device |
CN105184080B (en) * | 2015-09-09 | 2019-07-12 | 北京嘉和美康信息技术有限公司 | A kind of lead waveform method of replacing and device |
CN106821373A (en) * | 2016-12-30 | 2017-06-13 | 武汉明德生物科技股份有限公司 | The method, system and device of electrocardiogram are drawn in a kind of local updating |
CN106821373B (en) * | 2016-12-30 | 2020-01-24 | 武汉明德生物科技股份有限公司 | Method, system and device for locally updating and drawing electrocardiogram |
CN111959132A (en) * | 2020-08-17 | 2020-11-20 | 厦门纳龙科技有限公司 | Electrocardiogram chest lead halving report printing method, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104146706B (en) | 2017-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105247459B (en) | It has been shown that, touch and stylus synchronize | |
Barascud et al. | Brain responses in humans reveal ideal observer-like sensitivity to complex acoustic patterns | |
CN108460707B (en) | Intelligent supervision method and system for homework of students | |
Krigolson et al. | Learning to become an expert: Reinforcement learning and the acquisition of perceptual expertise | |
Eastman et al. | PLDAPS: a hardware architecture and software toolbox for neurophysiology requiring complex visual stimuli and online behavioral control | |
US10101827B2 (en) | Method and apparatus for controlling a touch-screen based application ported in a smart device | |
CN103365469B (en) | The detection method of touch point, device, touch drive circuit and touch screen | |
CN109730701A (en) | Method and device for acquiring emotional data | |
CN106547504B (en) | Fluency appraisal procedure and device | |
Drijvers et al. | Alpha and beta oscillations index semantic congruency between speech and gestures in clear and degraded speech | |
CN104146706A (en) | Waveform drawing method and device and medical apparatus | |
CN107066383A (en) | A kind of application program smoothness degree detection method and device | |
CN103700133A (en) | Three-dimensional scene distributed rendering synchronous refreshing method and system | |
EP2574280A3 (en) | Device, method, and program for assisting in initial setting of imaging condition, and radiation imaging apparatus and radiation imaging system | |
CN109196463A (en) | Active touch input device pairing is negotiated | |
CN113822907B (en) | Image processing method and device | |
CN107424157A (en) | Animal sticks the computational methods and computing system of contact zone real contact area | |
CN117275673A (en) | Cognitive training device and method for improving allocated attention | |
CN108937971A (en) | A kind of method and device for evaluating and testing state of attention | |
CN108198124A (en) | Medical image processing method, device, computer equipment and storage medium | |
CN103745619A (en) | Information processing method and device | |
CN109334010A (en) | 3D printer implementation method, device and electronic equipment | |
CN109255997A (en) | A kind of electronic teaching material is prepared lessons teaching methods and device | |
CN109009051A (en) | heart rate measuring method, device, equipment and storage medium | |
CN107481692A (en) | Display method and device of segment type LCD |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |