Page 1 of 1
Is -morphology not working?
Posted: 2010-01-22T03:01:38-07:00
by GregUK
I am trying to follow the Morphology examples at
http://www.imagemagick.org/Usage/morphology/ using IM 6.5.9-0 2010-01-11 Q16, but get the following error:
Code: Select all
>convert input.jpg -morphology Dilate Square output.jpg
convert: unrecognized option `-morphology' @ convert.c/ConvertImageCommand/1911.
Any idea why this isn't working?
Thanks.
Re: Is -morphology not working?
Posted: 2010-01-22T07:12:42-07:00
by magick
Morphology will be available in the next point release of ImageMagick in about a week.
Re: Is -morphology not working?
Posted: 2010-01-22T07:14:14-07:00
by GregUK
Excellent, thank you!
Re: Is -morphology not working?
Posted: 2010-01-27T03:03:26-07:00
by anthony
That documentation is also slowly being added.
Morphology is new and what I am working on while on vactaion visiting relatives (wifes) in far South-west China. Network access is only via internet cafe, so my updates are slow.
At this time all the morphology stuff should be working, though it will be better once documentation is present to show what you can do with it.
At thge moment I am documenting basic convolution. This also has a separate option -convolve whcih uses older code that will eventually be replaced by the morphology version. After that the four basic morphology operators will be documented and the 'Distance' morphology operator. When complete I will then see about addint the other morphology methods, like top-hat, edge-in/out (also known as morphological gradient), hit-n-miss, pruning, thinning, thickening, and a couple of forms of skeletionization.
All this will make the later addition of things like segmentation a lot easier in the far future.
Bye for now from China.
Re: Is -morphology not working?
Posted: 2010-12-08T09:37:37-07:00
by galv
I'm using the following IM version and -morphology yields "convert: unrecognized option `-morphology' @ convert.c/ConvertImageCommand/1900." .
Version: ImageMagick 6.5.7-8 2009-11-26 Q16
http://www.imagemagick.org
Is that because it's not in yet or is my distro (Ubuntu 10.04) using an old IM version?
Re: Is -morphology not working?
Posted: 2010-12-08T09:55:18-07:00
by Bonzo
As the OP was using IM 6.5.9-0 2010-01-11 Q16 and it was being implimented after that I would say yes your version is to old.
Run this to confirm:
Re: Is -morphology not working?
Posted: 2010-12-08T10:48:20-07:00
by fmw42
-morphology was first introduced about IM 6.5.9.3 and has gone almost steady improvement with bug fixes and additional features until the current release. The last noted change in the changelog was at 6.6.2-5 see
http://www.imagemagick.org/script/changelog.php
Re: Is -morphology not working?
Posted: 2010-12-08T17:30:14-07:00
by anthony
More items are planned, but my year has been increadable busy. And still not finished.
Last night I worked to 10:30PM trying to reach deadlines.