CN106648508A - Image drawing method and apparatus - Google Patents

Image drawing method and apparatus Download PDF

Info

Publication number
CN106648508A
CN106648508A CN201611099536.9A CN201611099536A CN106648508A CN 106648508 A CN106648508 A CN 106648508A CN 201611099536 A CN201611099536 A CN 201611099536A CN 106648508 A CN106648508 A CN 106648508A
Authority
CN
China
Prior art keywords
image
subwindow
background
needing
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611099536.9A
Other languages
Chinese (zh)
Other versions
CN106648508B (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.)
Shenzhen Infinova Ltd
Original Assignee
Shenzhen Infinova 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 Shenzhen Infinova Ltd filed Critical Shenzhen Infinova Ltd
Priority to CN201611099536.9A priority Critical patent/CN106648508B/en
Publication of CN106648508A publication Critical patent/CN106648508A/en
Application granted granted Critical
Publication of CN106648508B publication Critical patent/CN106648508B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an image drawing method and apparatus. The method comprises the steps of dividing a current image window into a plurality of sub-windows through a window division unit in the image drawing apparatus; obtaining the sub-window needed to be subjected to background modification by a background modification processing unit; sending an image refreshing instruction to the sub-window needed to be subjected to the background modification; creating a canvas corresponding to the sub-window subjected to the background modification in size in a system buffer region by an image drawing unit; drawing an image in the canvas; and copying the drawn image to the sub-window needed to be subjected to the background modification by an image copying unit. While the image drawing is quickly finished, the situation of image flicker during image alternate change is reduced, so that better experience is brought for a user.

Description

A kind of image drawing method and device
Technical field
The present invention relates to safety monitoring technical field, more particularly to a kind of image drawing method and device.
Background technology
In existing NVR management systems, the method for the pattern drafting shown simultaneously to multi-channel video monitor is heavily loaded system In function, by heavy duty function pair picture background carry out drafting operation, for example, when picture window due to a variety of causes need When repainting, system first can be wiped the viewing area of the background of current picture window, then perform the function of heavy duty In self-defining operation background is repainted in viewing area.
However, due to the viewing area of background for needing first to wipe current picture window, then again in the viewing area Picture is repainted, so, when needing repeatedly to draw picture in the short time, just occurs that multiple pictures are alternately present, so as to Picture is caused the phenomenon of flicker occur, when there is flicker simultaneously in multiple pictures, it is easy to cause the visual fatigue of monitoring personnel, Experience is very bad.
The content of the invention
In view of this, a kind of image drawing method and device are embodiments provided, to solve existing video monitoring In carry out occurring during Image Rendering the problem that flashes.
In a first aspect, embodiments providing a kind of image drawing method, methods described includes:
Current picture window is divided into several subwindows;
Acquisition needs the subwindow for changing background, needs the subwindow for changing background to send image refreshing instruction to described;
The painting canvas corresponding with the size of the subwindow of the generation background change is created in system buffer, in the picture The drafting of image is carried out in cloth;
By in the copying image completed to the subwindow for needing and changing background.
Second aspect, embodiments provides a kind of image plotting device, and described device includes:
Window division unit, for current picture window to be divided into several subwindows;
Background changes processing unit, for obtaining the subwindow for needing to change background, to the son for needing to change background Window sends image refreshing instruction;
Image Rendering unit, for creating relative with the size of the subwindow of the generation background change in system buffer The painting canvas answered, carries out the drafting of image in the painting canvas;
Copying image unit, for by the copying image completed to the subwindow for needing and changing background.
The invention provides a kind of image drawing method and device, will by the window division unit in image plotting device Current picture window is divided into several subwindows, and the subwindow for needing to change background is obtained by background change processing unit, To it is described need change background subwindow send image refreshing instruction after, by Image Rendering unit system buffer create with The corresponding painting canvas of the size that the subwindow that background changes occurs, and carry out in the painting canvas after the drafting of image, by Copying image unit is realized in the copying image completed to the subwindow for needing and changing background and is rapidly completed figure While as drawing, the situation for occurring image flicker when picture substitutes change is reduced, preferably to experience to user.
Description of the drawings
Fig. 1 is a kind of flowchart of image drawing method that the embodiment of the present invention one is provided;
Fig. 2 is that the image drawing method S102 that the embodiment of the present invention one is provided implements flow chart;
Fig. 3 is that the image drawing method S102 that the embodiment of the present invention one is provided implements flow chart;
Fig. 4 is the flowchart of another kind of image drawing method that the embodiment of the present invention two is provided;
Fig. 5 is a kind of structured flowchart of image plotting device that the embodiment of the present invention three is provided.
Specific embodiment
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention Accompanying drawing in embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described reality It is only a part of embodiment of the invention to apply example, and not all embodiments.Based on the embodiment in the present invention, the common skill in this area The every other embodiment that art personnel are obtained under the premise of creative work is not made, belongs to the model of present invention protection Enclose.
It should be understood that in each embodiment of the invention, the size of the sequence number of each process is not meant to the elder generation of execution sequence Afterwards, the execution sequence of each process should determine with its function and internal logic, and should not be to the implementation process structure of the embodiment of the present invention Into any restriction.
It is described in detail below in conjunction with realization of the specific embodiment to the present invention:
Embodiment one
In embodiments of the present invention, by the way that current picture window is divided into several subwindows;Obtaining needs the change back of the body The subwindow of scape, needs the subwindow for changing background to send image refreshing instruction to described;System buffer create with it is described There is the corresponding painting canvas of the size of the subwindow of background change, the drafting of image is carried out in the painting canvas;To complete Copying image into the subwindow for needing and changing background, realize while be rapidly completed Image Rendering, reduce picture There is the situation of image flicker in face when substituting change, preferably to experience to user.
Fig. 1 shows that a kind of image drawing method that the embodiment of the present invention one is provided realizes flow process, and details are as follows:
In step S101, current picture window is divided into several subwindows.
In NVR (Network Video Recorder are network hard disk video recorder) management system, current picture window Including multiple video playback windows, depending on the number of the quantity of the video playback window according to camera head monitor picture.
In embodiments of the present invention, the number of the subwindow of detection current picture can be passed through, is carried out according to above-mentioned number The division of subwindow.Here, the number of subwindow is consistent with the number of camera head monitor picture, i.e., have in current picture window How many video playback windows, just divide how many subwindows by current picture window.
In another embodiment of the presently claimed invention, we can also see in the picture of all displays of current picture window Make an overall picture, current picture window is divided into by several subwindows according to default parameter.
Default parameter referred herein, can be a fixed value, or by the calculated dynamic of a function Parameter, is not specifically limited here.
In another embodiment of the presently claimed invention, regard the display picture of current picture window as an overall picture, Screen-refresh information is obtained, the region of variation of picture window is determined according to above-mentioned screen-refresh message, by the change in predeterminable range Change region division is a subwindow, and the subwindow number of actual division is according to the number of the region of variation in predeterminable range It is fixed.
Here, in above-mentioned subwindow can also according to it is same it is regular subdivided go out several subwindows.
In step s 102, the subwindow for needing to change background is obtained, needs the subwindow for changing background to send to above-mentioned Image refreshing is instructed.
In embodiments of the present invention, in actual video monitoring picture window, when the state of video monitoring picture window When changing, it is likely that only the background frame of the video playback window of some there occurs change, here, it is only necessary to right Background frame there occurs that the video playback window of change carries out background refreshing, that is, only need to obtain the sub- window for needing to change background Mouthful, the background frame of the subwindow is refreshed, so, avoid the need for significantly refreshing current picture window in large area Background frame, and there occurs that the background frame of the subwindow of change is refreshed just for background, so as to reduce background frame The area of refreshing and the time refreshed.
Here, need the subwindow number for changing background to be at least one, when subwindow does not change, continue to tie up Hold the picture of current video broadcast window.
Further, before step S102, also including following step as shown in Figure 2:
Step S201, the screen-refresh message of receives input, according to above-mentioned screen-refresh message determine it is above-mentioned need change The subwindow of background.
In embodiments of the present invention, when the background frame of current picture window changes, video monitoring system can be sent out Screen-refresh message is sent, the screen-refresh message includes the video playback window for needing to change background, when the screen for receiving input During curtain refresh message, the subwindow for needing to change background is assured that according to the screen-refresh message.
Step S202, forbids drafting of the system function to current picture window and the subwindow that need not change background to grasp Make.
In NVR management systems, to come with carry out current picture window and draw the system function of operation, it is defeated when receiving During the screen-refresh message for entering, the background frame of current picture window will be filled or covered by system function with default background Fall, then repaint new background frame, here, needed to change the sub- window of background according to the determination of screen-refresh message Mouthful when, by forbid or shielding harness function pair current picture window and need not change background subwindow drafting behaviour Make, can be while background frame rendering request be reached, the background frame of as far as possible few change subwindow reduces the back of the body to reach Scape picture substitutes the effect of image flicker when changing.
In embodiments of the present invention, it is the drafting operation of current picture window and subwindow is independent, and per height The drafting of window is also separate, and so, the Image Rendering for realizing the background frame of single window is not interfered with addition Window Image Rendering, current picture window carry out draw operation when, the drafting for forbidding subwindow is operated;Enter in subwindow When row draws operation, the drafting for forbidding current picture window is operated, and reduces the redundant operation of system, further increases image The efficiency of drafting.
In step s 103, create corresponding with the size of the subwindow of above-mentioned generation background change in system buffer Painting canvas, carries out the drafting of image in above-mentioned painting canvas.
In embodiments of the present invention, multiple sizes with the subwindow of above-mentioned generation background change are created in system buffer Corresponding painting canvas, here, the quantity of painting canvas is consistent with the number of the subwindow that above-mentioned generation background changes, for example, when send out Relative when the number of the subwindow of raw background change is 1, the quantity of the painting canvas for being created also is 1;Become when there is background Relative when the number of the subwindow of change is 9, the quantity of the painting canvas for being created also is 9.
Here, for the ease of the painting canvas that identification is corresponding with the subwindow of above-mentioned generation background change, can divide During subwindow, number-mark is added to each subwindow, for example, according to from top to bottom, order from left to right is given per individual sub- window Mouth is numbered, and when corresponding painting canvas is set up in system buffer, corresponding number-mark is also added on the painting canvas.Example Such as, it is assumed that the number of subwindow is 9, the rule arranged according to three row three shows, when number-mark is the 2nd subwindow of " 2 " When changing for the 5th subwindow of " 5 " with number-mark, the painting canvas corresponding with the 2nd and the 5th subwindow is created, The number-mark of its corresponding painting canvas is " 2 " and " 5 ", then, just it is the 2nd son of drafting on the painting canvas of " 2 " in number-mark The background frame of window, draws the background frame of the 5th subwindow on the painting canvas that number-mark is " 5 ".
Here, the picture corresponding with the size of the subwindow of above-mentioned generation background change is created by system buffer Cloth, carries out the drafting of image in above-mentioned painting canvas, can more quickly complete the drafting of image, and due to being slow in system Rushing in area carries out the drafting of image, occurs the situation of film flicker when further reducing Image Rendering, gives user more preferable body Test.
In step S104, by the copying image completed to the above-mentioned subwindow for needing and changing background.
In embodiments of the present invention, the image completed correspondingly is copied into above-mentioned needs using copying image function In the subwindow of change background, for example, by the copying image completed on the painting canvas that number-mark is " 2 " to number-mark In for the 2nd subwindow of " 2 ", will be to number-mark for the copying image completed on the painting canvas of " 5 " in number-mark In 5th subwindow of " 5 ".
Further, it is in execution step S102 including as shown in Figure 3 in order to further improve the efficiency of Image Rendering Following step:
In step S301, determine the above-mentioned subwindow number for needing change background whether more than predetermined threshold value.
In embodiments of the present invention, above-mentioned predetermined threshold value is set to preset ratio and is multiplied by divided subwindow number, example Such as, the preset ratio is set as 80 percent, when the subwindow number for being divided is 9, then above-mentioned predetermined threshold value is just 7.2, when needing the subwindow number for changing background to be more than 7.2, it is possible to which judgement needs the subwindow number for changing background more than pre- If threshold value.
In step s 302, when it is above-mentioned need change background subwindow number be more than predetermined threshold value when, it is allowed to system function Drafting to current picture window is operated.
In embodiments of the present invention, when it is above-mentioned need change background subwindow number be more than predetermined threshold value when, in order to save The time of Image Rendering is carried out to each subwindow, the efficiency of Image Rendering is further improved, here, it is allowed to system function pair Current picture window drafting operation, for example, when it is above-mentioned need change background subwindow number be more than 7.2 when, it is allowed to system letter Several draftings to current picture window are operated.
Here, when it is above-mentioned need change background subwindow number be less than predetermined threshold value when, then forbid system function to work as The drafting operation of front picture window, execution step S102.
In step S303, forbid needing the subwindow for changing background to send image refreshing instruction to above-mentioned.
In embodiments of the present invention, when allowing drafting of the system function to current picture window to operate, in order to avoid weight It is multiple to draw, increase system burden, here, forbid needing the subwindow for changing background to send image refreshing instruction to above-mentioned.
In step s 304, the painting canvas corresponding with the size of current picture window is created in system buffer, above-mentioned The drafting of image is carried out in painting canvas.
In embodiments of the present invention, what is created in system buffer is the picture corresponding with the size of current picture window Face, here, the painting canvas quantity for being created is and only one, the drafting of image conducted in the painting canvas, including all Changing and the picture shown by the video playback window not changed.
In step S305, by the copying image completed to current picture window.
In embodiments of the present invention, when it is above-mentioned need change background subwindow number be more than predetermined threshold value when, by allow Drafting of the system function to current picture window is operated, and forbids needing the subwindow for changing background to send image refreshing to above-mentioned Instruction, then, in system buffer the painting canvas corresponding with the size of current picture window is created, and is carried out in above-mentioned painting canvas The drafting of image, by the copying image completed to current picture window, further increases the efficiency of Image Rendering, subtracts The time of Image Rendering is lacked, the situation for occurring film flicker when decreasing Image Rendering.
Embodiment two
Fig. 4 shows that a kind of image drawing method that the embodiment of the present invention two is provided realizes flow process, and details are as follows:
In step S401, current picture window is divided into several subwindows.
In step S402, acquisition needs the subwindow for changing background, needs the subwindow for changing background to send to above-mentioned Image refreshing is instructed.
In step S403, create corresponding with the size of the subwindow of above-mentioned generation background change in system buffer Painting canvas.
In step s 404, the image-region for needing to redraw in the above-mentioned subwindow for needing and change background is obtained, above-mentioned The drafting of image is carried out in the corresponding image-region of painting canvas.
In embodiments of the present invention, default background, for example, transparent background color, Huo Zheyuan are filled with the painting canvas for being created Beginning picture, raw frames referred herein are the current picture of the above-mentioned subwindow for needing and changing background, by obtaining above-mentioned need The image-region for redrawing is needed in the subwindow for changing background, and figure is carried out in the corresponding image-region of painting canvas for being created The drafting of picture, can further reduce the time required for Image Rendering, improve the efficiency of Image Rendering.
In step S405, by the copying image completed to the above-mentioned subwindow for needing and changing background.
In embodiments of the present invention, the image district by needing to redraw in the above-mentioned subwindow for needing change background of acquisition Domain, and carry out in the corresponding image-region of painting canvas for being created after the drafting of image, the copying image completed is supreme In stating the subwindow for needing to change background, the time required for Image Rendering can be further reduced, improve the effect of Image Rendering Rate.
One of ordinary skill in the art will appreciate that realize that all or part of step in the various embodiments described above method is can Completed with instructing the hardware of correlation by program, corresponding program can be stored in a computer read/write memory medium In, above-mentioned storage medium, such as ROM/RAM, disk or CD.
Embodiment three
Fig. 5 shows a kind of concrete structure block diagram of image plotting device 1 that the embodiment of the present invention three is provided, for the ease of Illustrate, illustrate only the part related to the embodiment of the present invention.
A kind of image plotting device 1 provided in an embodiment of the present invention, including window division unit 11, background more changed handling list Unit 12, Image Rendering unit 13 and copying image unit 14;
Wherein, window division unit 11, for current picture window to be divided into several subwindows;
Background changes processing unit 12, for obtaining the subwindow for needing to change background, needs to change background to above-mentioned Subwindow sends image refreshing instruction;
Image Rendering unit 13, for creating the size phase with the subwindow of above-mentioned generation background change in system buffer Corresponding painting canvas, carries out the drafting of image in above-mentioned painting canvas;
Copying image unit 14, for by the copying image completed to the above-mentioned subwindow for needing and changing background.
Further, above-mentioned window division unit 11, also particularly useful for:The number of the subwindow of detection current picture, root The division of subwindow is carried out according to above-mentioned number.
Further, said apparatus also include screen-refresh message reception units and forbid drawing operating unit;
Wherein, screen-refresh message reception units, for the screen-refresh message of receives input, according to above-mentioned screen-refresh Message determines the above-mentioned subwindow for needing to change background;
Forbid drawing operating unit, for forbidding system function to current picture window and the sub- window that background need not be changed The drafting operation of mouth.
Further, above-mentioned Image Rendering unit 13, also particularly useful for:
The image-region for needing to redraw in the above-mentioned subwindow for needing and change background is obtained, in the corresponding image of above-mentioned painting canvas The drafting of image is carried out in region.
Further, above-mentioned background change processing unit 12 includes subwindow number determination subelement, allows to draw operator Unit, forbid sending image refreshing instruction subelement, forbid sending image refreshing instruction subelement, Image Rendering subelement and figure As replicating subelement;
Wherein, subwindow number determination subelement, for determining the above-mentioned subwindow number for needing change background whether more than pre- If threshold value;
Allow draw operation subelement, for when it is above-mentioned need change background subwindow number be more than predetermined threshold value when, permit Perhaps drafting of the system function to current picture window is operated;
Forbid sending image refreshing instruction subelement, for forbidding needing the subwindow for changing background to send image to above-mentioned Refreshing instruction;
Image Rendering subelement, for creating the painting canvas corresponding with the size of current picture window in system buffer, The drafting of image is carried out in above-mentioned painting canvas;
Copying image subelement, for by the copying image completed to current picture window.
In embodiments of the present invention, current picture window is divided by the window division unit 11 in image plotting device For several subwindows, and processing unit 12 is changed by background obtain the subwindow that needs to change background, to above-mentioned change is needed The subwindow of background is sent after image refreshing instruction, is created and above-mentioned generation background in system buffer by Image Rendering unit 13 The corresponding painting canvas of the size of the subwindow of change, after the drafting of image is carried out in above-mentioned painting canvas, by copying image unit 14 By in the copying image completed to the above-mentioned subwindow for needing and changing background, realize and be rapidly completed the same of Image Rendering When, the situation for occurring image flicker when picture substitutes change is reduced, preferably to experience to user.
Those of ordinary skill in the art are it is to be appreciated that the list of each example with reference to the embodiments described herein description Unit and step, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually with hard Part or software mode performing, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel can be with Realize described function, but this realization it is not considered that beyond this using different device to each specific application Bright scope.
Those skilled in the art can be understood that, for convenience and simplicity of description, the device of foregoing description With the specific work process of unit, the corresponding process in aforementioned means embodiment is may be referred to, be will not be described here.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematic, for example, the division of said units, and only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied Close or be desirably integrated into another system, or some features can be ignored, or do not perform.It is another, it is shown or discussed Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, device or unit or logical Letter connection, can be electrical, mechanical or other forms.
The above-mentioned unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If above-mentioned functions are realized and as independent production marketing or when using using in the form of SFU software functional unit, can be with In being stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each embodiment said apparatus of the invention. And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
Above-mentioned above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, state or replacement can be readily occurred in, all should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention is answered and above-mentioned is defined by scope of the claims.

Claims (10)

1. a kind of image drawing method, it is characterised in that methods described includes:
Current picture window is divided into several subwindows;
Acquisition needs the subwindow for changing background, needs the subwindow for changing background to send image refreshing instruction to described;
The painting canvas corresponding with the size of the subwindow of the generation background change is created in system buffer, in the painting canvas Carry out the drafting of image;
By in the copying image completed to the subwindow for needing and changing background.
2. the method for claim 1, it is characterised in that described that current picture window is divided into several subwindows Step, including:
The number of the subwindow of detection current picture, according to the number division of subwindow is carried out.
3. the method for claim 1, it is characterised in that need to change the subwindow of background in the acquisition, to described Before needing the subwindow for changing background to send the step of image refreshing is instructed, also include:
The screen-refresh message of receives input, according to the screen-refresh message subwindow for needing to change background is determined;
Drafting of the system function to current picture window and the subwindow that background need not be changed is forbidden to operate.
4. the method as described in claims 1 to 3 is arbitrary, it is characterised in that the drafting that image is carried out in the painting canvas The step of, including:
The image-region for needing to redraw in the subwindow for needing and change background is obtained, in the corresponding image-region of the painting canvas In carry out the drafting of image.
5. the method for claim 1, it is characterised in that need to change the subwindow of background in the acquisition, to described When needing the subwindow for changing background to send the step of image refreshing is instructed, also include:
Determine the subwindow number for needing change background whether more than predetermined threshold value;
When it is described need change background subwindow number be more than predetermined threshold value when, it is allowed to system function is painted to current picture window System operation;
Forbid needing the subwindow for changing background to send image refreshing instruction to described;
The painting canvas corresponding with the size of current picture window is created in system buffer, painting for image is carried out in the painting canvas System;
By in the copying image completed to current picture window.
6. a kind of image plotting device, it is characterised in that described device includes:
Window division unit, for current picture window to be divided into several subwindows;
Background changes processing unit, for obtaining the subwindow for needing to change background, to the subwindow for needing to change background Send image refreshing instruction;
Image Rendering unit, for creating corresponding with the size of the subwindow of the generation background change in system buffer Painting canvas, carries out the drafting of image in the painting canvas;
Copying image unit, for by the copying image completed to the subwindow for needing and changing background.
7. device as claimed in claim 6, it is characterised in that the window division unit, also particularly useful for:
The number of the subwindow of detection current picture, according to the number division of subwindow is carried out.
8. device as claimed in claim 6, it is characterised in that described device also includes:
Screen-refresh message reception units, for the screen-refresh message of receives input, determine according to the screen-refresh message The subwindow for needing to change background;
Forbid drawing operating unit, for forbidding system function to current picture window and the subwindow that background need not be changed Draw operation.
9. the device as described in claim 6 to 7 is arbitrary, it is characterised in that described image drawing unit, also particularly useful for:
The image-region for needing to redraw in the subwindow for needing and change background is obtained, in the corresponding image-region of the painting canvas In carry out the drafting of image.
10. device as claimed in claim 6, it is characterised in that the background change processing unit also includes:
Subwindow number determination subelement, for determining the subwindow number for needing change background whether more than predetermined threshold value;
Allow draw operation subelement, for when it is described need change background subwindow number be more than predetermined threshold value when, it is allowed to be The drafting operation of system function pair current picture window;
Forbid sending image refreshing instruction subelement, for forbidding needing the subwindow for changing background to send image refreshing to described Instruction;
Image Rendering subelement, for creating the painting canvas corresponding with the size of current picture window in system buffer, in institute Stating carries out the drafting of image in painting canvas;
Copying image subelement, for by the copying image completed to current picture window.
CN201611099536.9A 2016-12-02 2016-12-02 Image drawing method and device Active CN106648508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611099536.9A CN106648508B (en) 2016-12-02 2016-12-02 Image drawing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611099536.9A CN106648508B (en) 2016-12-02 2016-12-02 Image drawing method and device

Publications (2)

Publication Number Publication Date
CN106648508A true CN106648508A (en) 2017-05-10
CN106648508B CN106648508B (en) 2020-01-07

Family

ID=58818285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611099536.9A Active CN106648508B (en) 2016-12-02 2016-12-02 Image drawing method and device

Country Status (1)

Country Link
CN (1) CN106648508B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299412A (en) * 2018-08-24 2019-02-01 四川爱创科技有限公司 Picture preprocess method applied to web terminal
CN109636875A (en) * 2018-12-18 2019-04-16 深圳市沃特沃德股份有限公司 Pattern drawing method, device and storage medium
CN110738970A (en) * 2018-01-22 2020-01-31 青岛海信移动通信技术股份有限公司 Page refreshing method and device for ink screen
CN112584219A (en) * 2019-09-29 2021-03-30 上海幻电信息科技有限公司 Video playing method and device and computer equipment
CN113900758A (en) * 2021-10-22 2022-01-07 广州博冠信息科技有限公司 Content display method, content display device, computer equipment and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005346619A (en) * 2004-06-07 2005-12-15 Victor Co Of Japan Ltd Drawing processing method
CN102446082A (en) * 2011-08-29 2012-05-09 广东威创视讯科技股份有限公司 Window refreshing method and device
CN102486913A (en) * 2010-12-01 2012-06-06 汉王科技股份有限公司 Bistable-state display screen refreshing method and device
CN104020973A (en) * 2014-05-19 2014-09-03 广州酷狗计算机科技有限公司 Message display method and device
CN104332153A (en) * 2013-07-22 2015-02-04 浙江大华技术股份有限公司 Video playing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005346619A (en) * 2004-06-07 2005-12-15 Victor Co Of Japan Ltd Drawing processing method
CN102486913A (en) * 2010-12-01 2012-06-06 汉王科技股份有限公司 Bistable-state display screen refreshing method and device
CN102446082A (en) * 2011-08-29 2012-05-09 广东威创视讯科技股份有限公司 Window refreshing method and device
CN104332153A (en) * 2013-07-22 2015-02-04 浙江大华技术股份有限公司 Video playing method and device
CN104020973A (en) * 2014-05-19 2014-09-03 广州酷狗计算机科技有限公司 Message display method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110738970A (en) * 2018-01-22 2020-01-31 青岛海信移动通信技术股份有限公司 Page refreshing method and device for ink screen
CN110738970B (en) * 2018-01-22 2021-05-18 青岛海信移动通信技术股份有限公司 Page refreshing method and device for ink screen
CN109299412A (en) * 2018-08-24 2019-02-01 四川爱创科技有限公司 Picture preprocess method applied to web terminal
CN109299412B (en) * 2018-08-24 2022-04-05 四川爱创科技有限公司 Picture preprocessing method applied to web end
CN109636875A (en) * 2018-12-18 2019-04-16 深圳市沃特沃德股份有限公司 Pattern drawing method, device and storage medium
CN109636875B (en) * 2018-12-18 2023-09-08 深圳市沃特沃德信息有限公司 Graph drawing method, device and storage medium
CN112584219A (en) * 2019-09-29 2021-03-30 上海幻电信息科技有限公司 Video playing method and device and computer equipment
CN113900758A (en) * 2021-10-22 2022-01-07 广州博冠信息科技有限公司 Content display method, content display device, computer equipment and computer-readable storage medium
CN113900758B (en) * 2021-10-22 2023-09-12 广州博冠信息科技有限公司 Content display method, apparatus, computer device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN106648508B (en) 2020-01-07

Similar Documents

Publication Publication Date Title
CN106648508A (en) Image drawing method and apparatus
DE102015108057B4 (en) Refresh-dependent adaptive dithering for a variable refresh rate display
US10672220B2 (en) Systems and methods of gaming machine image transitions
CN104363508B (en) A kind of image split-joint method and device that prevent video from retracting
EP0608056B1 (en) Display line dispatcher apparatus
DE19807028C2 (en) Frame buffer exchange synchronization in multipipeline computer graphics display systems
WO2017198104A1 (en) Processing method and device for particle system
DE69735975T2 (en) System and method for superimposing images optionally stored in different native formats
CN110377264A (en) Layer composition, device, electronic equipment and storage medium
CN106658170A (en) Method and device for reducing virtual reality latency
US20170221245A1 (en) Image Synthesis Method, Image Chip, and Image Device
WO2017088440A1 (en) Method for extending operable duration of terminal device and terminal device
CN105407323A (en) Screen splitting method and device of monitor video
CN112130790A (en) Picture refreshing method and device and computer readable storage medium
CN110647378A (en) Dynamic image loading method and device and electronic equipment
CN108810648A (en) A kind of method and terminal carrying out image procossing
DE102022100638A1 (en) Tracking and compensation of pixel degradation in display technologies
CN105635667B (en) Method and apparatus for visualization digital Video stream information
CN109960543B (en) Writing operation processing method and device
CN106251832B (en) A kind of method for caching and processing and device shown for mobile terminal
CN113870799B (en) System display method and storage device of electronic ink screen device
CN105844581A (en) Image drawing method, apparatus and equipment
CN105049758A (en) System and method for character superimposition processing of splicing wall
CN106534733A (en) Video window displaying method and apparatus
US20140204005A1 (en) System, method, and computer program product for distributed processing of overlapping portions of pixels

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
GR01 Patent grant
GR01 Patent grant