CN103049267A - Image data processing method and device - Google Patents

Image data processing method and device Download PDF

Info

Publication number
CN103049267A
CN103049267A CN2012105524269A CN201210552426A CN103049267A CN 103049267 A CN103049267 A CN 103049267A CN 2012105524269 A CN2012105524269 A CN 2012105524269A CN 201210552426 A CN201210552426 A CN 201210552426A CN 103049267 A CN103049267 A CN 103049267A
Authority
CN
China
Prior art keywords
dynamic element
static elements
data
show
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.)
Granted
Application number
CN2012105524269A
Other languages
Chinese (zh)
Other versions
CN103049267B (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

Images

Landscapes

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

Abstract

The invention provides an image data processing method which includes the steps: selecting target image data according to operation objects and types; and displaying the target image data according to the operation objects and types in a layered manner. The invention further provides an image data processing device. System resources occupied by data processing before image display can be reduced, and the processing efficiency of the image data is improved.

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 showing node base map (for example: piece together the map in the wall system), static elements are (such as arrow, icon; ) and dynamic element (such as the gif picture), need to be after each operation, Data Management Unit sends to display unit with the element data that shows, display unit repaints base map and other all elements that need to show, and ceaselessly refreshes before next operation.When the element that shows increases, can be doubled and redoubled from the resource that operates to the consuming time and high refresh rate consumption that shows that node shows each time, cause system resource sharply to reduce, the performance fast-descending.
Summary of the invention
The object of the invention is to propose a kind of image processing method and device, the data that can reduce before image shows are processed shared system resource, improve the treatment effeciency of view data.
The scheme that adopts:
A kind of image processing method comprises step:
Select the purpose view data according to operand and action type;
According to described operand and described action type described purpose view data is carried out the layering demonstration.
And a kind of image data processing system comprises:
The view data selected cell is used for selecting the purpose view data according to operand and action type;
The layering display unit is used for according to described operand and described action type described purpose view data being carried out the layering demonstration.
The present invention utilizes a kind of mechanism, when image is operated, according to operand and action type, on purpose need to select the view data of demonstration, then according to operand and action type the view data of selecting is drawn, and shows again; With respect to traditional method, when not needing image to be operated, all data are drawn at every turn, show again; The data that can reduce before image shows are processed shared system resource, improve the treatment effeciency of view data.
Description of drawings
Fig. 1 is a process flow diagram of the inventive method;
Fig. 2 is another process flow diagram of the inventive method;
Fig. 3 is a structural representation of apparatus of the present invention.
Embodiment
The present invention proposes a kind of image processing method, and one of them flow process please refer to Fig. 1, comprises step:
S1, select the purpose view data according to operand and action type;
Wherein, operand comprises: static elements, dynamic element and base map; It has the characteristic that can not upgrade again after the demonstration static elements, until this element destruction, such as single picture.Dynamic element refers to the image that the capable of dynamic that presents in the displaying scheme changes, such as the gif picture.It can constantly change the content of required demonstration in procedure for displaying.Base map is that each image processing software must have, and it is different from static elements.
Action type comprises: add, move and the deletion static elements; Add, move and the deletion dynamic element; Move or the convergent-divergent base map, etc.
When mobile or deletion static elements, the static elements of purpose view data for needing to show;
When mobile or deletion dynamic element, the dynamic element of purpose view data for needing to show;
When mobile or convergent-divergent base map, static elements and dynamic element that the purpose view data is base map, all need show.
S2, according to operand and action type the purpose view data is carried out layering and show.
Concrete, step S2 comprises:
When mobile or convergent-divergent base map, draw base map, then draw all static elements, draw again all dynamic datas and obtain the first demonstration data; Show that first shows data;
When adding dynamic element, draw the dynamic element of adding, obtain second and show data; Show that second shows data;
When mobile or deletion dynamic element, draw the dynamic element that needs demonstration, obtain the 3rd and show data; Show that the 3rd shows data;
When adding static elements, draw the static elements that adds, then draw dynamic element and obtain the 4th demonstration data; Show that the 4th shows data;
When moving or delete static elements, draw base map, then draw the static elements that needs demonstration, draw again dynamic element and obtain the 5th demonstration data; Show that the 5th shows data.
The present invention utilizes a kind of mechanism, when image is operated, according to operand and action type, on purpose need to select the view data of demonstration, then according to operand and action type the view data of selecting is drawn, and shows again; With respect to traditional method, when not needing image to be operated, all data are drawn at every turn, show again; The data that can reduce before image shows are processed shared system resource, improve the treatment effeciency of view data.
In embodiment, utilize the original rear buffer zone of buffer zone and system that is pre-created to come classification drawing image data therein, idiographic flow can with reference to figure 2, comprise step:
S201, establishment the first buffer zone R1, the second buffer zone R2 and data structure body;
Wherein, the first buffer zone R1 is used for drawing base map; The second buffer zone R2 is used for drawing static elements;
And the data structure body can be expressed as follows:
Figure BDA00002608413700031
Wherein, OpObject represents operand, and OpTye represents action type; ListBkImg represents base map; ListStaticImg represents static elements; ListDynaImg represents dynamic element.
S202, the operand that obtains the user and action type;
S203, select the purpose view data according to operand and action type;
According to the difference of operand, the different purpose view data of different choice of action type, concrete selection such as S204 to S207.
S204, when adding static elements or dynamic element, static elements or the dynamic element of adding is chosen as the purpose view data;
Add, refer in original image basis, additionally add new pictorial element; The user is when adding operation, and system can get access to the pictorial element of interpolation.
S205, when mobile or deletion static elements, the static elements that need are shown is chosen as the purpose view data;
Show, refer in image processing process, some pictorial element of hiding in the original view data is shown; The deletion here is included in the image demonstration and hides some pictorial element, and some pictorial element in the complete deleted image data.
S206, when mobile or deletion dynamic element, the dynamic element that need are shown is chosen as the purpose view data;
S207, when mobile or convergent-divergent base map, be the purpose view data with base map, all static elements and dynamic element;
During for mobile base map, the base map after selecting to move, the static elements that all need to show and dynamic element are as the purpose view data;
During for the convergent-divergent base map, the base map behind the selection convergent-divergent, the static elements that all need to show and dynamic element are as the purpose view data;
Wherein, the static elements that all need to show and dynamic element refer to before mobile or convergent-divergent base map the static elements that comprises in the image of demonstration and dynamic element.
S208, the purpose view data is saved in the data structure body;
The purpose view data of selecting is kept at respectively the data structure body, in order to when carrying out Image Rendering, use.
S209, when mobile or convergent-divergent base map, draw base map at R1, copy the image of R1 to R2; Draw all static elements at R2, copy among the R2 image to rear buffer zone, and draw all dynamic element at rear buffer zone and obtain first and show data;
Draw base map at the first buffer zone R1 first; The copying image of drawing among the R1 to the second buffer zone R2, on this basis, is carried out the drafting of static elements, after R2 completes, just comprised base map and static elements in the image of drafting like this; Then rear buffer zone is arrived in copying image drawn among the R2, on this basis, draw dynamic element, obtain thus comprising the image of base map static elements and dynamic element, this has just finished image and has shown front drawing.
S210, when adding dynamic element, draw the dynamic element of adding at rear buffer zone, obtain second and show data;
When adding dynamic element, because base map and static elements do not change, therefore only need in rear buffer zone, to draw the dynamic element of adding.
S211, when mobile or deletion dynamic element, drawing at rear buffer zone needs the dynamic element that shows, obtains the 3rd and shows data;
When showing or during the deletion dynamic element, because base map and static elements do not change, therefore only needing to draw in rear buffer zone needs the dynamic element that shows.
S212, when adding static elements, draw the static elements that adds at R2, copy the image of R2 to rear buffer zone, draw dynamic element at rear buffer zone and obtain the 4th and show data;
When adding static elements, the static elements that drafting is added in the second buffer zone R2 copies the image of R2 drafting to rear buffer zone, draws dynamic element at rear buffer zone and obtains the 4th demonstration data.
S213, when mobile or deletion static elements, draw base map at R1, copy the image of R1 to R2, and draw at R2 and to need the static elements that shows, copy the image of R2 to rear buffer zone, and draw dynamic element at rear buffer zone and obtain the 5th demonstration data;
When showing or delete static elements, draw base map at the first buffer zone R1, copy the image drawn among the R1 to the second buffer zone R2, and draw at R2 and to need the static elements that shows, copy the image of R2 to rear buffer zone, and obtain the 5th demonstration data in rear buffer zone drafting dynamic element.
S214, the demonstration exchanges data of rear buffer zone is shown to front buffer zone.
When mobile or convergent-divergent base map, show the first view data;
When adding dynamic element, show the second view data;
When showing or delete dynamic element, show the 3rd view data;
When adding static elements, show the 4th view data;
When showing or delete static elements, show the 5th view data.
The present invention also proposes a kind of image data processing system, and one of them structural representation please refer to Fig. 3, comprising:
The view data selected cell is used for selecting the purpose view data according to operand and action type; Wherein, operand comprises: static elements, dynamic element and base map;
Action type comprises: add, move and the deletion static elements; Add, move and the deletion dynamic element; Move or the convergent-divergent base map;
When adding static elements or dynamic element, static elements or the dynamic element of purpose view data for adding;
When mobile or deletion static elements, the static elements of purpose view data for needing to show;
When mobile or deletion dynamic element, the dynamic element of purpose view data for needing to show;
When mobile or convergent-divergent base map, the purpose view data is base map, all static elements and dynamic element.
The layering display unit is used for according to operand and action type the purpose view data being carried out the layering demonstration.
When mobile or convergent-divergent base map, the layering display unit is drawn base map, then draws all static elements, draws all dynamic datas again and obtains the first demonstration data; Show that first shows data;
When adding dynamic element, the layering display unit is drawn the dynamic element of adding, and obtains second and shows data; Show that second shows data;
When mobile or deletion dynamic element, the layering display unit is drawn the dynamic element that needs demonstration, obtains the 3rd and shows data; Show that the 3rd shows data;
When adding static elements, the layering display unit is drawn the static elements that adds, and then draws dynamic element and obtains the 4th demonstration data; Show that the 4th shows data;
When moving or delete static elements, the layering display unit is drawn base map, then draws the static elements that needs demonstration, draws dynamic element again and obtains the 5th demonstration data; Show that the 5th shows data.
In addition, the layering display unit is drawn base map at the first buffer zone of pre-save; The second buffer zone at pre-save is drawn static elements; Draw dynamic element at rear buffer zone.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (8)

1. an image processing method is characterized in that, comprises step:
Select the purpose view data according to operand and action type;
According to described operand and described action type described purpose view data is carried out the layering demonstration.
2. image processing method according to claim 1 is characterized in that,
Described operand comprises: static elements, dynamic element and base map;
Described action type comprises: add, move and delete described static elements; Add, move and delete described dynamic element; Move or the described base map of convergent-divergent;
When adding described static elements or dynamic element, static elements or the dynamic element of described purpose view data for adding;
When moving or deleting described static elements, the static elements of described purpose view data for needing to show;
When moving or deleting described dynamic element, the dynamic element of described purpose view data for needing to show;
When mobile or the described base map of convergent-divergent, static elements and dynamic element that described purpose view data is base map, all need show.
3. image processing method according to claim 2 is characterized in that,
Describedly according to operand and described action type described purpose view data is carried out the step that layering shows and comprises:
When mobile or the described base map of convergent-divergent, draw described base map, then draw described all static elements, draw again described all dynamic datas and obtain the first demonstration data; Show that described first shows data;
When adding described dynamic element, draw the dynamic element of described interpolation, obtain second and show data; Show that described second shows data;
When moving or deleting described dynamic element, draw the described dynamic element that needs demonstration, obtain the 3rd and show data; Show that the described the 3rd shows data;
When adding described static elements, draw the static elements of described interpolation, then draw dynamic element and obtain the 4th demonstration data; Show that the described the 4th shows data;
When moving or deleting described static elements, draw base map, then draw the described static elements that needs demonstration, draw again dynamic element and obtain the 5th demonstration data; Show that the described the 5th shows data.
4. image processing method according to claim 3 is characterized in that,
The first buffer zone at pre-save is drawn base map; The second buffer zone at pre-save is drawn static elements; Draw dynamic element at rear buffer zone.
5. an image data processing system is characterized in that, comprising:
The view data selected cell is used for selecting the purpose view data according to operand and action type;
The layering display unit is used for according to described operand and described action type described purpose view data being carried out the layering demonstration.
6. image data processing system according to claim 5 is characterized in that,
Described operand comprises: static elements, dynamic element and base map;
Described action type comprises: add, move and delete described static elements; Add, move and delete described dynamic element; Move or the described base map of convergent-divergent;
When adding described static elements or dynamic element, static elements or the dynamic element of described purpose view data for adding;
When moving or deleting described static elements, the static elements of described purpose view data for needing to show;
When moving or deleting described dynamic element, the dynamic element of described purpose view data for needing to show;
When mobile or the described base map of convergent-divergent, described purpose view data is base map, all static elements and dynamic element.
7. image data processing system according to claim 6 is characterized in that,
When mobile or the described base map of convergent-divergent, described layering display unit is drawn described base map, then draws described all static elements, draws described all dynamic datas again and obtains the first demonstration data; Show that described first shows data;
When adding described dynamic element, described layering display unit is drawn the dynamic element of described interpolation, obtains second and shows data; Show that described second shows data;
When moving or deleting described dynamic element, described layering display unit is drawn the described dynamic element that needs demonstration, obtains the 3rd and shows data; Show that the described the 3rd shows data;
When adding described static elements, described layering display unit is drawn the static elements of described interpolation, then draws dynamic element and obtains the 4th demonstration data; Show that the described the 4th shows data;
When moving or deleting described static elements, described layering display unit is drawn base map, then draws the described static elements that needs demonstration, draws dynamic element again and obtains the 5th demonstration data; Show that the described the 5th shows data.
8. image data processing system according to claim 7 is characterized in that,
Described layering display unit is drawn base map at the first buffer zone of pre-save; The second buffer zone at pre-save is drawn static elements; Draw dynamic element at rear buffer zone.
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 true CN103049267A (en) 2013-04-17
CN103049267B 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)

Cited By (2)

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

Citations (4)

* 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
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
CN101582068A (en) * 2008-05-14 2009-11-18 北京灵图软件技术有限公司 Method and system for organizing geographic data

Patent Citations (4)

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

Cited By (3)

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

Also Published As

Publication number Publication date
CN103049267B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
US20120320073A1 (en) Multiple Spatial Partitioning Algorithm Rendering Engine
KR101952922B1 (en) Exploiting frame to frame coherency in a sort-middle architecture
US20140043325A1 (en) Facetted browsing
CN110196665B (en) UI control background setting method and device and terminal
JP2016521391A (en) Contextual local image recognition dataset
KR20100120232A (en) Multi-context graphics processing
US20170205980A1 (en) Method and an apparatus for providing a multitasking view
CN102819417A (en) Picture display processing method and device
JP2015125509A (en) Image processing apparatus, image processing method, and program
CN103870197A (en) Method and device for processing picture
CN111931472A (en) Page table rendering method and device, electronic equipment and computer readable medium
CN109002241A (en) View staggered floor display methods, electronic equipment and storage medium
US11190653B2 (en) Techniques for capturing an image within the context of a document
CN110333919A (en) A kind of method and apparatus that social object information is presented
CN111127469A (en) Thumbnail display method, device, storage medium and terminal
CN109718554B (en) Real-time rendering method and device and terminal
US10192523B2 (en) Method and apparatus for providing an overview of a plurality of home screens
CN103049267A (en) Image data processing method and device
CN109598800A (en) A kind of three-dimensional electronic sand table display methods, device, equipment and storage medium
CN113419649A (en) Method for operating electronic device and device thereof
CN112445394B (en) Screenshot method and screenshot device
CN103995706A (en) Method and device for displaying picture thumbnail
CN104462099A (en) Information processing method and electronic equipment
CN114510307B (en) Dynamic wallpaper implementation method, computing device and storage medium
CN104777981A (en) Information fast sharing 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

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.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160824

Termination date: 20211218

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