Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 problems of poor edge layering, unclear outlines, and a large number of blocky and invalid black areas in dark areas in the prior art line drawing methods

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

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

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products