A non-photorealistic rendering method and device in watercolor style
A non-realistic and stylized technology, applied in 2D image generation, image data processing, instruments, etc., can solve the problems of inaccurate edge extraction, unclear outline, and delineation, etc., to achieve clear line outline, clear color, calculation fast effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] figure 1 It is a flow chart of a watercolor-style non-realistic rendering method in a preferred embodiment of the present invention; the method includes the following steps:
[0032] S101, acquire image A',
[0033] S102, performing normalization processing on image A' to obtain image A;
[0034] S103, performing grayscale processing on image A to obtain image a;
[0035] a(i,j)=0.299*A(i,j) R +0.587*A(i,j) G +0.114*A(i,j) B ;
[0036] Among them: i is the i-th row of each image; j is the j-th column of each image; A(i,j) R is the red component value of the pixel (i,j) of image A, A(i,j) G is the green component value of the pixel (i,j) of image A, A(i,j) B Be the (i, j) point pixel blue component value of image A; a(i, j) is the (i, j) point pixel value of image a; S104, Gaussian blur is performed on image a to obtain image b;
[0037] The size of the Gaussian blur template is 5×5, the variance σ=1.5, and the template is as follows:
[0038]
[0039] Use t...
Embodiment 2
[0055] figure 2 It is a structural diagram of a watercolor-style non-realistic rendering device in a preferred embodiment of the present invention, and the device includes:
[0056] Image acquisition module, used to acquire image A',
[0057] A normalization processing module, used to perform normalization processing on the image A' to obtain the image A;
[0058] A grayscale processing module, configured to perform grayscale processing on image A to obtain image a;
[0059] a(i,j)=0.299*A(i,j) R +0.587*A(i,j) G+0.114*A(i,j) B ;
[0060] Among them: i is the i-th row of each image; j is the j-th column of each image; A(i,j) R is the red component value of the pixel (i,j) of image A, A(i,j) G is the green component value of the pixel (i,j) of image A, A(i,j) B is the (i, j) point pixel blue component value of image A; a(i, j) is the (i, j) point pixel value of image a;
[0061] The Gaussian blur module is used to perform Gaussian blur on the image a to obtain the imag...
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