CN109491628A - A kind of method for drafting and system of quick reverse sawtooth waveform - Google Patents

A kind of method for drafting and system of quick reverse sawtooth waveform Download PDF

Info

Publication number
CN109491628A
CN109491628A CN201811200526.9A CN201811200526A CN109491628A CN 109491628 A CN109491628 A CN 109491628A CN 201811200526 A CN201811200526 A CN 201811200526A CN 109491628 A CN109491628 A CN 109491628A
Authority
CN
China
Prior art keywords
pixel
coordinate
value
drafting
reverse sawtooth
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.)
Pending
Application number
CN201811200526.9A
Other languages
Chinese (zh)
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.)
Guangdong Biolight Meditech Co Ltd
Original Assignee
Guangdong Biolight Meditech Co Ltd
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 Guangdong Biolight Meditech Co Ltd filed Critical Guangdong Biolight Meditech Co Ltd
Priority to CN201811200526.9A priority Critical patent/CN109491628A/en
Publication of CN109491628A publication Critical patent/CN109491628A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

The present invention relates to the method for drafting and system of a kind of quick reverse sawtooth waveform, for realizing: it reads patient monitor and shows discrete pixels in screen;Drawing of Curve is carried out to discrete pixels, including is successively read predetermined number pixel, takes the abscissa of predetermined number pixel and/or the maximum value of ordinate, minimum value and average value;Continue to read next pixel, the abscissa and/or ordinate of the abscissa of the pixel and/or ordinate and the step S2 are compared one by one;The pixel color brightness of screen is shown according to comparing result dynamic adjustment patient monitor.The invention has the benefit that on the basis of not increasing hardware cost and substantially consuming cpu resource, enable to drafting wavy curve that step-like edge problem is obviously reduced, technical solution of the present invention provides a kind of quick reverse sawtooth waveform technique of painting for solving its technical problem, this method can not only significantly eliminate curve bring edge sawtooth problem of drawing, and algorithm occupancy cpu resource is extremely low.

Description

A kind of method for drafting and system of quick reverse sawtooth waveform
Technical field
The present invention relates to the method for drafting and system of a kind of quick reverse sawtooth waveform, belong to computer graphical processing field.
Background technique
Currently, the display screen of patient monitor is made of the pixel of series of discrete, there are certain distance between each pixel, When lighting display screen, since the brightness of gap between pixel is obviously secretly more many than the brightness of pixel itself, will cause aobvious Show that zigzag occurs in the wave moulding (composition such as skew lines or circle (arc)) of screen display or step-like edge is this with discrete Amount indicates distortion effect caused by continuous quantity, when drawing wave moulding to have on human eye vision it is apparent discontinuously, not only Sliding phenomenon.Overcome the now obvious problem of dtmf distortion DTMF of existing lines, most straightforward approach is exactly to improve the pixel of patient monitor display screen Density does full-screen image processing, improves the pixel density of display screen, to reduce the gap between pixel, falls to reduce brightness The too big problem of difference, it means that improving the cost of hardware.Next, which does edge image processing, will consume a large amount of cpu resource Do algorithm.
Summary of the invention
Several exemplary aspects of the disclosure are summarized as follows.This summary is provided to the convenience of reader, to provide to this The basic comprehension of a little embodiments rather than fully limit the scope of the invention.This summarizes the extensive of not all contemplated embodiments Summary, and it is neither intended to mark crucial or important element in all aspects, the range in terms of any or all is not described yet.Its Sole purpose is that some concepts of one or more embodiments are presented in simplified form, retouches in more detail as what is presented later The prelude stated.For convenience, term " some embodiments " herein can be used for referring to the single embodiment or multiple of the disclosure Embodiment.
In view of the above-mentioned problems, not increasing the invention proposes the method for drafting and system of a kind of quick reverse sawtooth waveform On the basis of hardware cost and substantially consumption cpu resource, enables to drafting wavy curve that step-like edge is obviously reduced and ask Topic.
Technical solution of the present invention includes a kind of method for drafting of quick reverse sawtooth waveform, which is characterized in that this method packet Include following steps: a kind of method for drafting of quick reverse sawtooth waveform, which is characterized in that method includes the following steps: S1, mapping Patient monitor shows in screen physical equipment into memory and operates the color value of respective pixel;S2, to discrete as coordinate calculating, packet It includes to obtain and to draw the coordinate of pixel, the maximum value of the high bright spot in the center of calculating and plotting pixel and both sides descending luminance pixel, Minimum value;S3 calculates the brightness value to successively decrease toward both sides according to the high bright spot in the center being calculated and both sides expanded range;S4, root According to pixel coordinate and the corresponding color value of pixel coordinate that known calculations come out, it is configured the pixel color that patient monitor shows screen Color brightness.
According to the method for drafting of the quick reverse sawtooth waveform, wherein step S1 is specifically included: patient monitor will be shown The discrete pixels physical equipment for being shown in display screen maps in caching, and is written and read to the discrete pixel values of caching.
3. the method for drafting of quick reverse sawtooth waveform according to claim 1, which is characterized in that the step S2 tool Body includes: that the Y-coordinate of continuous three pixels is taken using the vertical direction reverse sawtooth technique of painting in the calculating process of pixel coordinate overlay area Value, compares maximum value Ymax in Y-coordinate value, minimum value Ymin and Ymid, and wherein Ymid is last time Ymax's and Ymin Center presses current data if a unmatched data and calculates Y-coordinate;Continuous three pixels are taken using the vertical direction reverse sawtooth technique of painting X-coordinate value, compare maximum value Xmax in X-coordinate value, minimum value Xmin and Xmid, wherein Xmid be last time Xmax With the center of Xmin, current data is pressed if a unmatched data and calculates X-coordinate.
According to the method for drafting of the quick reverse sawtooth waveform, wherein step S3 is specifically included: filtering out new Ymax After Ymin, using the position Ymid as original color brightness, in Y direction from Ymid respectively toward the pixel in the direction Ymax and Ymin Chroma-luminance gradually weakens;After filtering out new Xmax and Xmin, using the position Xmid as original color brightness, X-direction from Xmid gradually weakens toward the pixel color brightness in the direction Xmax and Xmin respectively.
Technical solution of the present invention further includes a kind of for executing the drafting of the quick reverse sawtooth waveform of above-mentioned any means System, the system include: mapping block, show that physical equipment is into memory in screen for that will map patient monitor, operation corresponds to The color value of pixel;Coordinates computed module will draw the coordinate of pixel, calculating and plotting including obtaining to discrete as coordinate calculating Maximum value, the minimum value of the high bright spot in the center of pixel and both sides descending luminance pixel;Color value module is calculated, basis is used for The high bright spot in the center being calculated and both sides expanded range calculate the brightness value to successively decrease toward both sides;Update module, for according to Know the pixel coordinate calculated and the corresponding color value of pixel coordinate, is configured patient monitor and shows that the pixel color of screen is bright Degree.
The invention has the benefit that being enabled on the basis of not increasing hardware cost and substantially consuming cpu resource It draws wavy curve and is obviously reduced step-like edge problem, technical solution of the present invention provides a kind of its technical problem that solves The quick reverse sawtooth waveform technique of painting, this method can not only significantly eliminate curve bring edge sawtooth problem of drawing, and algorithm It is extremely low to occupy CPU resource.
Detailed description of the invention
Fig. 1 show overview flow chart according to the method for the present invention;
Fig. 2 show the schematic diagram constituted when the pixel group skew lines of embodiment according to the present invention;
Fig. 3 show the current coordinate point brightness change schematic diagram of embodiment according to the present invention;
The waveform diagram that electrocardiogram I, II of technical solution of the present invention are led is not used in Fig. 4 a shown in 4b;
Fig. 5 a, 5b show the wave of embodiment according to the present invention led using electrocardiogram I, II of technical solution of the present invention Shape figure.
Specific embodiment
Technical solution of the present invention includes the method for drafting and system of a kind of quick reverse sawtooth waveform, and being suitable for below will knot It closes embodiment and attached drawing and clear, complete description is carried out to the technical effect of design of the invention, specific structure and generation, to fill Ground is divided to understand the purpose of the present invention, scheme and effect.
It should be noted that unless otherwise specified, when a certain feature referred to as " fixation ", " connection " are in another feature, It can directly fix, be connected to another feature, and can also fix, be connected to another feature indirectly.In addition, this The descriptions such as the upper and lower, left and right used in open are only the mutual alignment pass relative to each component part of the disclosure in attached drawing For system.The "an" of used singular, " described " and "the" are also intended to including most forms in the disclosure, are removed Non- context clearly expresses other meaning.In addition, unless otherwise defined, all technical and scientific terms used herein It is identical as the normally understood meaning of those skilled in the art.Term used in the description is intended merely to describe herein Specific embodiment is not intended to be limiting of the invention.Term as used herein "and/or" includes one or more relevant The arbitrary combination of listed item.
It will be appreciated that though various elements, but this may be described using term first, second, third, etc. in the disclosure A little elements should not necessarily be limited by these terms.These terms are only used to for same type of element being distinguished from each other out.For example, not departing from In the case where disclosure range, first element can also be referred to as second element, and similarly, second element can also be referred to as One element.The use of provided in this article any and all example or exemplary language (" such as ", " such as ") is intended merely to more Illustrate the embodiment of the present invention well, and unless the context requires otherwise, otherwise the scope of the present invention will not be applied and be limited.
Fig. 1 show overview flow chart according to the method for the present invention.Specifically include: S1, mapping patient monitor show screen Middle physical equipment is into memory and operates the color value of respective pixel;S2, to discrete as coordinate calculating, including acquisition will draw picture The coordinate of element, maximum value, the minimum value of the high bright spot in the center of calculating and plotting pixel and both sides descending luminance pixel;S3, according to The high bright spot in the center being calculated and both sides expanded range calculate the brightness value to successively decrease toward both sides;S4 comes out according to known calculations Pixel coordinate and the corresponding color value of pixel coordinate, be configured patient monitor show screen pixel color brightness.
Fig. 2 show the schematic diagram constituted when the pixel group skew lines of embodiment according to the present invention.When without reverse sawtooth, Each pixel forms the schematic diagram constituted when a skew lines on patient monitor, and each grid represents a pixel, the drafting of straight line It is middle apparent step-like phenomenon occur.
Fig. 3 show the current coordinate point brightness change schematic diagram of embodiment according to the present invention.Fig. 2 is the method for the present invention In the straight line of drafting, the overlay area of current coordinate point brightness change is determined according to contiguous pixels coordinate position, in zoning Pixel suitable color brightness degree (remoter from center, brightness is smaller), solve two jumps in brightness between pixel and gap Excessive problem, the black occupied area size of each pixel represents the relative size of the colour brightness of the pixel, and (two pieces black Gap size does not represent the gap of actual pixels between block), without apparent step-like phenomenon in straight line.
Fig. 4 a and 4b are the waveform diagrams that do not lead using electrocardiogram I, II that quick reverse sawtooth is drawn, and Fig. 5 a and 5b are to apply The waveform diagram that electrocardiogram I, II of the quick reverse sawtooth waveform technique of painting of the present invention are led.It can equally be drawn out on patient monitor corresponding Waveform diagram.It should be appreciated that the embodiment of the present invention can be by computer hardware, the combination of hardware and software or by depositing The computer instruction in non-transitory computer-readable memory is stored up to be effected or carried out.Standard program skill can be used in method Art-includes that the non-transitory computer-readable storage media configured with computer program is realized in computer program, wherein such as Storage medium of this configuration operates computer in a manner of specific and is predefined --- according to describing in a particular embodiment Method and attached drawing.Each program can be realized with the programming language of level process or object-oriented with logical with computer system Letter.However, if desired, the program can be realized with compilation or machine language.Under any circumstance, the language can be compiling or The language of explanation.In addition, the program can be run on the specific integrated circuit of programming for this purpose.
In addition, the operation of process described herein can be performed in any suitable order, unless herein in addition instruction or Otherwise significantly with contradicted by context.Process described herein (or modification and/or combination thereof) can be held being configured with It executes, and is can be used as jointly on the one or more processors under the control of one or more computer systems of row instruction The code (for example, executable instruction, one or more computer program or one or more application) of execution, by hardware or its group It closes to realize.Computer program includes the multiple instruction that can be performed by one or more processors.
Further, method can be realized in being operably coupled to suitable any kind of computing platform, including but It is not limited to PC, mini-computer, main frame, work station, network or distributed computing environment, individual or integrated meter Calculate machine platform or communicated with charged particle tool or other imaging devices etc..Each aspect of the present invention can be to be stored in No matter machine readable code on non-transitory storage medium or equipment is moveable or is integrated to calculate and put down to realize Platform, such as hard disk, optically read and/or write-in storage medium, RAM, ROM, so that it can be read by programmable calculator, when depositing Storage media or equipment can be used for configuration and operation computer to execute process described herein when being read by computer.In addition, Machine readable code, or part thereof can be transmitted by wired or wireless network.When such media include in conjunction with microprocessor or When other data processors realize the instruction or program of above step, the disclosure herein includes that these and other are different types of non- Temporary computer readable storage medium.When programming according to the method for the present invention with technology, the invention also includes computer sheets Body.
Computer program can be applied to input data to execute functions herein, be deposited to convert input data with generating It stores up to the output data of nonvolatile memory.Output information can also be applied to one or more output equipment such as displays. In the preferred embodiment of the invention, the data of conversion indicate physics and tangible object, including the physics generated on display Describe with the particular visual of physical objects.
More than, only presently preferred embodiments of the present invention, the invention is not limited to above embodiment, as long as its with Identical means reach technical effect of the invention, all within the spirits and principles of the present invention, any modification for being made, equivalent Replacement, improvement etc., should be included within the scope of the present invention.Its within the scope of the present invention technical solution and/ Or embodiment can have a variety of different modifications and variations.

Claims (5)

1. a kind of method for drafting of quick reverse sawtooth waveform, which is characterized in that method includes the following steps:
S1, mapping patient monitor show in screen physical equipment into memory and operate the color value of respective pixel;
S2 will draw the coordinate of pixel including obtaining to discrete as coordinate is calculated, the high bright spot in the center of calculating and plotting pixel, with And maximum value, the minimum value of both sides descending luminance pixel;
S3 calculates the brightness value to successively decrease toward both sides according to the high bright spot in the center being calculated and both sides expanded range;
S4 is configured patient monitor display screen according to pixel coordinate and the corresponding color value of pixel coordinate that known calculations come out The pixel color brightness of curtain.
2. the method for drafting of quick reverse sawtooth waveform according to claim 1, which is characterized in that the step S1 is specifically wrapped It includes:
The discrete pixels physical equipment that patient monitor is shown in display screen maps in caching, and to the discrete pixels of caching Value is written and read.
3. the method for drafting of quick reverse sawtooth waveform according to claim 1, which is characterized in that the step S2 is specifically wrapped It includes:
In the calculating process of pixel coordinate overlay area, the Y-coordinate value of continuous three pixels is taken using the vertical direction reverse sawtooth technique of painting, Maximum value Ymax in Y-coordinate value, minimum value Ymin and Ymid are compared, wherein Ymid is in last time Ymax and Ymin The heart presses current data if a unmatched data and calculates Y-coordinate;
The X-coordinate value that continuous three pixels are taken using the vertical direction reverse sawtooth technique of painting, compare maximum value Xmax in X-coordinate value, Minimum value Xmin and Xmid, wherein Xmid is the center of last time Xmax and Xmin, presses current number if a unmatched data According to calculating X-coordinate.
4. the method for drafting of quick reverse sawtooth waveform according to claim 1 or 3, which is characterized in that the step S3 tool Body includes:
After filtering out new Ymax and Ymin, using the position Ymid as original color brightness, in Y direction from Ymid respectively toward Ymax Pixel color brightness with the direction Ymin gradually weakens;
After filtering out new Xmax and Xmin, using the position Xmid as original color brightness, in X-direction from Xmid respectively toward Xmax Pixel color brightness with the direction Xmin gradually weakens.
5. accelerate movable system on a kind of processing fetal heart rate curve for executing the claim 1-4 any means, It is characterized in that, which includes:
Mapping block shows that physical equipment operates the color value of respective pixel into memory in screen for that will map patient monitor;
Coordinates computed module will draw the coordinate of pixel, the center of calculating and plotting pixel including obtaining to discrete as coordinate calculating Maximum value, the minimum value of high bright spot and both sides descending luminance pixel;
Color value module is calculated, for calculating and successively decreasing toward both sides according to the high bright spot in center and both sides expanded range being calculated Brightness value;
Update module, pixel coordinate and the corresponding color value of pixel coordinate for being come out according to known calculations, is configured prison Protect the pixel color brightness that instrument shows screen.
CN201811200526.9A 2018-10-16 2018-10-16 A kind of method for drafting and system of quick reverse sawtooth waveform Pending CN109491628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811200526.9A CN109491628A (en) 2018-10-16 2018-10-16 A kind of method for drafting and system of quick reverse sawtooth waveform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811200526.9A CN109491628A (en) 2018-10-16 2018-10-16 A kind of method for drafting and system of quick reverse sawtooth waveform

Publications (1)

Publication Number Publication Date
CN109491628A true CN109491628A (en) 2019-03-19

Family

ID=65689742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811200526.9A Pending CN109491628A (en) 2018-10-16 2018-10-16 A kind of method for drafting and system of quick reverse sawtooth waveform

Country Status (1)

Country Link
CN (1) CN109491628A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917560A (en) * 2006-09-08 2007-02-21 南京大学 Method of antinoise of edge sawteeth in zooming images
CN101458916A (en) * 2007-12-14 2009-06-17 深圳迈瑞生物医疗电子股份有限公司 Waveform antialiasing method and waveform antialiasing processing apparatus
CN103186884A (en) * 2011-12-30 2013-07-03 北京谊安医疗系统股份有限公司 Method and device enabling scanning waveforms to be smooth
CN103340600A (en) * 2013-06-13 2013-10-09 深圳市科曼医疗设备有限公司 Method and system for processing wave form distortion of monitor
CN107154063A (en) * 2017-04-19 2017-09-12 腾讯科技(深圳)有限公司 The shape method to set up and device in image shows region

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917560A (en) * 2006-09-08 2007-02-21 南京大学 Method of antinoise of edge sawteeth in zooming images
CN101458916A (en) * 2007-12-14 2009-06-17 深圳迈瑞生物医疗电子股份有限公司 Waveform antialiasing method and waveform antialiasing processing apparatus
CN103186884A (en) * 2011-12-30 2013-07-03 北京谊安医疗系统股份有限公司 Method and device enabling scanning waveforms to be smooth
CN103340600A (en) * 2013-06-13 2013-10-09 深圳市科曼医疗设备有限公司 Method and system for processing wave form distortion of monitor
CN107154063A (en) * 2017-04-19 2017-09-12 腾讯科技(深圳)有限公司 The shape method to set up and device in image shows region

Similar Documents

Publication Publication Date Title
US10885876B2 (en) Method and device for adjusting brightness, display device and storage medium
CN107221306B (en) The method, apparatus and display equipment of brightness of image in correction splicing device screen
CN105719611B (en) The show uniformity method of adjustment and device of liquid crystal display
CN105138317B (en) Window display processing method and device for terminal device
CN101082992A (en) Drawing of real time high dynamic range image and display process
CN106803899A (en) The method and apparatus for merging image
CN110163832A (en) Face fusion method, apparatus and terminal
CN105338214B (en) Image processing method and image processing apparatus
WO2019101005A1 (en) Pixel compensation method and apparatus, and terminal device
CN109036333A (en) Display parameters bearing calibration, device, terminal device and the storage medium of display
CN109243384A (en) Show equipment and its driving method, driving device and computer-readable medium
CN110400278A (en) A kind of full-automatic bearing calibration, device and the equipment of color of image and geometric distortion
CN107610675A (en) A kind of image processing method and device based on dynamic level
CN107273622A (en) Digital yarn emulation mode based on fiber
CN103295205B (en) A kind of low-light-level image quick enhancement method based on Retinex and device
CN104021527A (en) Rain and snow removal method in image
CN109255763A (en) Image processing method, device, equipment and storage medium
CN114935976A (en) Partition display method, system, electronic equipment and storage medium
CN104240213A (en) Display method and device
CN107230249A (en) Shading Rendering method and apparatus
CN104318509B (en) A kind of high-volume targeted cache drawing method based on GPU
CN109491628A (en) A kind of method for drafting and system of quick reverse sawtooth waveform
CN108416729A (en) A kind of realization device and method of line segment anti-aliasing in GPU
CN112181923A (en) Bitmap acquisition method and device, computer equipment and storage medium
CN116453470A (en) Image display method, device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190319

RJ01 Rejection of invention patent application after publication