possible bug -morphology thinning IM 7.0.5.4 Q16

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

possible bug -morphology thinning IM 7.0.5.4 Q16

Post by fmw42 »

reference to viewtopic.php?f=1&t=31649#p144378


Thinning does not work in IM 7.0.5.4 but does work in IM 6.9.8.3. Using Mac OSX.


Input:
Image

IM 6:

Code: Select all

convert kLdPK.jpg -threshold 50% -morphology Thinning:-1 Skeleton skeleton6.gif
Image

IM 7:

Code: Select all

magick kLdPK.jpg -threshold 50% -morphology Thinning:-1 Skeleton skeleton7.gif
Image
diegomage
Posts: 205
Joined: 2017-03-08T10:12:28-07:00
Authentication code: 1151

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Post by diegomage »

My version is

Version: ImageMagick 7.0.4-9 Q16 x86_64
diegomage
Posts: 205
Joined: 2017-03-08T10:12:28-07:00
Authentication code: 1151

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Post by diegomage »

is 7.0.4-9 Not 7.0.5.4
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Post by fmw42 »

diegomage wrote: 2017-03-25T19:49:12-07:00 is 7.0.4-9 Not 7.0.5.4
I am reporting the bug for the version I used to test (7.0.5.4)

Thanks for identifying that it fails for your version also. But note that bug fixes only will be made in the next release. They will not be fix in the current or older releases.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Post by snibgo »

With the older v7.0.3-5 on Windows 8.1, the result was good. So a bug was introduced later.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Post by fmw42 »

It first fails for me at IM 7.0.5.1. Before that it seemed fine. I do not see anything that appears relevant in the changelog for that version.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Post by magick »

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Post by fmw42 »

Thinning works again in IM 7.0.5-5 beta.
Post Reply