Method and device for generating pencil drawing style image
A pencil drawing and image technology, applied in the field of image processing, can solve the problems of time-consuming design, unable to meet automatic generation, and pencil drawing is not universal, and achieves the effect of small amount of calculation, full integration of cartoon interest, and improved processing speed.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0048] In one embodiment, such as figure 1 As shown, a method of generating a pencil drawing style image, including:
[0049] Step S102, acquiring an original image.
[0050] The original image is the image to which the pencil-drawing-style artistic effect needs to be added. In one embodiment, the photographing event of the smart terminal can be monitored, and when the photographing event of the smart terminal is captured, the photographed photo is automatically obtained as the original image.
[0051] Step S104, performing grayscale processing on the original image to generate a grayscale image.
[0052] Grayscale processing is the process of making the RGB components of a color image equal.
[0053] In one embodiment, according to the formula:
[0054] p(i,j)=0.299×r(i,j)+0.587×g(i,j)+0.114×b(i,j)
[0055] Calculate the grayscale value corresponding to the pixel in the original image to generate a grayscale image. Where p(i,j) is the gray value at pixel point (i,j), r(...
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