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

Inactive Publication Date: 2014-04-16
深圳市云宙多媒体技术有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to propose a rendering method for color image drawing lines, aiming to solve the pro

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Rendering method and device for color image line drawing
  • Rendering method and device for color image line drawing
  • Rendering method and device for color image line drawing

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a rendering method for color image line drawing. The rendering method comprises the steps of obtaining an image A, conducting normalization processing on the image A to obtain an image A1, conducting graying processing on the image A1 to obtain an image a, conducting Gaussian blur on the image a to obtain an image b, combining the image a with the image b to obtain an image c, conducting enhancement processing on the image c to obtain an image B, and outputting the image B. The image processed by the rendering method is strong in edge layering, has high artistry, does not have the invalid black patch effect and can achieve the rendering effect in real time. The basic line drawing method is provided for subsequent unreality feeling rendering processing by wax pencils, pencil drawings, watercolors and the like.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a color image drawing line rendering method and device. Background technique [0002] Non-photorealistic rendering is a new research field combining computer technology and painting art. Different from traditional realistic graphics rendering, non-photorealistic graphics rendering does not seek to generate images similar to photos, but expresses rendering by omitting details irrelevant to graphics, simplifying the shape of objects, and even exposing hidden details the intention of the author. In the process of non-photorealistic rendering, line drawing processing is required in the early stage to extract the necessary outlines from the image. [0003] The traditional line drawing method has poor edge layering, and the outline is not clear enough. At the same time, there are a large number of blocky and invalid black areas in the dark area, which completely affects the subsequent...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06T5/00G06T5/50
Inventor 秦文礼
Owner 深圳市云宙多媒体技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products