Page 1 of 1

extract edges from this image ?

Posted: 2017-03-18T10:35:18-07:00
by diegomage
Im trying with lat filter but not works well ; how i could do this

convert rose_bg_blur_fail.png -lat 3x3+15% jx8MPc9_kuw2_lat10-0.png

Image

Image

Please help me

Re: extract edges from this image ?

Posted: 2017-03-18T15:58:41-07:00
by fmw42
try this

Code: Select all

convert u45Uw.png -alpha extract -morphology edgein diamond:1 \
\( -clone 0 -fill black -colorize 100  \) \
+swap -alpha off -compose copy_opacity -composite \
 result.png
see
http://www.imagemagick.org/Usage/morphology/#difference

Re: extract edges from this image ?

Posted: 2017-03-18T16:28:51-07:00
by diegomage
I obtain the same result

Re: extract edges from this image ?

Posted: 2017-03-19T19:46:37-07:00
by diegomage
the problem is because a crop too near of the edge causing problems for adaptative threeshold

Re: extract edges from this image ?

Posted: 2017-03-19T20:53:40-07:00
by fmw42
Sorry, I do not understand your problem

Re: extract edges from this image ?

Posted: 2017-03-19T20:57:56-07:00
by diegomage
not problem I solved it

Re: extract edges from this image ?

Posted: 2017-03-19T21:05:47-07:00
by diegomage
the problem was that i cropped the image wrong

Re: extract edges from this image ?

Posted: 2017-03-19T21:06:04-07:00
by diegomage
now I not have problem with this