Abstract

The automatic generation of pencil drawings from natural images has been a hot spot in the field of nonphotorealistic rendering in recent years and has attracted the attention of many scholars. Aiming at the characteristics of single line drawings generated by the existing pencil drawing algorithm and stiff lines, this paper proposes a new edge generation Gradlent Morphological Edge Detector (GMED) algorithm, which uses the generated edge convolution to generate pencil line drawings, making stylized pictures more natural. First, the gradient map of the input image is extracted according to the feature of the tone rate of change around the line at the boundary. Second, to make up for the shortcomings of too thin and discontinuous lines in the gradient map, morphological operations are performed on the gradient map and convolved to generate a hand-drawn pencil line drawing. Finally, texture filling and tone mapping are performed, and the resulting line drawing is fused to obtain the final pencil drawing effect. Compared with the existing pencil drawing algorithm, the proposed GMED edge generation method is applied to the line drawing generation process to generate a hand-drawn style, fine and concise line drawing, and the texture simulation process is simple and efficient, combined with histogram matching. In the process, a more suitable GML method is used, so that the final pencil drawing not only has natural lines but also colors closer to the input image.

Highlights

  • N ONPHOTOREALISTIC rendering (NPR) is a technology that has gradually formed since 1995, and it has become a hot spot in the field of computer graphics [1]

  • The generation of pencil drawings based on natural images is the most common form of NPR, and it has been the focus of research by scholars in recent years

  • This article focuses on innovative improvements in the first step and proposes a new edge generation algorithm.This method can make the natural image more close to the original image when it is transformed into a specific art form

Read more

Summary

INTRODUCTION

N ONPHOTOREALISTIC rendering (NPR) is a technology that has gradually formed since 1995, and it has become a hot spot in the field of computer graphics [1]. This article focuses on innovative improvements in the first step and proposes a new edge generation algorithm.This method can make the natural image more close to the original image when it is transformed into a specific art form. Part of the process in the literature [6]is similar to the method provided by Lu et al The overall framework is to generate pencil drawings and tone texture maps separately and merge the two images to generate colored pencil drawings, but there are innovations in these two steps. As mentioned above, the edge lines of the image are not the same as the pencil-drawn lines According to this situation, this article improves the pencil drawing line generation process, uses the proposed GMED algorithm to extract edges and generates hand-drawn lines based on this. The algorithm flow is as figure 1: FIGURE 1: Algorithm flow chart of this paper

PENCIL DRAWING LINE GENERATION BASED ON GMED ALGORITHM
EXPERIMENT AND ANALYSIS
Findings
CONCLUSION
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.