Page 1 of 1

possible bug -morphology thinning IM 7.0.5.4 Q16

Posted: 2017-03-25T19:43:51-07:00
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

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Posted: 2017-03-25T19:48:35-07:00
by diegomage
My version is

Version: ImageMagick 7.0.4-9 Q16 x86_64

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Posted: 2017-03-25T19:49:12-07:00
by diegomage
is 7.0.4-9 Not 7.0.5.4

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Posted: 2017-03-25T19:50:39-07:00
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.

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Posted: 2017-03-25T20:26:18-07:00
by snibgo
With the older v7.0.3-5 on Windows 8.1, the result was good. So a bug was introduced later.

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Posted: 2017-03-25T22:12:49-07:00
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.

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Posted: 2017-03-26T08:15:56-07:00
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.

Re: possible bug -morphology thinning IM 7.0.5.4 Q16

Posted: 2017-03-26T11:10:15-07:00
by fmw42
Thinning works again in IM 7.0.5-5 beta.