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
Example Embodiment
[0041] Example one
[0042] figure 1 It is a flowchart of a rendering method for color image extraction in a preferred embodiment of the present invention; the method includes the following steps:
[0043] S101, obtain image A;
[0044] S102: Perform normalization processing on image A to obtain image A1;
[0045] S103: Perform gray-scale 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 (i, j) point pixel red component value of image A1, A 1 (i,j) G Is the green component value of pixel (i, j) of image A1, A 1 (i,j) B Is the blue component value of the pixel (i, j) of image A1; a(i, j) is the pixel value of (i, j) of image a;
[0048] S104: Perform Gaussian blur on image a to obtain image b;
[0049] The size of the Gaussian blur template is 5×5, and the var...
Example Embodiment
[0061] Example two
[0062] figure 2 It is a structural diagram of a rendering device for drawing a color image according to a preferred embodiment of the present invention; the device includes:
[0063] Image acquisition module for acquiring image A;
[0064] The normalization processing module is used to normalize the image A to obtain the image A1;
[0065] The gray-scale processing module is used to perform gray-scale processing on image A1 to obtain 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 (i, j) point pixel red component value of image A1, A 1 (i,j) G Is the green component value of pixel (i, j) of image A1, A 1 (i,j) B Is the blue component value of the pixel (i, j) of image A1; a(i, j) is the pixel value of (i, j) of image a;
[0068] The Gaussian blur module is used to pe...
Example Embodiment
[0081] Example three
[0082] image 3 It is a flowchart of a rendering method for color image extraction in a preferred embodiment of the present invention; the method includes the following steps:
[0083] S301: Obtain image A;
[0084] S302: Perform 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 (i,j) point pixel red component value of image A, A(i,j) G Is the green component value of pixel (i,j) of image A, A(i,j) B Is the (i, j) point pixel blue component value of image A; a 1 (i,j) is image a 1 (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, and the variance σ=1.5. The template is as follows:
[0089] M = 0.0144 0.0281 0.0351 0.028...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap