extract edges from this image ?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
diegomage
Posts: 205
Joined: 2017-03-08T10:12:28-07:00
Authentication code: 1151

extract edges from this image ?

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: extract edges from this image ?

Post 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
diegomage
Posts: 205
Joined: 2017-03-08T10:12:28-07:00
Authentication code: 1151

Re: extract edges from this image ?

Post by diegomage »

I obtain the same result
diegomage
Posts: 205
Joined: 2017-03-08T10:12:28-07:00
Authentication code: 1151

Re: extract edges from this image ?

Post by diegomage »

the problem is because a crop too near of the edge causing problems for adaptative threeshold
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: extract edges from this image ?

Post by fmw42 »

Sorry, I do not understand your problem
diegomage
Posts: 205
Joined: 2017-03-08T10:12:28-07:00
Authentication code: 1151

Re: extract edges from this image ?

Post by diegomage »

not problem I solved it
diegomage
Posts: 205
Joined: 2017-03-08T10:12:28-07:00
Authentication code: 1151

Re: extract edges from this image ?

Post by diegomage »

the problem was that i cropped the image wrong
diegomage
Posts: 205
Joined: 2017-03-08T10:12:28-07:00
Authentication code: 1151

Re: extract edges from this image ?

Post by diegomage »

now I not have problem with this
Post Reply