CN104463847A - Ink and wash painting characteristic rendering method - Google Patents

Ink and wash painting characteristic rendering method Download PDF

Info

Publication number
CN104463847A
CN104463847A CN201410614969.8A CN201410614969A CN104463847A CN 104463847 A CN104463847 A CN 104463847A CN 201410614969 A CN201410614969 A CN 201410614969A CN 104463847 A CN104463847 A CN 104463847A
Authority
CN
China
Prior art keywords
ink
image
wash
characteristic
rice paper
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410614969.8A
Other languages
Chinese (zh)
Inventor
梁凌宇
金连文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
South China University of Technology SCUT
Original Assignee
South China University of Technology SCUT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by South China University of Technology SCUT filed Critical South China University of Technology SCUT
Priority to CN201410614969.8A priority Critical patent/CN104463847A/en
Publication of CN104463847A publication Critical patent/CN104463847A/en
Pending legal-status Critical Current

Links

Classifications

    • G06T3/04
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection

Abstract

The invention provides an ink and wash painting characteristic rendering method. The ink and wash painting characteristic rendering method is characterized by including the following steps: (1) carrying out feature extraction, wherein main line features and luminance features of objects in an original image are extracted and serve as input of ink and wash painting characteristic diffusion; (2) carrying out the ink and wash painting characteristic diffusion, wherein the main line features and the luminance features in the step (1) serve as the input, pixel value information at the main shape portions of the objects are spread to adjacent areas by solving a weighted least square estimate formula, and therefore the ink and wash painting characteristic diffusing effect is generated; (3) generating a Chinese art paper background, wherein the image background with the Chinese art paper grain characteristics is generated in the rendered image; (4) carrying out image synthesis, wherein the Chinese art paper background extracted in the step (3) and the ink and wash painting characteristic diffusing effect in the step (2) are synthesized, and a final ink and wash painting characteristic rendering image is obtained.

Description

A kind of ink and wash characteristic rendering intent
Technical field
The invention belongs to image recognition and process field, particularly relate to a kind of ink and wash characteristic rendering intent.
Background technology
Ink and wash is a kind of important oriental traditional artistic expression, and the artistic style of its uniqueness is subject to liking of many people.Ink and wash characteristic Rendering has practical application in many aspects such as planar design, cartoon making and digital entertainments.
At present, the technology major part that ink and wash characteristic is played up is the method based on paintbrush, user to the paintbrush assigned address built and parameters, fictionalizes the ink diffusion effect similar to real world by interactive interface in a computer, thus realizes ink and wash characteristic and play up.But, the method based on paintbrush generally needs hand drawing to specify paintbrush position exactly, for the domestic consumer lacking drawing professional knowledge, differs and realizes well surely.In addition, the interactive mode of hand drawing generally needs the more running time, uses and inconvenience for more complicated image.
To this, the ink and wash characteristic rendering intent based on image directly can generate ink and wash characteristic rendering effect according to true picture, from the angle of ease for use, have more advantage.But owing to simplifying the operation of user, the user profile that can utilize in render process can be less, therefore utilize the method based on image to realize ink and wash characteristic and play up and also have more challenge.Wherein, the generation of the simulation and ink and wash style that realize ink diffusion is two difficult points, and does not also have good solution based on the Rendering of image at present.
Summary of the invention
The object of the invention is to propose a kind of ink and wash characteristic Rendering, true picture can not only be directly utilized to produce the image with ink and wash style, simplify the user operation in render process, improve efficiency and the ease for use of ink and wash Rendering, and by proposing a kind of ink and wash characteristic diffusion technique based on image newly, produce the ink diffusion effect with different level of abstraction, range of scatter and dispersal pattern, improve the operability of ink and wash Rendering and enriched the rendering effect of ink and wash.
Technical scheme of the present invention is as follows:
(1) feature extraction: the principal moulding characteristic sum brightness extracting object in original image, and in this, as the input that ink and wash characteristic spreads;
(2) ink and wash characteristic diffusion: with the principal moulding characteristic sum brightness of step (1) for input, by solving a weighted least-squares formula, the pixel value Information Communication of object principal shape position to its adjacent domain, thus produce the effect of ink and wash characteristic diffusion;
(3) rice paper Background generation: produce the image background with rice paper texture feature in rendering image;
(4) Images uniting: the ink and wash diffusion effect in the rice paper background generated in step (3) and step (2) is synthesized, obtains final ink and wash characteristic rendering image.
In technique scheme, described step (1) feature extraction concrete steps are as follows:
(1-1) original image from RGB color space conversion to CIELAB color space, image is made up of a luminance channel and two Color Channels;
(1-2) use edge preserving smooth filter device to the smoothing process of luminance channel, sharpening result is image brightness properties;
(1-3) with edge detector, edge extracting is carried out to the luminance channel after edge preserving smoothing process, obtain the principal moulding feature of original image.
The concrete steps of described step (2) ink and wash characteristic diffusion are as follows:
(2-1) initial value spread using the principal moulding feature of original image as ink characteristic ;
(2-2) guidance feature spread using the image brightness properties extracted as ink and wash characteristic , to produce different diffusion effects at different regional areas;
(2-3) image with ink and wash characteristic diffusion effect is produced by solving following weighted least-squares formula :
Wherein: represent P for making functional obtain function during minimum value, z represents spatial domain, represent the influence degree that pixel exports image, its span is 0 to 1, the ink and wash characteristic diffusion effect image that representative exports, the initial value of the ink characteristic diffusion of representative input, symbol with representative function P couple respectively with the partial derivative to y direction, symbol with representative function G is to right respectively with the partial derivative to y direction, parameter get a little and non-vanishing number, its typical value is 0.0001, be used for avoiding denominator be 0 situation, parameter for positive number, be used for balancing the ratio of smooth item and data item, parameter span be generally [1.2,2.0].
The concrete steps of described step (3) rice paper Background generation are as follows:
(3-1) obtain the rice paper texture image with rice paper texture feature, this image from RGB color space conversion to CIELAB color space, obtain rice paper texture image and be made up of a luminance channel and two Color Channels;
(3-2) with the smoothing process of the luminance channel of edge preserving smooth filter device to rice paper texture image, sharpening result is the brightness layer of rice paper texture image;
(3-3) deduct brightness layer by the luminance channel of rice paper texture image, namely obtain the rice paper background image with rice paper grain details.
The concrete steps of described step (4) Images uniting are as follows:
(4-1) with the image with ink and wash characteristic diffusion effect be added with rice paper background image, obtain the luminance channel of composograph;
(4-2) using the Color Channel at CIELAB color space of two of rice paper texture image Color Channels as composograph;
(4-3) Color Channel of composograph is superposed with luminance channel, obtain composograph and play up output at CIELAB color space;
(4-4) be rgb space the results conversion of CIELAB color space, obtain final ink and wash characteristic rendering image.
Beneficial effect of the present invention and advantage comprise following some:
1. the present invention has wide practical use in professional domain and daily life, as Graphic Advertisement Design, photo post-processed, social networks application and digital entertainment etc.;
2. the present invention is without the need to special interactive device, the rendering effect of the Computer image genration ink and wash characteristic that can directly utilize common camera to obtain, the scope of application that tool is wider;
3. the present invention can automatically utilize true picture to produce ink and wash characteristic effect, without the need to the hand drawing of user, simple to operation;
4. ink and wash characteristic diffusion energy of the present invention produces the ink diffusion effect with different level of abstraction, range of scatter and dispersal pattern, improves the operability of ink and wash Rendering;
5. the present invention produces different ink and wash styles by different ink diffusion effect and the combination of rice paper background, has abundant ink and wash rendering effect.
Accompanying drawing explanation
Fig. 1 is system architecture diagram of the present invention;
Fig. 2 is in ink and wash characteristic diffusion (P), guidance feature the initial value of ink characteristic diffusion with ink and wash characteristic diffusion image design sketch; Wherein a1, a2 are original image, and b1, b2 are guidance feature, and c1, c2 are the initial value of ink characteristic diffusion, and d1, d2 are ink and wash characteristic diffusion image;
Fig. 3 is in rice paper Background generation (B), the design sketch of the luminance channel of rice paper texture image and the rice paper background image of brightness layer and generation; Wherein a is the luminance channel of rice paper texture image, and b is the brightness layer of rice paper texture image, and c is rice paper background image;
Fig. 4 is the design sketch that the rendering with water and ink of Images uniting (C) exports, and a is that the rendering with water and ink of object exports, and b is that the rendering with water and ink of face exports.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described further.
As shown in Figure 1, its concrete steps are as follows for system architecture diagram of the present invention:
(1) feature extraction (F): the principal moulding characteristic sum brightness extracting object in original image, and in this, as the input that ink and wash characteristic spreads;
(2) ink and wash characteristic diffusion (P): with the principal moulding characteristic sum brightness of step (1) for input, by solving a weighted least-squares formula, the pixel value Information Communication of object principal shape position to its adjacent domain, thus produce the effect of ink and wash characteristic diffusion;
(3) rice paper Background generation (B): produce the image background with rice paper texture feature in rendering image;
(4) Images uniting (C): the ink and wash diffusion effect in the rice paper background generated in step (3) and step (2) is synthesized, obtains final ink and wash characteristic rendering image.
The concrete steps of feature extraction of the present invention (F) are as follows:
(F-1) original image from RGB color space conversion to CIELAB color space, image is made up of a luminance channel and two Color Channels;
(F-2) use edge preserving smooth filter device to luminance channel smoothing process, sharpening result for image brightness properties, for two-sided filter, have:
Wherein, filtering core is , for pixel in image field pixel, parameter ( ) be used for controlling corresponding gaussian kernel size in filtering core;
(F-3) with Canny edge detector, edge extracting is carried out to the luminance channel after edge preserving smoothing process, obtain the principal moulding feature of original image.
The concrete steps of ink and wash characteristic diffusion (P) of the present invention are as follows:
(P-1) initial value spread using the principal moulding feature of original image as ink characteristic ; (as referring to fig. 2 c);
(P-2) guidance feature spread using the image brightness properties extracted as ink and wash characteristic (as shown in accompanying drawing 2b), to produce different diffusion effects at different regional areas;
(P-3) image with ink and wash characteristic diffusion effect is produced by solving following weighted least-squares formula (as shown in accompanying drawing 2d):
Wherein: represent P for making functional obtain function during minimum value, z represents spatial domain, represent the influence degree that pixel exports image, its span is 0 to 1, the ink and wash characteristic diffusion effect image that representative exports, the initial value of the ink characteristic diffusion of representative input, symbol with representative function P couple respectively with the partial derivative to y direction, symbol with representative function G is to right respectively with the partial derivative to y direction, parameter get a little and non-vanishing number, its typical value is 0.0001, be used for avoiding denominator be 0 situation, parameter for positive number, be used for balancing the ratio of smooth item and data item, parameter span be generally [1.2,2.0], as desirable ;
(P-4) for the weighted least-squares problem of step (P-3), according to the mathematical characteristic of model, can being converted into a matrix equation solve problems, wherein:
And .Here, subscript in representative image with individual pixel, represent pixel 4 neighborhoods;
(P-5) for the matrix equation in step (P-4), available conventional numerical computation method solves, and carries out successive ignition to solve as utilized conjugate gradient decent.
The concrete steps of rice paper Background generation (B) of the present invention are as follows:
(B-1) by directly taking real rice paper or obtaining rice paper texture image with algorithm synthesis , it from RGB color space conversion to CIELAB color space, make rice paper texture image by a luminance channel (as depicted in figure 3 a) and two Color Channels with composition;
(B-2) use edge preserving smooth filter device to the luminance channel of rice paper texture image smoothing process, sharpening result is rice paper texture image brightness layer (as shown in fig. 3b), for two-sided filter, have:
Wherein, filtering core is , for pixel in image field pixel, parameter ( ) be used for controlling corresponding gaussian kernel size in filtering core;
(B-3) by the luminance channel of rice paper texture image deduct brightness layer , namely obtain the rice paper background image with rice paper grain details , namely (as shown in accompanying drawing 3c).
The concrete steps of Images uniting of the present invention (C) are as follows:
(C-1) with the image with ink and wash characteristic diffusion effect with rice paper background image be added, obtain the luminance channel of composograph , namely ;
(C-2) two of rice paper texture image Color Channels with as the Color Channel at CIELAB color space of composograph, namely with ;
(C-3) the Color Channel of composograph with with with luminance channel superpose, obtain the output of CIELAB color space;
(C-4) be rgb space the results conversion of CIELAB color space, obtain final ink and wash characteristic rendering image , as shown in Figure 4.

Claims (5)

1. an ink and wash characteristic rendering intent, is characterized in that comprising following steps:
Feature extraction: the principal moulding characteristic sum brightness extracting object in original image, and in this, as the input that ink and wash characteristic spreads;
Ink and wash characteristic spreads: with the principal moulding characteristic sum brightness of step (1) for input, by solving a weighted least-squares formula, the pixel value Information Communication of object principal shape position to its adjacent domain, thus produce the effect of ink and wash characteristic diffusion;
Rice paper Background generation: produce the image background with rice paper texture feature in rendering image;
Images uniting: the ink and wash diffusion effect in the rice paper background generated in step (3) and step (2) is synthesized, obtains final ink and wash characteristic rendering image.
2. want the ink and wash characteristic rendering intent described in 1 according to right, it is characterized in that described step (1) feature extraction concrete steps are as follows:
(1-1) original image from RGB color space conversion to CIELAB color space, image is made up of a luminance channel and two Color Channels;
(1-2) use edge preserving smooth filter device to the smoothing process of luminance channel, sharpening result is image brightness properties;
(1-3) with edge detector, edge extracting is carried out to the luminance channel after edge preserving smoothing process, obtain the principal moulding feature of original image.
3. want the ink and wash characteristic rendering intent described in 1 according to right, it is characterized in that the concrete steps that described step (2) ink and wash characteristic spreads are as follows:
(2-1) initial value spread using the principal moulding feature of original image as ink characteristic ;
(2-2) guidance feature spread using the image brightness properties extracted as ink and wash characteristic ;
(2-3) image with ink and wash characteristic diffusion effect is produced by solving following weighted least-squares formula :
Wherein: symbol represent P for making functional obtain function during minimum value, z represents spatial domain, represent the influence degree that pixel exports image, its span is 0 to 1, the ink and wash characteristic diffusion effect image that representative exports, the initial value of the ink characteristic diffusion of representative input, symbol with representative function P couple respectively with the partial derivative to y direction, symbol with representative function G couple respectively with the partial derivative to y direction, parameter get a little and non-vanishing number, its typical value is 0.0001, be used for avoiding denominator be 0 situation, parameter for positive number, be used for balancing the ratio of smooth item and data item, parameter span be generally [1.2,2.0].
4. want the ink and wash characteristic rendering intent described in 1 according to right, it is characterized in that the concrete steps of described step (3) rice paper Background generation are as follows:
(3-1) obtain the rice paper texture image with rice paper texture feature, this image from RGB color space conversion to CIELAB color space, obtain rice paper texture image and be made up of a luminance channel and two Color Channels;
(3-2) with the smoothing process of the luminance channel of edge preserving smooth filter device to rice paper texture image, sharpening result is the brightness layer of rice paper texture image;
(3-3) deduct brightness layer by the luminance channel of rice paper texture image, namely obtain the rice paper background image with rice paper grain details.
5. want the ink and wash characteristic rendering intent described in 1 according to right, it is characterized in that the concrete steps of described step (4) Images uniting are as follows:
(4-1) with the image with ink and wash characteristic diffusion effect be added with rice paper background image, obtain the luminance channel of composograph;
(4-2) using the Color Channel at CIELAB color space of two of rice paper texture image Color Channels as composograph;
(4-3) Color Channel of composograph is superposed with luminance channel, obtain composograph and play up output at CIELAB color space;
(4-4) be rgb space the results conversion of CIELAB color space, obtain final ink and wash characteristic rendering image.
CN201410614969.8A 2014-08-05 2014-11-05 Ink and wash painting characteristic rendering method Pending CN104463847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410614969.8A CN104463847A (en) 2014-08-05 2014-11-05 Ink and wash painting characteristic rendering method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN2014103811200 2014-08-05
CN201410381120 2014-08-05
CN201410614969.8A CN104463847A (en) 2014-08-05 2014-11-05 Ink and wash painting characteristic rendering method

Publications (1)

Publication Number Publication Date
CN104463847A true CN104463847A (en) 2015-03-25

Family

ID=52909829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410614969.8A Pending CN104463847A (en) 2014-08-05 2014-11-05 Ink and wash painting characteristic rendering method

Country Status (1)

Country Link
CN (1) CN104463847A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820999A (en) * 2015-04-28 2015-08-05 成都品果科技有限公司 Method for converting natural image into ink and wash painting
CN107220962A (en) * 2017-04-07 2017-09-29 北京工业大学 A kind of image detecting method and device of tunnel crackle
CN109741408A (en) * 2018-11-23 2019-05-10 成都品果科技有限公司 A kind of image and video caricature effect real-time rendering method
CN113177997A (en) * 2021-04-25 2021-07-27 上海雷鸣文化传播有限公司 Method for realizing ink and wash effect rendering based on neural network graphic algorithm
CN117409127A (en) * 2023-12-15 2024-01-16 中国美术学院 Real-time ink fluid rendering method and device based on artificial intelligence

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040155904A1 (en) * 2001-08-01 2004-08-12 Microsoft Corporation Dynamic rendering of ink storkes with transparency
CN101038675A (en) * 2006-03-16 2007-09-19 腾讯科技(深圳)有限公司 Method and apparatus for implementing wash painting style
CN103218846A (en) * 2013-04-16 2013-07-24 西安理工大学 Ink painting simulation method of three-dimensional tree model
CN103778655A (en) * 2014-01-28 2014-05-07 西安理工大学 Color natural image calculation artifying method based on self-adaption ink painting spreading

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040155904A1 (en) * 2001-08-01 2004-08-12 Microsoft Corporation Dynamic rendering of ink storkes with transparency
CN101038675A (en) * 2006-03-16 2007-09-19 腾讯科技(深圳)有限公司 Method and apparatus for implementing wash painting style
CN103218846A (en) * 2013-04-16 2013-07-24 西安理工大学 Ink painting simulation method of three-dimensional tree model
CN103778655A (en) * 2014-01-28 2014-05-07 西安理工大学 Color natural image calculation artifying method based on self-adaption ink painting spreading

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LINGYU LIANG 等: "Facial Skin Beautification using Region-Aware Mask", 《2013 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS》 *
LINGYU LIANG 等: "Image-Based Rendering for Ink Painting", 《2013 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS》 *
李大锦 等: "水墨画笔触的快速渲染算法及其应用", 《计算机辅助设计与图形学学报》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820999A (en) * 2015-04-28 2015-08-05 成都品果科技有限公司 Method for converting natural image into ink and wash painting
CN104820999B (en) * 2015-04-28 2017-06-16 成都品果科技有限公司 A kind of method that natural image is converted into ink and wash style image
CN107220962A (en) * 2017-04-07 2017-09-29 北京工业大学 A kind of image detecting method and device of tunnel crackle
CN107220962B (en) * 2017-04-07 2020-04-21 北京工业大学 Image detection method and device for tunnel cracks
CN109741408A (en) * 2018-11-23 2019-05-10 成都品果科技有限公司 A kind of image and video caricature effect real-time rendering method
CN113177997A (en) * 2021-04-25 2021-07-27 上海雷鸣文化传播有限公司 Method for realizing ink and wash effect rendering based on neural network graphic algorithm
CN117409127A (en) * 2023-12-15 2024-01-16 中国美术学院 Real-time ink fluid rendering method and device based on artificial intelligence
CN117409127B (en) * 2023-12-15 2024-04-05 中国美术学院 Real-time ink fluid rendering method and device based on artificial intelligence

Similar Documents

Publication Publication Date Title
CN104463847A (en) Ink and wash painting characteristic rendering method
CN101551911B (en) Human face sketch portrait picture automatic generating method
CN104537612A (en) Method for automatically beautifying skin of facial image
CN107845072B (en) Image generating method, device, storage medium and terminal device
US20110205236A1 (en) Image processing apparatus and storage medium having stored therein an image processing program
CN103021002B (en) Colored sketch image generating method
CN104463181A (en) Automatic face image illumination editing method under complex background
CN103400353B (en) A kind of method for converting picture into oil painting
CN110634169A (en) Image processing apparatus and method
CN111161137A (en) Multi-style Chinese painting flower generation method based on neural network
CN105096358A (en) Line enhanced simulation method for pyrography artistic effect
Yu et al. Image-based synthesis of Chinese landscape painting
CN109448067A (en) A kind of drawing method and device based on helical structure
CN104994363A (en) Clothes-based facial beautification method and device and smart terminal
CN103914862A (en) Pencil sketch simulating method based on edge tangent stream
CN103914124A (en) Energy-saving color mapping method aiming at three-dimensional scenes
Zhu et al. Sand painting conversion based on detail preservation
CN102521867B (en) Mobile phone anime character and background creation method
Li et al. real-time rendering of 3D animal models in Chinese ink painting style
Gao et al. PencilArt: a chromatic penciling style generation framework
CN113099127B (en) Video processing method, device, equipment and medium for making stealth special effects
CN107085859A (en) A kind of color lead painting style lattice method for drafting based on image
Zhao et al. The application of traditional Chinese painting technique and stroke effect in digital ink painting
Spindler et al. Enhanced Cartoon and Comic Rendering.
CN109816755A (en) A kind of production method of ink image, calculates equipment and storage medium at device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150325

RJ01 Rejection of invention patent application after publication