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

Method and system for generating computer sketch images

A computer and sketching technology, applied in the field of image processing, can solve the problems of requiring manual interaction and poor sketching effect, and achieve the effect of good sketching effect, high realization efficiency and simple generation process.

Active Publication Date: 2013-06-12
WONDERSHARE TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a method for generating computer sketches, which has good sketch effects and does not require manual interaction, in view of the shortcomings of the above-mentioned existing sketch generation technology that the sketch effect is not good and manual interaction is required operate

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
  • Method and system for generating computer sketch images
  • Method and system for generating computer sketch images
  • Method and system for generating computer sketch images

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] like figure 1 As shown, in the flow chart of the embodiment of the computer sketch generation method of the present invention, the generation method includes steps S1-S6, which will be described in detail below.

[0044] In step S1, an image to be processed is received, and it is determined whether the image is a color image or a grayscale image, and if it is a color image, then step S2 is performed; if it is a grayscale image, then step S3 is performed. In step S2, the color image is converted into a grayscale image. In one example, the color image can be converted into a grayscale image according to the following formula:

[0045] Y1=0.299*R+0.587*G+0.114*B

[0046] Among them, Y1 is the gray value of the current pixel of the grayscale image, and R, G, and B are the color values ​​of the red, green, and blue channels of the current pixel of the color image, respectively. It should be noted here that the image processing in this application is performed pixel by pixe...

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

Disclosed are a method and system for generating a computer sketch image, the method comprising: S1, receiving an image to be processed, and judging whether the image is a color image or a gray scale image, if the image is a color image, then executing step S2, and if the image is a gray scale image, then executing step S3; S2, converting the color image into a gray scale image; S3, setting the gray scale image as a background image layer; S4, reversing the phase of the gray scale image to obtain a reverse phase image; S5, performing minimum gray scale expansion processing on the reverse phase image, and setting the image having undergone the expansion processing as a foreground image layer; S6, blending the foreground image layer with the background image layer to obtain a sketch image. The sketch image generated by the technical solution of the present invention has a good sketch effect, eliminating the need for manual interactive operation during the entire generation process.

Description

technical field [0001] The invention relates to image processing technology, in particular to a method and system for generating computer sketches. Background technique [0002] Sketch is a kind of image stylization. In reality, sketch is an art form that uses pencil as a medium to express or scenery with lines. Sketch can be divided into line structure drawing and fine realistic sketch. Creating sketches by hand requires the author to have certain art skills, so computer simulation to generate sketches has important application and entertainment value. [0003] At present, in some image software, there is a sketch generation function, such as Photoshop's sketch filter, but the sketch effect generated by the sketch filter operation that comes with Photoshop is not good. Another method is to first use the edge detection operator to extract the contour map of the image, then manually adjust the local edge detection parameters in the sliding window to correct the contour, and...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06T11/00
CPCG06T11/00
Inventor 李云夕黄静谢军波
Owner WONDERSHARE TECH CO LTD
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