CN104463773A - Movable graph efficient output method and system - Google Patents
Movable graph efficient output method and system Download PDFInfo
- Publication number
- CN104463773A CN104463773A CN201410804148.0A CN201410804148A CN104463773A CN 104463773 A CN104463773 A CN 104463773A CN 201410804148 A CN201410804148 A CN 201410804148A CN 104463773 A CN104463773 A CN 104463773A
- Authority
- CN
- China
- Prior art keywords
- current time
- time
- mobile
- belonging
- graph
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention is applicable to the technical field of image processing and provides a movable graph efficient output method and system. The method specifically comprises the following steps that firstly, the position of a movable graph at the current moment is compared with the position of the movable graph at the next moment; secondly, according to a comparison result, the part, at both the current moment and the next moment, of the movable graph is reserved, the part, only at the current moment, of the movable graph is deleted, and a newly added part is output from the position, only at the next moment, of the movable graph. By the adoption of the method, the movable graph can be output more quickly, consumption of computer resources is reduced, and user experience is improved.
Description
Technical field
The invention belongs to technical field of image processing, particularly relate to a kind of method of efficient output mobile figure.
Background technology
Computer graphics is widely used, particularly outstanding in Games Software.Along with software function is more and more stronger, also more and more higher to the performance requirement of computer software, hardware.From the angle of hardware, internal memory can be continued to increase, strengthen CPU arithmetic capability, improve message transmission rate etc.; From the angle of software, can Optimized code structure, or adopt more high efficiency algorithm.Existing mobile graphics output intent is exactly constantly the original figure of erasing, then in new position again output pattern, to reach the effect of movement.Even if variable quantity is very little like this, also to exports whole figure, consume a large amount of computer resources, drag slowly system, cause poor experience to user.
Summary of the invention
Technical matters to be solved by this invention is the method and system providing a kind of efficient output mobile figure, is intended to the figure of output mobile more quickly, reduces the use resource of computing machine.
The present invention is achieved in that a kind of method of efficient output mobile figure, and described method comprises the steps:
Steps A, the similarities and differences of the more described position of mobile graphics subsequent time and the position of current time;
Step B, according to comparative result, the part described mobile graphics being belonged at the same time the position of current time and subsequent time is retained; The part of described mobile graphics in the position only belonging to current time is deleted; And export newly-increased part in the position only belonging to subsequent time.
Present invention also offers a kind of system of efficient output mobile figure, described system comprises:
Comparison module, for the similarities and differences of the more described position of mobile graphics subsequent time and the position of current time;
Images outputting module, for according to comparative result, the part described mobile graphics being belonged at the same time the position of current time and subsequent time is retained; The part of described mobile graphics in the position only belonging to current time is deleted; And export newly-increased part in the position only belonging to subsequent time.
The present invention compared with prior art, beneficial effect is: the method and system providing a kind of efficient output mobile figure, this method makes the part of the position simultaneously belonging to current time and subsequent time to be retained when output mobile figure, the part of described mobile graphics in the position only belonging to current time is deleted, and is exported newly-increased part in the position only belonging to subsequent time; Adopting in this way can the figure of output mobile faster, decreases computer resource usage, improves Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of the efficient output mobile figure that the embodiment of the present invention provides;
Fig. 2 is the module diagram of the efficient output mobile figure that the embodiment of the present invention provides;
Fig. 3-Fig. 8 is the process of a kind of mobile graphics that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, the invention provides a kind of method of efficient output mobile figure, its concrete steps are:
Step S1: the similarities and differences of the more described position of mobile graphics subsequent time and the position of current time;
Step S2: according to comparative result, the part described mobile graphics being belonged at the same time the position of current time and subsequent time is retained; The part of described mobile graphics in the position only belonging to current time is deleted; And export newly-increased part in the position only belonging to subsequent time.
As shown in Figure 2, present invention also offers a kind of system of efficient output mobile figure, described system comprises:
Comparison module 1, for the similarities and differences of the more described position of mobile graphics subsequent time and the position of current time;
Images outputting module 2, for according to comparative result, the part described mobile graphics being belonged at the same time the position of current time and subsequent time is retained; The part of described mobile graphics in the position only belonging to current time is deleted; And export newly-increased part in the position only belonging to subsequent time.
Lift a specific embodiment below:
The motion track of figure is as shown in Fig. 3 to Fig. 8, and the representative of grey grid will the figure of movement, the representative afterbody that numeral is minimum, the representative head that numeral is maximum.Adjacent two pictures representatives move the change of shape after moving a step.In two adjacent figure, the numeral in grey grid, identical expression does not change after moving, and does not need to repaint, and the numeral eliminated has wiped out, the figure that new numeral newly draws.The motion track concrete steps of figure are:
Step 1: move to Fig. 4 from Fig. 3, the grey grid 0 in Fig. 3 is wiped free of, and has newly increased grey grid 10, and other grey grid 1 is to grey grid 9 not change.
Step 2: move to Fig. 5 from Fig. 4, the grey grid 1 in Fig. 4 is wiped free of, and has newly increased grey grid 11, and other grey grid 2 is to grey grid 10 not change.
Step 3: move to Fig. 6 from Fig. 5, the grey grid 2 in Fig. 5 is wiped free of, and has newly increased grey grid 12, and other grey grid 3 is to grey grid 11 not change.
Step 4: move to Fig. 7 from Fig. 6, the grey grid 3 in Fig. 6 is wiped free of, and has newly increased grey grid 13, and other grey grid 4 is to grey grid 12 not change.
Step 5: move to Fig. 8 from Fig. 7, the grey grid 4 in Fig. 7 is wiped free of, and has newly increased grey grid 14, and other grey grid 5 is to grey grid 13 not change.
As can be seen from above step, in the present embodiment, adjacent motion each time, the afterbody of original figure (grid that numeral is minimum) also with the addition of new head on original head (grid that numeral is maximum), and the part in the middle of other does not change.Therefore according to this rule, when output mobile figure, that a part of figure of erasing can only be repainted, and that a part of figure newly increased, other does not have vicissitudinous part, can not repaint, and can reduce operational ton like this, reduces the use resource of computing machine.
The method and system of speedy carding process mobile graphics provided by the invention, can be used in Snake game: snake constantly movement goes to eat bean or pea, and snake, in the process of movement, just can carry out the output of figure by above method.
The method and system of a kind of efficient output mobile figure provided by the invention, adopting in this way can the figure of output mobile faster, decreases computer resource usage, improves Consumer's Experience.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (2)
1. a method for efficient output mobile figure, is characterized in that, described method comprises the steps:
Steps A, the similarities and differences of the more described position of mobile graphics subsequent time and the position of current time;
Step B, according to comparative result, the part described mobile graphics being belonged at the same time the position of current time and subsequent time is retained; The part of described mobile graphics in the position only belonging to current time is deleted; And export newly-increased part in the position only belonging to subsequent time.
2. a system for efficient output mobile figure, is characterized in that, described system comprises:
Comparison module, for the similarities and differences of the more described position of mobile graphics subsequent time and the position of current time;
Images outputting module, for according to comparative result, the part described mobile graphics being belonged at the same time the position of current time and subsequent time is retained; The part of described mobile graphics in the position only belonging to current time is deleted; And export newly-increased part in the position only belonging to subsequent time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410804148.0A CN104463773A (en) | 2014-12-22 | 2014-12-22 | Movable graph efficient output method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410804148.0A CN104463773A (en) | 2014-12-22 | 2014-12-22 | Movable graph efficient output method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104463773A true CN104463773A (en) | 2015-03-25 |
Family
ID=52909761
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410804148.0A Pending CN104463773A (en) | 2014-12-22 | 2014-12-22 | Movable graph efficient output method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104463773A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10802330B2 (en) | 2016-12-29 | 2020-10-13 | HKC Corporation Limited | Liquid crystal display panel and liquid crystal display apparatus |
CN113577768A (en) * | 2021-06-10 | 2021-11-02 | 林国辉 | Virtual article interaction method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101239240A (en) * | 2007-02-07 | 2008-08-13 | 盛趣信息技术(上海)有限公司 | Control method of non-player role |
CN101261740A (en) * | 2008-03-27 | 2008-09-10 | 于培宁 | An image storage and processing method |
JP2014095961A (en) * | 2012-11-08 | 2014-05-22 | Hitachi High-Technologies Corp | Image analysis support apparatus and method |
-
2014
- 2014-12-22 CN CN201410804148.0A patent/CN104463773A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101239240A (en) * | 2007-02-07 | 2008-08-13 | 盛趣信息技术(上海)有限公司 | Control method of non-player role |
CN101261740A (en) * | 2008-03-27 | 2008-09-10 | 于培宁 | An image storage and processing method |
JP2014095961A (en) * | 2012-11-08 | 2014-05-22 | Hitachi High-Technologies Corp | Image analysis support apparatus and method |
Non-Patent Citations (1)
Title |
---|
戴光明等: "《Visual C++ 面向对象程序设计》", 30 November 2005 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10802330B2 (en) | 2016-12-29 | 2020-10-13 | HKC Corporation Limited | Liquid crystal display panel and liquid crystal display apparatus |
CN113577768A (en) * | 2021-06-10 | 2021-11-02 | 林国辉 | Virtual article interaction method, device, equipment and storage medium |
CN113577768B (en) * | 2021-06-10 | 2023-12-19 | 林国辉 | Virtual article interaction method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wang et al. | CAPTCHA recognition based on deep convolutional neural network | |
US10169084B2 (en) | Deep learning via dynamic root solvers | |
CN103606180A (en) | Rendering method and device of 3D skeletal animation | |
Flores et al. | Mobile code offloading: should it be a local decision or global inference? | |
CN105590335A (en) | Point cloud mesh refinement system and point cloud mesh refinement method | |
CN104093046B (en) | A kind of video inter-cut system and method based on cloud game | |
CN103593226A (en) | Method for improving IO performance of disc of virtual machine | |
CN104125165A (en) | Job scheduling system and method based on heterogeneous cluster | |
WO2023087893A1 (en) | Object processing method and apparatus, computer device, storage medium and program product | |
CN104463773A (en) | Movable graph efficient output method and system | |
CN103116897A (en) | Three-dimensional dynamic data compression and smoothing method based on image space | |
Wang et al. | An FPGA-based online reconfigurable CNN edge computing device for object detection | |
Ju et al. | A novel approach to extract hand gesture feature in depth images | |
CN111047671A (en) | Optimization method of drawing path of hand-drawn picture and storage medium | |
A. Vasilakis et al. | Pose partitioning for multi‐resolution segmentation of arbitrary mesh animations | |
Alexandru Rosu et al. | Latticenet: Fast point cloud segmentation using permutohedral lattices | |
He et al. | Graphcut-based interactive segmentation using colour and depth cues | |
Luo | The cloud-mobile convergence paradigm for augmented reality | |
Li et al. | Research on the improvement of EPTA parallel thinning algorithm | |
CN102855636B (en) | Optimization method for foreground segmentation problem | |
CN107423019B (en) | Implementation method for controlling 3D (three-dimensional) graphic acceleration based on Feiteng platform | |
Angelina Uy et al. | Revisiting point cloud classification: A new benchmark dataset and classification model on real-world data | |
Liu et al. | Point cloud segmentation based on moving probability | |
Kim | An embedded FAST hardware accelerator for image feature detection | |
Yang et al. | A license plate recognition system based on machine vision |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150325 |
|
WD01 | Invention patent application deemed withdrawn after publication |