Skip to content

wyfunique/Convert-photo-to-sketch-V2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert-photo-to-sketch-V2

The version 2 codebase for converting photo to sketch, implemented according to the paper Lu, Cewu, Li Xu and Jiaya Jia. “Combining sketch and tone for pencil drawing production.” Expressive (2012).

Running environment

MATLAB R2012a

File introduction

example.m: an example script showing how to use the functions

gradient.m: function for computing the gradient

drawLines.m: the core function of the algorithm

road_sign.png: example image used in example.m

Example

Original image:

Original image

The sketch / line-drawing:

Original image

About

The version 2 codebase for converting photo to sketch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages