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

Generation method of computer oil painting and system thereof

A computer and oil painting technology, applied in the field of image processing, can solve the problems of complex redundancy and insufficient realization efficiency, and achieve the effect of high realization efficiency and simple method.

Active Publication Date: 2012-07-11
WONDERSHARE TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a method for generating computer oil paintings that is simple in method and high in realization efficiency in view of the defects that the above-mentioned computer oil painting generation methods in the prior art are too complicated and redundant, and the realization efficiency is not high enough

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
  • Generation method of computer oil painting and system thereof
  • Generation method of computer oil painting and system thereof
  • Generation method of computer oil painting and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] Such as figure 1 As shown, in the flow chart of Embodiment 1 of the computer oil painting generation method of the present invention, the generation method includes:

[0055] S1. Receive the source image to be processed, and judge whether the source image is a color image or a grayscale image, if it is a color image, then perform step S2; if it is a grayscale image, then perform step S3;

[0056] S2. Convert the color image into a grayscale image;

[0057] S3. Taking sampling points in a grid manner on the gray scale image, and making random offsets to the sampling points;

[0058] S4. Based on the gray value of the sampling point, calculate the gradient at the sampling point using an edge operator in the horizontal direction and an edge operator in the vertical direction;

[0059] S5. Calculate the stroke direction according to the calculated gradient;

[0060] S6. Take the sampling point as the center and take the pixels in the 3*3 neighborhood as a window, and use...

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 generation method of a computer oil painting and a system thereof. The generation method comprises the following steps: receiving a source image to be processed, determining whether the source image is a color image or a grey-scale image, and if the source image is the color image, converting the color image into the grey-scale image; taking a sampling point in a grid mode on the grey-scale image, and carrying out random offset on the sampling point; using an edge operator in a horizontal direction and an edge operator in a vertical direction to calculate a gradient at the sampling point; calculating a stroke direction; using an edge operator in a 45 DEG direction and an edge operator in a 135 DEG direction to calculate edge intensity in a window; determining a stroke radius; taking a pixel value of a corresponding position of the sampling point on the source image as a pixel value of a present brush; drafting the sampling point according to the stroke direction, the stroke radius and the pixel value of the present brush. By enforcing a technical scheme of the invention, when using a computer to generate the oil painting, the method is simple, and efficiency of realization is high.

Description

technical field [0001] The invention relates to image processing technology, in particular to a computer oil painting generation method and system. Background technique [0002] Oil painting is a kind of image stylization. In reality, oil painting is a form of artistic expression that emphasizes the layering and texture effects of the brushstrokes of the depicted scenery, and has strong expressive force and rich color changes. Creating oil paintings by hand requires the author to have a certain art background and artistic creation ability, so computer simulation to generate oil paintings has important application and entertainment value. However, the generation methods of computer oil paintings are too complicated and redundant, and the realization efficiency is not high enough. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a method for generating computer oil paintings, which is simple in method and high in i...

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): G06T3/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