Edge detection on iPhone with Image Magick

I want to convert an RGB image to the image below. I am using the ImageMagick library. I want to help find out what functions I can convert from the original image to image-2. Below are two images. I would like to use only the ImageMagick library. I would like to make Image Processing simillar for this Link in Objective C.

enter image description here

enter image description here

+8
ios iphone imagemagick ios4
source share
2 answers

@Apoorv I don't know anything, but if you just want edge detection to be, you can use openCV instead.

here is a link for some source codes and tutorials on how to detect edge in iphone using openCV

iPhone and OpenCV

http://dasl.mem.drexel.edu/~noahKuntz/openCVTut5.html

Here is an example project I created on iphone using openCV

source image

enter image description here

after edge detection.

enter image description here

+3
source share

It is not possible to verify that the image was even generated using Image Magick. But if you are reading this answer , take a look at the coal filter

convert holocaust_sm.jpg -charcoal 5 charcoal.gif 

My suggestion is that you also experiment with thresholds and watch "Color Image of Children" , as I believe that this was not the only filter that achieved this effect (if it was created by IM).

After some time of research, I believe that an effect similar to the one you are looking for can be achieved with a mixture of several filters. You should check out this page , which presents a huge collection of interesting effects using IM.

This is my attempt:

 convert ms8nP.png -colorspace Gray -blur 0x.7 -negate -edge 2 -negate -threshold 40% -blur 0x.5 out.png 
+3
source share

All Articles