To Convert Image to Cartoon in ios

前端 未结 3 936
再見小時候
再見小時候 2020-12-07 13:43

\"enter Is there any filters available in ios to convert a image to cartoonistic ima

相关标签:
3条回答
  • 2020-12-07 14:02

    Try to use imagemagick for iOS http://www.imagemagick.org/download/iOS/ Of course you need some serval hours how to use imagemagick for iOS. But then you should also look at: http://www.fmwconcepts.com/imagemagick/cartoon/index.php

    and maybe also on: http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=11140&start=0&st=0&sk=t&sd=a

    0 讨论(0)
  • 2020-12-07 14:03

    For a much faster solution than ImageMagick, you could use the GPUImageToonFilter from my GPUImage framework:

    Toon filtering

    It combines Sobel edge detection with posterization of the image to give a good cartoon-like feel. As implemented in this framework, it's fast enough to run on realtime video from the iPhone's camera, and is probably at least an order of magnitude faster than something similar in ImageMagick. My framework's also a little easier to integrate with an iOS project than ImageMagick.

    If you want more of an abstract look to the image, the GPUImageKuwaharaFilter converts images into an oil painting style, as I show in this answer.

    0 讨论(0)
  • 2020-12-07 14:14

    This Core Image filter section in the iOS dev library, possibly combined with the script referenced by Jonas and a little luck, might get you where you're going. Not sure, having never used either of these technologies.

    0 讨论(0)
提交回复
热议问题