Pencil sketch simulating method based on edge tangent stream
An edge tangent flow, pencil pixel technology, applied in 2D image generation, image data processing, instruments, etc., can solve the problem of not being able to automatically identify background and foreground, etc., to achieve the effect of enhancing stereoscopic and light-dark contrast relationship
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] see figure 1 , a simulated pencil sketch method based on edge tangent flow, the specific operation steps are as follows:
[0036] (1) Preprocess the original image: it is divided into bilateral filtering processing and generating white noise map;
[0037] (2) Constructing the structure vector field: On the basis of the gradient field, the edge tangent flow is calculated, and the area with no obvious brightness change is extracted, and the stroke direction of this area is set to 45°±5° to remove the eddy current.
[0038] (3) Generate pencil texture layer: Perform line integral convolution processing on the white noise map and the structure vector field to generate a pencil texture layer.
[0039] (4) Generate pencil sketch: On the basis of the structure vector field, rotate the stroke direction 90° counterclockwise, and use the line integral convolution algorithm to generate the background texture layer. Overlay this layer with the pencil texture layer, and adjust the...
Embodiment 2
[0041] see Figure 2-Figure 7 , this embodiment is basically the same as the first embodiment, and is described as follows in conjunction with the accompanying drawings:
[0042]The preprocessing of the original image in the step (1) is mainly divided into two parts: (1) bilateral filter processing, (2) generating a white noise map, such as figure 2 , image 3 shown.
[0043] A structure vector field is constructed in the step (2), and a line integral convolution algorithm is used in the step (3) to generate a pencil texture layer, such as Figure 4 , Figure 5 shown.
[0044] The generation pencil sketch drawing of described step (4), as Image 6 , Figure 7 shown.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com