Rendering method and device for color image line drawing
A color image and image technology, applied in the field of color image drawing line rendering method and device, can solve the problems of insufficient outline and poor edge layering, and achieve the effect of strong image edge layering and strong artistic sense
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] figure 1 It is a flow chart of a rendering method for drawing a color image in a preferred embodiment of the present invention; the method includes the following steps:
[0043] S101, acquire image A;
[0044] S102, performing normalization processing on image A to obtain image A1;
[0045] S103, performing grayscale processing on image A1 to obtain image a;
[0046] a(i,j)=0.299*A 1 (i,j) R +0.587*A 1 (i,j) G +0.114*A 1 (i,j) B ;
[0047] Among them: divide the image into rows and columns according to pixels, i is the i-th row of each image; j is the j-th column of each image; A 1 (i,j) R is the red component value of the pixel (i,j) of image A1, A 1 (i,j) G is the green component value of the (i,j) point pixel of image A1, A 1 (i,j) B is the (i, j) point pixel blue component value of image A1; a(i, j) is the (i, j) point pixel value of image a;
[0048] S104, performing Gaussian blur on image a to obtain image b;
[0049] The size of the Gaussian blur ...
Embodiment 2
[0062] figure 2 It is a structural diagram of a color image drawing line rendering device in a preferred embodiment of the present invention; the device includes:
[0063] Image acquisition module, used to acquire image A;
[0064] A normalization processing module, for performing normalization processing on the image A to obtain the image A1;
[0065] A grayscale processing module, configured to perform grayscale processing on the image A1 to obtain an image a;
[0066] a(i,j)=0.299*A 1 (i,j) R+0.587*A 1 (i,j) G +0.114*A 1 (i,j) B ;
[0067] Among them: divide the image into rows and columns according to pixels, i is the i-th row of each image; j is the j-th column of each image; A 1 (i,j) R is the red component value of the pixel (i,j) of image A1, A 1 (i,j) G is the green component value of the (i,j) point pixel of image A1, A 1 (i,j) B is the (i, j) point pixel blue component value of image A1; a(i, j) is the (i, j) point pixel value of image a;
[0068] Th...
Embodiment 3
[0082] image 3 It is a flow chart of a rendering method for drawing a color image in a preferred embodiment of the present invention; the method includes the following steps:
[0083] S301, acquire image A;
[0084] S302, performing grayscale processing on image A to obtain image a 1 ;
[0085] a 1 (i,j)=0.299*A(i,j) R +0.587*A(i,j) G +0.114*A(i,j) B ;
[0086] Among them: divide the image into rows and columns according to pixels, 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 blue component value of the (i,j) point pixel of image A; a 1 (i, j) is the image a 1 The (i, j) point pixel value;
[0087] S303, for image a 1 Perform Gaussian blur to get image b 1 ;
[0088] The size of the Gaussian blur template is 5×5, the variance σ=1.5, and the template is as follows:
[0089] ...
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