Picture synthesis method of intelligent drawing board
A synthesis method and a drawing board technology, applied in the field of drawing, can solve the problems that the display terminal cannot display a real drawing sense, the function is single, and the curve is not smooth enough.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0027] A method for synthesizing pictures on an intelligent drawing board, comprising the following steps:
[0028] 1) Create the hierarchical structure of the smart drawing board. The hierarchical structure of the smart drawing board is the drawing board view layer, the background layer, the composite view layer and the painting view layer from bottom to top. The background layer is used to display the background image.
[0029] 2) Use the Bezier path to record the path drawn on the painting view layer, generate a picture from the path, and display the picture on the painting view layer;
[0030] 3) After the drawing is completed, the picture on the drawing view layer is transferred to the composite view layer for buffering, and the drawing view layer deletes the Bezier path record on it and restores the initial state;
[0031] 4) Composite the cached pictures on the composite view layer with the pictures on the background layer and generate a picture album on the painting vi...
Embodiment 2
[0034] Optimize on the basis of Example 1. In step 2), after the painting view layer is restored to the initial state, record the Bezier path of the secondary painting again and generate the image secondary, and pass the secondary generated image to the synthetic view Cache on the layer, remove the Bezier path record on the painting view layer, and restore the original state again.
[0035] During the drawing process, the painter draws on the drawing view layer, the Bezier path records the drawing path on the drawing view layer, generates a picture from the path, and passes the picture to the composite view layer for cache, and the drawing view layer is eliminated Record the Bezier path on it and restore the initial state. After the painting view layer restores the initial state, record the Bezier path of the secondary painting again and generate the picture again, and pass the secondary generated picture to the synthetic view layer for caching , synthesize the photos cached t...
Embodiment 3
[0037] Optimizing on the basis of embodiment 2, the path of described Bezier path record drawing comprises the following concrete steps:
[0038] 1) The drawing view layer collects the coordinate points of the user's sliding track;
[0039] 2) When the 5th point is collected, reset the value of the 4th point: the x-coordinate of the 4th point is set to the average value of the x-coordinate of the 3rd point and the x-coordinate of the 5th point, the 4th point The y coordinate of a point is set to the average of the y coordinates of the 3 points and the y coordinate of the fifth point;
[0040] 3) With the first point as the starting point, the fourth point as the end point, and the second and third points as control points, draw a quadratic Bezier curve;
[0041] 4) Set the coordinates of the first point to be processed next time as the coordinates of the fifth point this time, and add 1 to the collection number;
[0042] 5) Repeat step 2 until all coordinate points are proce...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com