CN103049267B - A kind of image processing method and device - Google Patents

A kind of image processing method and device Download PDF

Info

Publication number
CN103049267B
CN103049267B CN201210552426.9A CN201210552426A CN103049267B CN 103049267 B CN103049267 B CN 103049267B CN 201210552426 A CN201210552426 A CN 201210552426A CN 103049267 B CN103049267 B CN 103049267B
Authority
CN
China
Prior art keywords
dynamic element
show
static elements
video data
base map
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.)
Expired - Fee Related
Application number
CN201210552426.9A
Other languages
Chinese (zh)
Other versions
CN103049267A (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.)
Vtron Group Co Ltd
Original Assignee
Vtron Technologies 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 Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN201210552426.9A priority Critical patent/CN103049267B/en
Publication of CN103049267A publication Critical patent/CN103049267A/en
Application granted granted Critical
Publication of CN103049267B publication Critical patent/CN103049267B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Abstract

The present invention proposes a kind of image processing method, including step: select purpose view data according to operation object and action type;According to described operation object and described action type, described purpose view data is carried out Layering manifestation.The present invention also proposes a kind of image data processing system, it is possible to reduce image show before data process shared by system resource, the treatment effeciency of raising view data.

Description

A kind of image processing method and device
Technical field
The present invention relates to image processing field, particularly relate to a kind of image processing method and device.
Background technology
In existing displaying scheme, in order to show that in display node base map is (such as: spell in wall system Map), static elements is (such as arrow, icon;) and dynamic element (such as gif picture), need behaviour every time After work, the element data of display is sent to display unit by Data Management Unit, and display unit repaints the end Figure be there is a need to the element of display with other, and ceaselessly refreshed before next operation.Unit when display When element increases, show that the resource of time-consuming and high refresh rate consumption shown on node can become from operate to each time Increase again, cause system resource drastically to reduce, performance rapid decrease.
Summary of the invention
It is an object of the invention to propose a kind of image processing method and device, it is possible to reduce image shows The front system resource shared by data process, improves the treatment effeciency of view data.
The scheme used:
A kind of image processing method, including step:
Purpose view data is selected according to operation object and action type;
According to described operation object and described action type, described purpose view data is carried out Layering manifestation.
And, a kind of image data processing system, including:
Image data selection unit, for selecting purpose view data according to operation object and action type;
Layering manifestation unit, for according to described operation object and described action type to described purpose picture number According to carrying out Layering manifestation.
The present invention utilizes a kind of mechanism, when image is operated, according to operation object and action type, On purpose select to need the view data of display, the then figure to selecting according to operation object and action type As data are drawn, then show;Relative to traditional method, it is not necessary to image is grasped every time When making, all data are drawn, then show;The data before image shows can be reduced and process shared System resource, improve view data treatment effeciency.
Accompanying drawing explanation
Fig. 1 is a flow chart of the inventive method;
Fig. 2 is another flow chart of the inventive method;
Fig. 3 is a structural representation of apparatus of the present invention.
Detailed description of the invention
The present invention proposes a kind of image processing method, one of them flow process, refer to Fig. 1, including step:
S1, according to operation object and action type select purpose view data;
Wherein, operation object includes: static elements, dynamic element and base map;Static elements it have aobvious The characteristic that will not update again after showing, until this element is destroyed, such as single picture.Dynamic element refers to show Show the image that can dynamically change presented in scheme, such as gif picture.It can be continually changing institute during display Need the content of display.Base map is that each image processing software must have, and it is different from static elements.
Action type includes: adds, moves and delete static elements;Add, mobile and deletion is dynamic Element;Move or scaling base map, etc..
When moving or delete static elements, purpose view data is the static elements that need to show;
When moving or delete dynamic element, purpose view data is the dynamic element that need to show;
When mobile or scaling base map, purpose view data be base map, all static elements that need to show and Dynamic element.
S2, according to operation object and action type purpose view data is carried out Layering manifestation.
Concrete, step S2 includes:
When moving or scale base map, draw base map, then draw all static elements, then draw all Dynamic element obtains the first video data;Show the first video data;
When adding dynamic element, draw the dynamic element added, obtain the second video data;Display second Video data;
When moving or delete dynamic element, draw the dynamic element that need to show, obtain the 3rd video data; Show the 3rd video data;
When add static elements time, draw add static elements, then draw dynamic element obtain the 4th show Registration evidence;Show the 4th video data;
When moving or delete static elements, draw base map, then draw the static elements that need to show, then Draw dynamic element and obtain the 5th video data;Show the 5th video data.
The present invention utilizes a kind of mechanism, when image is operated, according to operation object and action type, On purpose select to need the view data of display, the then figure to selecting according to operation object and action type As data are drawn, then show;Relative to traditional method, it is not necessary to image is grasped every time When making, all data are drawn, then show;The data before image shows can be reduced and process shared System resource, improve view data treatment effeciency.
Wherein in an embodiment, utilize the relief area and the original rear relief area of system being pre-created Carrying out classification drawing image data, idiographic flow refers to Fig. 2, including step:
S201, create the first relief area R1, the second relief area R2 and data structure body;
Wherein, the first relief area R1 is used for drawing base map;Second relief area R2 is used for drawing static elements;
And data structure body can be expressed as follows:
Wherein, OpObject represents operation object, and OpType represents action type;ListBkImg represents base map; ListStaticImg represents static elements;ListDynaImg represents dynamic element.
S202, the operation object obtaining user and action type;
S203, according to operation object and action type select purpose view data;
According to the operation difference of object, the different purpose view data of different choice of action type, concrete Select such as S204 to S207.
S204, when adding static elements or during dynamic element, by the static elements added or dynamic element It is chosen as purpose view data;
Add, refer in original image basis, the pictorial element that extra addition is new;User is being carried out When adding operation, system can get the pictorial element of interpolation.
S205, when mobile or when deleting static elements, the static elements that need to show is chosen as purpose image Data;
Display, refers in image processing process, to some pictorial element hidden in original view data Show;Here deletion, is included in during image shows and hides some pictorial element, and delete completely Some pictorial element in view data.
S206, when mobile or when deleting dynamic element, the dynamic element that need to show is chosen as purpose image Data;
S207, when mobile or scaling base map, by base map, all static elements that need to show and dynamic unit Element is chosen as purpose view data;
During for mobile base map, select mobile after base map, be there is a need to the static elements of display and dynamically first Element is as purpose view data;
During for scaling base map, select the base map after scaling, be there is a need to the static elements of display and dynamically first Element is as purpose view data;
Wherein, be there is a need to static elements and the dynamic element of display, referred at mobile or scaling base map Before, the static elements included in the image of display and dynamic element.
S208, purpose view data is saved in data structure body;
The purpose view data of selection is saved in data structure body respectively, in order to make when carrying out image rendering With.
S209, when mobile or scaling base map, draw base map at R1, replicate the image of R1 to R2;? R2 draws all static elements, replicates image in R2 to rear relief area and all dynamic in the drafting of rear relief area State element obtains the first video data;
First draw base map at the first relief area R1;By the copying image drawn in R1 to the second relief area R2, On this basis, carry out the drafting of static elements, so after R2 completes, the image of drafting just wraps Base map and static elements are contained;Then by copying image drawn in R2 to rear relief area, on this basis, Draw dynamic element, thus obtain comprising the image of base map static elements and dynamic element, this completes figure As the drawing before display.
S210, when add dynamic element time, rear relief area draw add dynamic element, obtain second show Registration evidence;
When adding dynamic element, owing to base map and static elements do not change, therefore only need to be in rear buffering District draws the dynamic element of interpolation.
S211, when mobile or when deleting dynamic element, draw the dynamic element that need to show in rear relief area, Obtain the 3rd video data;
When display or deletion dynamic element, owing to base map and static elements do not change, the most only need Rear relief area is drawn and needs the dynamic element of display.
S212, when add static elements time, R2 draw add static elements, replicate R2 image arrive Rear relief area, draws dynamic element and obtains the 4th video data in rear relief area;
When adding static elements, the second relief area R2 draws the static elements of interpolation, replicate R2 and paint The image of system, to rear relief area, is drawn dynamic element and is obtained the 4th video data in rear relief area.
S213, when mobile or when deleting static elements, draw base map at R1, replicate the image of R1 to R2, And the static elements that need to show is drawn at R2, the image of duplication R2 is to rear relief area, and draws in rear relief area Dynamic element obtains the 5th video data;
When display or deletion static elements, draw base map at the first relief area R1, replicate in R1 and draw Image to the second relief area R2, and draw the static elements that need to show at R2, replicate after the image of R2 arrives Relief area, and obtain the 5th video data in rear relief area drafting dynamic element.
S214, the video data of rear relief area is exchanged to front relief area show.
When moving or scale base map, show the first view data;
When adding dynamic element, show the second view data;
When display or deletion dynamic element, show the 3rd view data;
When adding static elements, show the 4th view data;
When display or deletion static elements, show the 5th view data.
The present invention also proposes a kind of image data processing system, one of them structural representation, refer to Fig. 3, Including:
Image data selection unit, for selecting purpose view data according to operation object and action type;Its In, operation object includes: static elements, dynamic element and base map;
Action type includes: adds, moves and delete static elements;Add, mobile and deletion is dynamic Element;Move or scaling base map;
When adding static elements or dynamic element, purpose view data is the static elements added or moves State element;
When moving or delete static elements, purpose view data is the static elements that need to show;
When moving or delete dynamic element, purpose view data is the dynamic element that need to show;
When moving or scale base map, purpose view data is base map, all static elements and dynamic element.
Layering manifestation unit, shows for purpose view data being carried out layering according to operation object and action type Show.
When moving or scale base map, Layering manifestation unit draws base map, then draws all static elements, Draw all dynamic element again and obtain the first video data;Show the first video data;
When adding dynamic element, Layering manifestation unit draws the dynamic element added, and obtains the second display number According to;Show the second video data;
When moving or delete dynamic element, Layering manifestation unit draws the dynamic element that need to show, obtains 3rd video data;Show the 3rd video data;
When adding static elements, Layering manifestation unit draws the static elements added, and then draws dynamically unit Element obtains the 4th video data;Show the 4th video data;
When moving or delete static elements, Layering manifestation unit draws base map, and then drafting need to show Static elements, then draw dynamic element and obtain the 5th video data;Show the 5th video data.
It addition, Layering manifestation unit draws base map in the first relief area pre-saved;Pre-saved Static elements is drawn in two relief areas;Dynamic element is drawn in rear relief area.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, But therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that, for this area Those of ordinary skill for, without departing from the inventive concept of the premise, it is also possible to make some deformation and Improving, these broadly fall into protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be with appended Claim is as the criterion.

Claims (4)

1. an image processing method, it is characterised in that include step:
Purpose view data is selected according to operation object and action type;
According to described operation object and described action type, described purpose view data is carried out Layering manifestation;
Described operation object includes: static elements, dynamic element and base map;
Described action type includes: adds, moves and delete described static elements;Add, mobile and Delete described dynamic element;Move or scale described base map;
When adding described static elements or dynamic element, described purpose view data is the static unit added Element or dynamic element;
When moving or deleting described static elements, described purpose view data is the static elements that need to show;
When moving or deleting described dynamic element, described purpose view data is the dynamic element that need to show;
When mobile or when scaling described base map, described purpose view data be base map, all need to show quiet State element and dynamic element;
Described according to operation object and described action type described purpose view data is carried out the step of Layering manifestation Suddenly include:
When moving or scaling described base map, draw described base map, then draw all static elements, then Draw described all dynamic element and obtain the first video data;Show described first video data;
When adding described dynamic element, draw the dynamic element of described interpolation, obtain the second video data; Show described second video data;
When moving or deleting described dynamic element, draw the described dynamic element that need to show, obtain the 3rd Video data;Show described 3rd video data;
When adding described static elements, draw the static elements of described interpolation, then draw dynamic element and obtain To the 4th video data;Show described 4th video data;
When moving or deleting described static elements, draw base map, then draw the described static state that need to show Element, then draw dynamic element and obtain the 5th video data;Show described 5th video data.
Image processing method the most according to claim 1, it is characterised in that
Base map is drawn in the first relief area pre-saved;Static unit is drawn in the second relief area pre-saved Element;Dynamic element is drawn in rear relief area.
3. an image data processing system, it is characterised in that including:
Image data selection unit, for selecting purpose view data according to operation object and action type;
Layering manifestation unit, for according to described operation object and described action type to described purpose picture number According to carrying out Layering manifestation;
Described operation object includes: static elements, dynamic element and base map;
Described action type includes: adds, moves and delete described static elements;Add, mobile and Delete described dynamic element;Move or scale described base map;
When adding described static elements or dynamic element, described purpose view data is the static unit added Element or dynamic element;
When moving or deleting described static elements, described purpose view data is the static elements that need to show;
When moving or deleting described dynamic element, described purpose view data is the dynamic element that need to show;
When mobile or when scaling described base map, described purpose view data be base map, all static elements and Dynamic element;
When moving or scaling described base map, described Layering manifestation unit draws described base map, then draws Described all static elements, then draw described all dynamic element and obtain the first video data;Show described One video data;
When adding described dynamic element, described Layering manifestation unit draws the dynamic element of described interpolation, To the second video data;Show described second video data;
When mobile or when deleting described dynamic element, described Layering manifestation unit draw described need to show dynamic State element, obtains the 3rd video data;Show described 3rd video data;
When adding described static elements, described Layering manifestation unit draws the static elements of described interpolation, so Rear drafting dynamic element obtains the 4th video data;Show described 4th video data;
When moving or deleting described static elements, described Layering manifestation unit draws base map, then draws The described static elements that need to show, then draw dynamic element and obtain the 5th video data;Show that the described 5th shows Registration evidence.
Image data processing system the most according to claim 3, it is characterised in that
Described Layering manifestation unit draws base map in the first relief area pre-saved;Second pre-saved Static elements is drawn in relief area;Dynamic element is drawn in rear relief area.
CN201210552426.9A 2012-12-18 2012-12-18 A kind of image processing method and device Expired - Fee Related CN103049267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210552426.9A CN103049267B (en) 2012-12-18 2012-12-18 A kind of image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210552426.9A CN103049267B (en) 2012-12-18 2012-12-18 A kind of image processing method and device

Publications (2)

Publication Number Publication Date
CN103049267A CN103049267A (en) 2013-04-17
CN103049267B true CN103049267B (en) 2016-08-24

Family

ID=48061919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210552426.9A Expired - Fee Related CN103049267B (en) 2012-12-18 2012-12-18 A kind of image processing method and device

Country Status (1)

Country Link
CN (1) CN103049267B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617031B (en) * 2013-11-20 2017-01-18 广东威创视讯科技股份有限公司 Image rendering method and image rendering device
CN108845737B (en) * 2018-06-29 2019-08-09 掌阅科技股份有限公司 Picture staggered floor display methods, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094486A (en) * 2007-06-19 2007-12-26 武汉虹信通信技术有限责任公司 Method for implementing real time visualized mass data in optimizing mobile communication network
CN101178715A (en) * 2007-10-24 2008-05-14 广东威创视讯科技股份有限公司 Method for combining GIS system with split joint wall system and device thereof
CN101582068A (en) * 2008-05-14 2009-11-18 北京灵图软件技术有限公司 Method and system for organizing geographic data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009034406A1 (en) * 2007-09-13 2009-03-19 Tauw Group B.V. Method and system for rendering geographic information systems (gis) data to a plurality of users over the internet

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094486A (en) * 2007-06-19 2007-12-26 武汉虹信通信技术有限责任公司 Method for implementing real time visualized mass data in optimizing mobile communication network
CN101178715A (en) * 2007-10-24 2008-05-14 广东威创视讯科技股份有限公司 Method for combining GIS system with split joint wall system and device thereof
CN101582068A (en) * 2008-05-14 2009-11-18 北京灵图软件技术有限公司 Method and system for organizing geographic data

Also Published As

Publication number Publication date
CN103049267A (en) 2013-04-17

Similar Documents

Publication Publication Date Title
US20120320073A1 (en) Multiple Spatial Partitioning Algorithm Rendering Engine
US20140043325A1 (en) Facetted browsing
CN107015788B (en) Method and device for displaying images on mobile device in animation mode
KR100924689B1 (en) Apparatus and method for transforming an image in a mobile device
KR102048885B1 (en) Graphic processing unit, graphic processing system comprising the same, rendering method using the same
JP2016521391A (en) Contextual local image recognition dataset
US10620803B2 (en) Selecting at least one graphical user interface item
CN114245028B (en) Image display method and device, electronic equipment and storage medium
CN105453010A (en) Method and device for setting background of ui control and terminal
CN111931472A (en) Page table rendering method and device, electronic equipment and computer readable medium
CN113453073B (en) Image rendering method and device, electronic equipment and storage medium
EP3405869A1 (en) Method and an apparatus for providing a multitasking view
CN103020888A (en) Image translation updating display method and system
CN103870197A (en) Method and device for processing picture
CN105096365A (en) 3D interface local refreshing method and system
CN111258693B (en) Remote display method and device
CN103049267B (en) A kind of image processing method and device
KR20130097886A (en) Apparatus and method for rendering
CN111796825B (en) Bullet screen drawing method, bullet screen drawing device, bullet screen drawing equipment and storage medium
CN103678261A (en) Method, device and equipment for rapidly displaying TTFs
US20170003829A1 (en) Graphical user interface facilitating sharing and collaborative editing of electronic documents
CN106569686B (en) Method for controlling screen capture by rolling ball and related intelligent equipment
US20150242988A1 (en) Methods of eliminating redundant rendering of frames
CN106201398A (en) A kind of display packing and electronic equipment
CN105022737A (en) Microblog information display method and device

Legal Events

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

Address after: 510670 Guangdong Province, Guangzhou high tech Industrial Development Zone Kezhu Road No. 233

Patentee after: VTRON GROUP Co.,Ltd.

Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No.

Patentee before: VTRON TECHNOLOGIES Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160824

Termination date: 20211218