Sketch image generation method, terminal, and computer readable storage medium
An image generation and sketching technology, which is applied in the field of image processing and can solve problems such as the inability to obtain sketch images with realistic sketch effects.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0074] In daily life, in order to make images have different artistic styles, people usually process the images through the terminal to stylize the images to generate images with artistic effects, such as generating images with a sketch style. In order to make the generated images have Sketch-style images are more realistic and closer to real sketch images in real life. This embodiment provides a new method for generating sketch images. Please refer to image 3 shown, including:
[0075] S301: Acquire a grayscale image to be converted into a sketch image.
[0076] The grayscale image in step S301 may be directly selected by the user. For example, the user may select any grayscale image locally or in the network as the grayscale image to be converted into a sketch image in step S301.
[0077] It should be noted that, in some embodiments, the grayscale image in step S301 may also be automatically generated by the terminal according to the color image selected by the user, see ...
no. 2 example
[0112] In order to better understand the solution provided by this embodiment, this embodiment provides a more specific sketch image generation method, which is applied to a terminal, wherein a real sketch image N and a sketch background image M are pre-stored on the terminal, and the sketch The background image is a real sketch background image, and the real sketch image can be found in Figure 7 As shown, the sketch background image can be as Image 6 shown. It should be noted that the real sketch image N in this embodiment can be generated according to the sketch image drawn on the paper in real life, and similarly, the real sketch background image M in this embodiment can be generated according to the drawing in real life Generated from sketch texture images on paper.
[0113] The sketch image generation method provided in this embodiment can be found in Figure 8 shown, including:
[0114] S801: Acquire a color image I to be converted into a sketch image.
[0115] Th...
no. 3 example
[0132] This embodiment provides a terminal, please refer to Figure 9 As shown, it includes a processor 901, a memory 902, and a communication bus 903, wherein the communication bus 903 is used to realize connection and communication between the processor 901 and the memory 902, and the processor 901 is used to execute one or more programs stored in the memory 902. A program to realize the steps of any sketch image generating method as described above.
[0133] This embodiment also provides a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, and the one or more programs can be executed by one or more processors to realize any of the sketches described above. Steps of the image generation method.
[0134] The terminal and the computer-readable storage medium provided in this embodiment obtain the grayscale image to be converted into a sketch image, and perform image edge detection on the grayscale image to obtain a...
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