Programatically converting images to cartoon and o

2020-07-27 05:51发布

How to convert images to cartoon and oil paint images?

Is there any library for this?

标签: android image
1条回答
神经病院院长
2楼-- · 2020-07-27 06:19

You'll probably want to look into general non-photorealistic rendering (NPR) algorithms.

This site has many links to excellent papers regarding a variety of NPR techniques. Oil painting is particularly difficult as making it look perfect would likely involve some fluid simulation, but you can most likely fake it (probably similarly to older paint programs' filters to emulate it).

Toon shading would likely be a posterization technique with some edge detection. A lot of tweaking would be involved to make it suitable for general-purpose use in converting any photograph/image.

查看更多
登录 后发表回答