CN108711179B - Drawing reduction method and system - Google Patents

Drawing reduction method and system Download PDF

Info

Publication number
CN108711179B
CN108711179B CN201810494341.7A CN201810494341A CN108711179B CN 108711179 B CN108711179 B CN 108711179B CN 201810494341 A CN201810494341 A CN 201810494341A CN 108711179 B CN108711179 B CN 108711179B
Authority
CN
China
Prior art keywords
image
drawing image
identifier
instruction
preset
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.)
Active
Application number
CN201810494341.7A
Other languages
Chinese (zh)
Other versions
CN108711179A (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.)
Hangzhou Multi Technology Education Technology Co ltd
Original Assignee
Hangzhou Multi Technology Education Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Multi Technology Education Technology Co ltd filed Critical Hangzhou Multi Technology Education Technology Co ltd
Priority to CN201810494341.7A priority Critical patent/CN108711179B/en
Publication of CN108711179A publication Critical patent/CN108711179A/en
Application granted granted Critical
Publication of CN108711179B publication Critical patent/CN108711179B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The invention provides a drawing restoration method and a drawing restoration system, which relate to the technical field of drawing tools and comprise the steps of monitoring a first drawing gesture of an object when a first drawing instruction is triggered, acquiring and recording attribute information of each pixel according to the first drawing gesture until a drawing finishing signal is acquired, and forming a first drawing image, wherein the attribute information comprises a coordinate point and a color value, and the coordinate point comprises a time coordinate and a position coordinate; when the second drawing instruction is triggered, the drawing process of each pixel is restored according to the attribute information, and the first drawing image is formed again, wherein the first drawing image is in an editable state.

Description

Drawing reduction method and system
Technical Field
The invention relates to the technical field of drawing tools, in particular to a drawing restoration method and a drawing restoration system.
Background
Along with the continuous improvement of living standard of people, the demand on mental substance culture is higher and higher, and leisure and entertainment activities and products occupy more and more positions in the life of people and become a way of relieving pressure in the tense life of people.
The existing leisure and entertainment activities are various, and complex drawings such as cartoons, games and the like are applied more, but for beginners, the drawing skills are still unskilled, and the complex drawings which are drawn can only be applied by directly pasting, but the practice cannot improve the drawing level of the beginners while the complex drawings are rapidly completed, and the development of the personal level is limited.
Disclosure of Invention
In view of the above, the present invention provides a method and a system for restoring a drawing, which can restore the drawing process and enable a beginner to simultaneously learn and review the drawing when the required drawing is complicated.
In a first aspect, an embodiment of the present invention provides a method for restoring a drawing, including:
step a: when a first drawing instruction is triggered, monitoring a first drawing gesture of an object, acquiring and recording attribute information of each pixel according to the first drawing gesture until a drawing end signal is acquired, and forming a first drawing image, wherein the attribute information comprises a coordinate point and a color value, and the coordinate point comprises a time coordinate and a position coordinate;
step b: and when a second drawing instruction is triggered, restoring the drawing process of each pixel according to the attribute information, and reforming the first drawing image, wherein the first drawing image is in an editable state.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the second drawing instruction and the first drawing image carry an identifier, and step b includes:
acquiring the second drawing instruction, matching an identifier in the second drawing instruction with an identifier of the first drawing image, and acquiring the first drawing image matched with the identifier in the second drawing instruction and each pixel corresponding to the first drawing image;
and performing drawing reduction according to the attribute information corresponding to each pixel to reform the first drawing image.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where after the step b, the method further includes:
step c: editing the first drawing image formed on the current page, triggering a first drawing instruction, monitoring a second drawing gesture of an object, acquiring and recording attribute information of each pixel according to the second drawing gesture until a drawing end signal is acquired, and forming a second drawing image on the current page, wherein the first drawing image and the second drawing image are presented on the current page at the same time.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the second drawing instruction includes at least one identifier, and the method further includes:
step d: and associating the first drawing image with the second drawing image according to the association relationship between the identifier of the first drawing image and the identifier of the second drawing image, so that the first drawing image and the second drawing image are reformed on the current page under the condition that the second drawing instruction is triggered.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where before step a, the method further includes:
step e: and separating and extracting the subimage of the first drawing image according to a preset individual parameter so as to restore the subimage when the second drawing instruction is triggered.
With reference to the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the step e further includes:
and separating the corresponding part of the first drawing image according to a preset individual parameter, and extracting to obtain a subimage, so that the corresponding part of the subimage is restored from the first drawing image when the second drawing instruction is triggered.
With reference to the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where the preset personality parameter includes one or more of a preset map layer, a preset time range, a preset image position range, and a preset color value, and the separating a corresponding portion of the first drawing image according to the preset personality parameter and extracting the sub-image includes:
extracting the subimages of which the layers are consistent with the preset layers from the first drawing image;
extracting the subimage from the first drawing image according to the preset time range, wherein the time coordinate of each pixel in the subimage is within the preset time range;
extracting the subimage from the first drawing image according to the preset image position range, wherein the position coordinates of each pixel in the subimage are within the preset image position range;
and extracting the sub-image of which the color value is consistent with the preset color value from the first drawing image.
With reference to the first aspect, an embodiment of the present invention provides a seventh possible implementation manner of the first aspect, where the method further includes:
Step f: and matching the identifier of the first drawing image formed each time with a sample identifier in an identifier library, storing the identifier as the sample identifier in the identifier library under the condition of unsuccessful matching, and storing the first drawing image corresponding to the identifier in an image library.
With reference to the first aspect, an embodiment of the present invention provides an eighth possible implementation manner of the first aspect, where the identifier is generated according to attribute information of each pixel in the first rendered image, and the method further includes:
step g: and when the attribute information of the pixel in the first drawing image is edited and modified, generating a new drawing image, wherein the new drawing image carries a new identifier.
In a second aspect, an embodiment of the present invention further provides a drawing reduction system, including:
the monitoring drawing unit is used for monitoring a first drawing gesture of an object when a first drawing instruction is triggered, acquiring and recording attribute information of each pixel according to the first drawing gesture until a drawing ending signal is acquired, and forming a first drawing image, wherein the attribute information comprises a coordinate point and a color value, and the coordinate point comprises a time coordinate and a position coordinate;
And the restoration drawing unit is used for restoring the drawing process of each pixel according to the attribute information and newly forming the first drawing image when a second drawing instruction is triggered, wherein the first drawing image is in an editable state.
The embodiment of the invention provides a drawing restoration method and a drawing restoration system, wherein when a first drawing instruction is triggered, a first drawing gesture of an object is monitored, attribute information of each pixel is acquired and recorded according to the first drawing gesture until a drawing ending signal is acquired, and a first drawing image is formed, wherein the attribute information comprises a coordinate point and a color value, and the coordinate point comprises a time coordinate and a position coordinate; when a second drawing instruction is triggered, the drawing process of each pixel is restored according to the attribute information, and a first drawing image is newly formed, wherein the first drawing image is in an editable state.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of a graph reduction method according to an embodiment of the present invention;
fig. 2 is a functional block diagram of a graphic rendering system according to an embodiment of the present invention.
Icon: 100-monitoring a drawing unit; 200-restoring a drawing unit; 300-a regeneration unit; 400-an extraction unit; 500-a matching unit; 600-a modification unit.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The rhythm of the modern society is rapid, the efficiency of accomplishing the affair is emphasized, but the promotion of individual ability is slow, in the early stage of drawing study, can't draw complicated drawing comparatively rapidly, can only realize the purpose of quick application through copying and pasting the complicated drawing that has already been accomplished, but such a way is very unfavorable to drawing beginners, restricts the development of individual level.
Therefore, the drawing reduction method and the drawing reduction system provided by the embodiment of the invention can reduce the drawing process, and a beginner can simultaneously learn and review the drawing under the condition that the required drawing is more complex.
To facilitate understanding of the embodiment, a detailed description will be given first of all of a drawing reduction method disclosed in the embodiment of the present invention;
Fig. 1 is a flowchart of a graph reduction method according to an embodiment of the present invention.
Referring to fig. 1, the drawing restoration method applied to the drawing electronic device includes the following steps:
step S110, when a first drawing instruction is triggered, monitoring a first drawing gesture of an object, acquiring and recording attribute information of each pixel according to the first drawing gesture until a drawing end signal is acquired, and forming a first drawing image, wherein the attribute information comprises a coordinate point and a color value, and the coordinate point comprises a time coordinate and a position coordinate;
step S120: and when a second drawing instruction is triggered, restoring the drawing process of each pixel according to the attribute information, and reforming a first drawing image, wherein the first drawing image is in an editable state.
Specifically, the drawing reduction method provided by the embodiment of the invention records the attribute information of each pixel of the drawn picture, can reduce the drawing process of the picture according to the attribute information, and finally generates the picture, so that a beginner can complete the drawing operation and learn and review the drawing process of the picture at the same time under the condition of more complex drawing, and the drawing level can be effectively improved.
In some possible embodiments, the user may perform multiple initial renderings, that is, the rendering image includes multiple rendering images, and when the second rendering instruction is triggered, in order to accurately restore the target rendering image from the multiple rendering images, the second rendering instruction and the first rendering image carry an identifier, and step S120 provided in the above embodiment further includes:
step S210, a second drawing instruction is obtained, the identifier in the second drawing instruction is matched with the identifier of the first drawing image, and the first drawing image matched with the identifier in the second drawing instruction and each pixel corresponding to the first drawing image are obtained;
and step S220, performing drawing reduction according to the attribute information corresponding to each pixel, and reforming the first drawing image.
Here, each time the monitoring user generates an initial drawing image (i.e. a first drawing image), a second drawing instruction is correspondingly generated, and the second drawing instruction comprises an identifier matched with the identifier of the first drawing image, so that the drawing image to be restored can be accurately found according to the second drawing instruction;
specifically, after a drawn image to be restored is found according to the second drawing instruction, attribute information corresponding to each pixel of the drawn image is obtained, and each pixel is restored according to a time coordinate, a position coordinate and a color value in the attribute information, so that a user can observe a re-drawing process of restoration of the drawn image, and finally the drawn image is generated;
It should be noted that the drawing image and the user initial drawing image both belong to editable images, so that the user can continue to perform corresponding editing operations on the drawing image after finishing the image restoration process, thereby improving the efficiency of the drawing operation of the user;
after step S120, the method further comprises:
step S130: editing a first drawing image formed on a current page, triggering a first drawing instruction, monitoring a second drawing gesture of an object, acquiring and recording attribute information of each pixel according to the second drawing gesture until a drawing end signal is acquired, and forming a second drawing image on the current page, wherein the first drawing image and the second drawing image are presented on the current page at the same time.
Here, in the drawing operation process, the user needs to continue to perform new drawing after reviewing, restoring and drawing the process for the efficiency of the operation, that is, after step S120, the current page forms a first drawing image after restoration, at this time, the user continues to perform a new round of drawing on the current page, and generates a second drawing image according to a second drawing gesture, so that the user can continue to perform the drawing operation while learning to review;
It should be noted that each page may include a plurality of drawing images, and the number of the drawing images included in each page may be determined according to the actual drawing situation of the user, and the new page may be switched to draw on the new page again;
according to practical situations, a complete picture to be drawn may be too complex, the drawing process is forced to be interrupted, and the like, and the complete picture cannot be drawn at one time, that is, the drawn picture may include several drawn images (a plurality of drawn images on the same page), and a user may want to restore the drawing process of the complete picture or restore a partial picture including a plurality of drawn images at one time during the restoration process, where the second drawing instruction includes at least one identifier, and the method further includes:
step S140: and associating the first drawing image with the second drawing image through the association relationship between the identifier of the first drawing image and the identifier of the second drawing image, so that the first drawing image and the second drawing image are re-formed on the current page under the condition that the second drawing instruction is triggered.
The method comprises the steps that the drawn images are associated according to the relation of marks among the drawn images, wherein the association comprises a drawing time sequence relation on the same page, namely the drawn images on the same page of the image to be restored can be selected from a plurality of images through the association, the drawn images are restored according to the drawing time sequence relation, the second drawing instruction comprises corresponding marks of the images to be restored, generally speaking, the images to be restored belong to the same page, the images are combined into a complete image or a part of the complete image, the drawn images can be restored according to the time sequence order through triggering of the second drawing instruction once, and a user can conveniently review the whole drawing process of the image;
It should be noted that the association relationship is an exemplary embodiment, and the association relationship further includes a layer association relationship, a coordinate association relationship, and a color value association relationship, and may be specifically set according to an actual situation of a user;
in some possible embodiments, since the picture to be drawn is too complex, such as a building map, a landscape, a person, and the like, even if a part of the picture is drawn, each part of the drawn image is still very complex, such as a long reduction process, and difficulty in learning and reviewing is high for a beginner, the method according to the embodiment of the present invention separates the complex drawn image according to the preset personality parameters, and can reduce only a part of sub-images in the drawn image, so as to facilitate the beginner to learn the reduction process, before step S110, the method further includes:
step S100: and separating and extracting the subimage of the first drawing image according to the preset individual parameter so as to restore the subimage when the second drawing instruction is triggered.
Step S100 further includes:
and S310, separating and extracting the corresponding part of the first drawing image according to the preset individual parameters to obtain the subimage, so that the corresponding part of the subimage is restored from the first drawing image when the second drawing instruction is triggered.
The preset personality parameters include one or more of a preset map layer, a preset time range, a preset image position range and a preset color value, and step S310 includes:
step S410, extracting a sub-image with a layer consistent with a preset layer from the first drawn image;
step S420, extracting a sub-image from the first drawing image according to a preset time range, wherein the time coordinate of each pixel in the sub-image is in the preset time range;
step S430, extracting a sub-image from the first drawing image according to a preset image position range, wherein the position coordinates of each pixel in the sub-image are in the preset image position range;
in step S440, a sub-image having a color value that matches a preset color value is extracted from the first drawn image.
Here, the user may set the preset personality parameter by himself, extract one or more corresponding layers of the first drawing image as a sub-image (e.g., an image of the bottom layer or the 1 st and 3 rd layers), extract an image of a corresponding position of the first drawing image as a sub-image (an image formed by pixels in the corresponding position), extract an image of the first drawing image drawn in a corresponding time as a sub-image (e.g., an image drawn in the 10 th to 30 th seconds of the drawing image) or extract an image of a corresponding color value in the first drawing image as a sub-image (e.g., an image extracted with all green color values);
The drawing restoration method provided by the invention further comprises the following steps:
step S150: and matching the identifier of the first drawn image formed each time with the sample identifier in the identifier library, storing the identifier as the sample identifier in the identifier library under the condition of unsuccessful matching, and storing the first drawn image corresponding to the identifier in the image library.
The user can generate the restored drawing images after restoration, if each drawing image is stored, the storage pressure is increased, the embodiment of the invention matches the identifier of the drawing image with the sample identifier, knows whether the drawing image is stored or not through the matching result, stores the drawing image and stores the corresponding identifier in the identifier library only under the condition that the identifier of the drawing image is not successfully matched, and reduces the storage waste;
here, the identifier carried by the drawing image or the second drawing instruction is generated according to attribute information of each pixel in the first drawing image, and the method provided in the embodiment of the present invention further includes:
step S160: and when the attribute information of the pixels in the first drawing image is edited and modified, generating a new drawing image, wherein the new drawing image carries a new identifier.
When the drawn image is edited and modified, a new image is generated and simultaneously carries a new identifier, and the image with the new identifier can be subjected to corresponding operations such as storage, restoration or editing and modification;
the drawing restoration system provided by the embodiment of the invention can perform corresponding image restoration according to the individual requirements of the user, is convenient for a beginner to learn and review, continues drawing on the basis of the editable image generated by restoration, ensures the efficiency of drawing operation, and effectively improves the drawing capability of the beginner;
further, as shown in fig. 2, an embodiment of the present invention further provides a drawing reduction system, including:
the monitoring drawing unit 100 is configured to monitor a first drawing gesture of the object when the first drawing instruction is triggered, acquire and record attribute information of each pixel according to the first drawing gesture until a drawing end signal is acquired, and form a first drawing image, where the attribute information includes a coordinate point and a color value, and the coordinate point includes a time coordinate and a position coordinate;
and the restoring and drawing unit 200 is configured to restore the drawing process of each pixel according to the attribute information and newly form a first drawing image when the second drawing instruction is triggered, where the first drawing image is in an editable state.
Further, the second drawing instruction and the first drawing image carry an identifier, and the reduction drawing unit 200 is further configured to obtain the second drawing instruction, match the identifier in the second drawing instruction with the identifier of the first drawing image, and obtain each pixel corresponding to the first drawing image and the first drawing image that match the identifier in the second drawing instruction; and performing drawing reduction according to the attribute information corresponding to each pixel to reform the first drawing image.
Further, the drawing recovery system further includes a regeneration unit 300, configured to edit a first drawing image formed on the current page, trigger the first drawing instruction, monitor a second drawing gesture of the object, acquire and record attribute information of each pixel according to the second drawing gesture until a drawing end signal is acquired, and form a second drawing image on the current page, where the first drawing image and the second drawing image are presented on the current page at the same time.
Further, the drawing restoration system further includes an extraction unit 400, configured to separate and extract the subimage of the first drawing image according to the preset personality parameter, so that the subimage is restored when the second drawing instruction is triggered.
Further, the extracting unit 400 is further configured to separate a corresponding portion of the drawing image in the first drawing image according to the preset individual parameter, and extract the sub-image, so that when the second drawing instruction is triggered, the sub-image of the corresponding portion is restored from the first drawing image.
Further, the preset individual parameters include one or more of a preset layer, a preset time range, a preset image position range and a preset color value, and the extraction unit 400 is further configured to extract a sub-image with a layer consistent with the preset layer from the first drawn image; extracting a sub-image from the first drawing image according to a preset time range, wherein the time coordinate of each pixel in the sub-image is in the preset time range; extracting a subimage from the first drawing image according to a preset image position range, wherein the position coordinates of each pixel in the subimage are within the preset image position range; and extracting a sub-image with a color value consistent with a preset color value from the first drawing image.
Further, the drawing restoration system further includes a matching unit 500, configured to match an identifier of the first drawing image formed each time with a sample identifier in an identifier library, and in a case that matching is unsuccessful, store the identifier as the sample identifier in the identifier library, and store the first drawing image corresponding to the identifier in the image library.
Further, the identifier is generated according to the attribute information of each pixel in the first drawing image, and the drawing restoration system further includes a modification unit 600, configured to generate a new drawing image when the attribute information of the pixel in the first drawing image is edited and modified, where the new drawing image carries the new identifier.
The drawing restoration system provided by the embodiment of the invention has the same technical characteristics as the drawing restoration method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
The computer program product of the drawing restoration method and system provided in the embodiments of the present invention includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, which are not described herein again.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the system and the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
The embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program that is stored in the memory and can be run on the processor, and when the processor executes the computer program, the steps of the drawing restoration method provided in the above embodiment are implemented.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the drawing restoration method in the above embodiment are executed.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that the following descriptions are only illustrative and not restrictive, and that the scope of the present invention is not limited to the above embodiments: those skilled in the art can still make modifications or changes to the embodiments described in the foregoing embodiments, or make equivalent substitutions for some features, within the scope of the disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. A method for restoring a drawing, comprising:
step a: when a first drawing instruction is triggered, monitoring a first drawing gesture of an object, acquiring and recording attribute information of each pixel according to the first drawing gesture until a drawing end signal is acquired, and forming a first drawing image, wherein the attribute information comprises a coordinate point and a color value, and the coordinate point comprises a time coordinate and a position coordinate;
step b: when a second drawing instruction is triggered, restoring the drawing process of each pixel according to the attribute information, and reforming the first drawing image, wherein the first drawing image is in an editable state;
after step b, the method further comprises:
step c: editing the first drawing image formed on the current page, triggering a first drawing instruction, monitoring a second drawing gesture of an object, acquiring and recording attribute information of each pixel according to the second drawing gesture until a drawing end signal is acquired, and forming a second drawing image on the current page, wherein the first drawing image and the second drawing image are presented on the current page at the same time;
The second rendering instruction includes at least one identification, the method further comprising:
step d: associating the first drawing image with the second drawing image through the association relationship between the identifier of the first drawing image and the identifier of the second drawing image, so that the first drawing image and the second drawing image are reformed on the current page under the condition that the second drawing instruction is triggered;
prior to step a, the method further comprises:
step e: and separating and extracting the subimage of the first drawing image according to a preset individual parameter so as to restore the subimage when the second drawing instruction is triggered.
2. The drawing restoration method according to claim 1, wherein the second drawing instruction and the first drawing image carry an identifier, and the step b includes:
acquiring the second drawing instruction, matching an identifier in the second drawing instruction with an identifier of the first drawing image, and acquiring the first drawing image matched with the identifier in the second drawing instruction and each pixel corresponding to the first drawing image;
and performing drawing reduction according to the attribute information corresponding to each pixel to reform the first drawing image.
3. The plot restoration method of claim 1, wherein the step e further comprises:
and separating the corresponding part of the first drawing image according to a preset individual parameter, and extracting to obtain a subimage, so that the corresponding part of the subimage is restored from the first drawing image when the second drawing instruction is triggered.
4. The drawing restoration method according to claim 3, wherein the preset personality parameters include one or more of a preset map layer, a preset time range, a preset image position range and a preset color value, and the step of separating the corresponding part of the first drawn image according to the preset personality parameters and extracting the sub-image includes:
extracting the subimages of which the layers are consistent with the preset layers from the first drawing image;
extracting the subimage from the first drawing image according to the preset time range, wherein the time coordinate of each pixel in the subimage is within the preset time range;
extracting the subimage from the first drawing image according to the preset image position range, wherein the position coordinates of each pixel in the subimage are in the preset image position range;
And extracting the sub-image of which the color value is consistent with the preset color value from the first drawing image.
5. The plot restoration method of claim 2, further comprising:
step f: and matching the identifier of the first drawing image formed each time with a sample identifier in an identifier library, storing the identifier as the sample identifier in the identifier library under the condition of unsuccessful matching, and storing the first drawing image corresponding to the identifier in an image library.
6. The drawing restoration method according to claim 2, wherein the identifier is generated from attribute information of each pixel in the first drawing image, the method further comprising:
step g: and when the attribute information of the pixel in the first drawing image is edited and modified, generating a new drawing image, wherein the new drawing image carries a new identifier.
7. A plot restoration system, comprising:
the monitoring drawing unit is used for monitoring a first drawing gesture of an object when a first drawing instruction is triggered, acquiring and recording attribute information of each pixel according to the first drawing gesture until a drawing ending signal is acquired, and forming a first drawing image, wherein the attribute information comprises a coordinate point and a color value, and the coordinate point comprises a time coordinate and a position coordinate;
The restoration drawing unit is used for restoring the drawing process of each pixel according to the attribute information and newly forming the first drawing image when a second drawing instruction is triggered, wherein the first drawing image is in an editable state;
the system also comprises a regeneration unit, a first drawing unit and a second drawing unit, wherein the regeneration unit is used for editing a first drawing image formed on the current page, triggering a first drawing instruction, monitoring a second drawing gesture of an object, acquiring and recording attribute information of each pixel according to the second drawing gesture until a drawing end signal is acquired, and forming a second drawing image on the current page, wherein the first drawing image and the second drawing image are presented on the current page at the same time;
the system further comprises an association unit, wherein the first drawing image and the second drawing image are associated through the association relationship between the identifier of the first drawing image and the identifier of the second drawing image, so that the first drawing image and the second drawing image are reformed on the current page under the condition that the second drawing instruction is triggered;
the restoring drawing unit is also used for separating and extracting the subimage of the first drawing image according to a preset individual parameter before the first drawing instruction is triggered so as to restore the subimage when the second drawing instruction is triggered.
CN201810494341.7A 2018-05-21 2018-05-21 Drawing reduction method and system Active CN108711179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810494341.7A CN108711179B (en) 2018-05-21 2018-05-21 Drawing reduction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810494341.7A CN108711179B (en) 2018-05-21 2018-05-21 Drawing reduction method and system

Publications (2)

Publication Number Publication Date
CN108711179A CN108711179A (en) 2018-10-26
CN108711179B true CN108711179B (en) 2022-07-19

Family

ID=63868568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810494341.7A Active CN108711179B (en) 2018-05-21 2018-05-21 Drawing reduction method and system

Country Status (1)

Country Link
CN (1) CN108711179B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111967114B (en) * 2020-08-17 2024-02-02 深圳市安冠科技有限公司 Drawing method of equipment wiring diagram

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1393000A (en) * 2000-10-10 2003-01-22 索尼计算机娱乐公司 Data processing system and method, computer program, and recorded medium
CN1797498A (en) * 2004-12-30 2006-07-05 英业达股份有限公司 Interaction type multimedia drawing teaching system and method in use for applying to digital TV
CN102722373A (en) * 2012-06-01 2012-10-10 厦门游家网络有限公司 Method for recording painting process of a player by Flash painting software
CN103034439A (en) * 2012-11-30 2013-04-10 广东欧珀移动通信有限公司 Method and device for generating drawing file
JP2013250946A (en) * 2012-06-04 2013-12-12 Canon Inc Image processing apparatus, and image processing method and program
CN103677828A (en) * 2013-12-10 2014-03-26 华为技术有限公司 Coverage drawing method, drawing engine and terminal equipment
CN103903247A (en) * 2012-12-26 2014-07-02 北京谊安医疗系统股份有限公司 Image rendering method and system
CN104572125A (en) * 2015-01-28 2015-04-29 中国农业银行股份有限公司 Methods and devices for drawing and storing entity relation diagrams
CN104834459A (en) * 2014-02-07 2015-08-12 奥多比公司 Providing drawing assistance using feature detection and semantic labeling
CN105068727A (en) * 2015-08-18 2015-11-18 百度在线网络技术(北京)有限公司 Realization method and device for drawing tool
CN105302445A (en) * 2015-11-12 2016-02-03 小米科技有限责任公司 Graphical user interface drawing method and device
CN105677282A (en) * 2016-01-29 2016-06-15 腾讯科技(深圳)有限公司 Image drawing method, user equipment, server and system
CN106302953A (en) * 2015-05-21 2017-01-04 中兴通讯股份有限公司 Coupling verification method, device and the equipment of a kind of terminal
CN106775429A (en) * 2017-03-08 2017-05-31 青岛海信电器股份有限公司 A kind of method and apparatus based on setting-out storage on touch-screen

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101503041B (en) * 2008-12-11 2012-04-18 陈国文 Production of stencil plate as well as construction method for producing flat colored drawing pattern and three-dimensional colored drawing relief sculpture on surface of object
CN106569801B (en) * 2016-10-18 2020-04-10 中国运载火箭技术研究院 Configuration display and control system based on complex parameters

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1393000A (en) * 2000-10-10 2003-01-22 索尼计算机娱乐公司 Data processing system and method, computer program, and recorded medium
CN1797498A (en) * 2004-12-30 2006-07-05 英业达股份有限公司 Interaction type multimedia drawing teaching system and method in use for applying to digital TV
CN102722373A (en) * 2012-06-01 2012-10-10 厦门游家网络有限公司 Method for recording painting process of a player by Flash painting software
JP2013250946A (en) * 2012-06-04 2013-12-12 Canon Inc Image processing apparatus, and image processing method and program
CN103034439A (en) * 2012-11-30 2013-04-10 广东欧珀移动通信有限公司 Method and device for generating drawing file
CN103903247A (en) * 2012-12-26 2014-07-02 北京谊安医疗系统股份有限公司 Image rendering method and system
CN103677828A (en) * 2013-12-10 2014-03-26 华为技术有限公司 Coverage drawing method, drawing engine and terminal equipment
CN104834459A (en) * 2014-02-07 2015-08-12 奥多比公司 Providing drawing assistance using feature detection and semantic labeling
CN104572125A (en) * 2015-01-28 2015-04-29 中国农业银行股份有限公司 Methods and devices for drawing and storing entity relation diagrams
CN106302953A (en) * 2015-05-21 2017-01-04 中兴通讯股份有限公司 Coupling verification method, device and the equipment of a kind of terminal
CN105068727A (en) * 2015-08-18 2015-11-18 百度在线网络技术(北京)有限公司 Realization method and device for drawing tool
CN105302445A (en) * 2015-11-12 2016-02-03 小米科技有限责任公司 Graphical user interface drawing method and device
CN105677282A (en) * 2016-01-29 2016-06-15 腾讯科技(深圳)有限公司 Image drawing method, user equipment, server and system
CN106775429A (en) * 2017-03-08 2017-05-31 青岛海信电器股份有限公司 A kind of method and apparatus based on setting-out storage on touch-screen

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"一种基于Unity3D+Vuforia的增强现实交互App的开发";徐敏等;《现代计算机(专业版)》;20160425(第12期);71-75 *

Also Published As

Publication number Publication date
CN108711179A (en) 2018-10-26

Similar Documents

Publication Publication Date Title
CN107862315B (en) Subtitle extraction method, video searching method, subtitle sharing method and device
CN111013150B (en) Game video editing method, device, equipment and storage medium
CN103177475A (en) Method and system for showing streetscape maps
CN108319484B (en) Application page processing method and device and storage medium
WO2016078298A1 (en) Screenshot image output method and device, and storage medium
CN112950738B (en) Rendering engine processing method and device, storage medium and electronic equipment
CN111182359A (en) Video preview method, video frame extraction method, video processing device and storage medium
CN108711179B (en) Drawing reduction method and system
CN111214829A (en) Teaching method, electronic equipment and storage medium
CN108211363B (en) Information processing method and device
CN111640169A (en) Historical event presenting method and device, electronic equipment and storage medium
CN109523613B (en) Data processing method, data processing device, computer readable storage medium and computer equipment
CN106710372A (en) Pinyin card identification method, device and terminal device
US20240033626A1 (en) Game plot interaction method, apparatus, and system
CN108093249A (en) A kind of image processing method and device
JP2016036106A (en) Information processing apparatus, information processing method and program
CN109636875B (en) Graph drawing method, device and storage medium
CN110665227B (en) Data processing method and device for indicating user operation and game auxiliary equipment
CN113209626B (en) Game picture rendering method and device
CN105900413A (en) Image processing program, display program, image processing method, display method, image processing device, and information processing device
CN114020962A (en) Video system management method, electronic device, and computer-readable storage medium
CN111225147A (en) Video shooting control method and device, storage medium and shooting equipment
CN107291473B (en) Wallpaper setting method and device
CN106713927B (en) A kind of image output device, method and decoder
CN114065903A (en) Parameter reuse method and device of deep learning model, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220615

Address after: 310000 Zhejiang three Xihu District Town, Hangzhou Province, 3 people's 802 rooms.

Applicant after: Hangzhou multi Technology Education Technology Co.,Ltd.

Address before: No. 30, West 39th lane, Qinggong Road, Xin'an Town, Xuzhou City, Jiangsu Province, 221000

Applicant before: Zhang Zongliang

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant