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: 22232
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

possible bug -morphology thinning IM 7.0.5.4 Q16

Post by fmw42 » 2017-03-25T19:43:51-07:00

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: 168
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 » 2017-03-25T19:48:35-07:00

My version is

Version: ImageMagick 7.0.4-9 Q16 x86_64

diegomage
Posts: 168
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 » 2017-03-25T19:49:12-07:00

is 7.0.4-9 Not 7.0.5.4

User avatar
fmw42
Posts: 22232
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Post by fmw42 » 2017-03-25T19:50:39-07:00

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: 9479
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 » 2017-03-25T20:26:18-07:00

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: 22232
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Post by fmw42 » 2017-03-25T22:12:49-07:00

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: 10698
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Post by magick » 2017-03-26T08:15:56-07:00

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: 22232
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Post by fmw42 » 2017-03-26T11:10:15-07:00

Thinning works again in IM 7.0.5-5 beta.

Post Reply