Page 1 of 1

-features not working

Posted: 2010-02-01T18:24:32-07:00
by fmw42
convert -version
Version: ImageMagick 6.5.9-1 2010-02-01 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Mac OSX Tiger

I just downloaded this release and was trying the new option -features now listed on the options page and in the changelog

convert Htexture.png -features 5 Htexture_f5.png
convert: unrecognized option `-features' @ error/convert.c/ConvertImageCommand/1512.


Is this not yet ready for prime time?

Is it supposed to make multiple images for each feature for each channel and each direction? Or does it just list feature stats to the terminal?

What is the correct syntax to use? Can one select a particular feature and make an output image?

Can you provide an example syntax?

Thanks

Fred

Re: -features not working

Posted: 2010-02-01T18:41:48-07:00
by magick
Try
  • identify -features 1 -verbose logo:
See http://murphylab.web.cmu.edu/publicatio ... ode26.html.

Re: -features not working

Posted: 2010-02-01T19:24:30-07:00
by fmw42
magick wrote:Try
  • identify -features 1 -verbose logo:
See http://murphylab.web.cmu.edu/publicatio ... ode26.html.

It works for logo: but not for this image:

Image

identify -features 5 -verbose Htexture.png
Image: Htexture.png
Format: PNG (Portable Network Graphics)
Class: DirectClass
Geometry: 118x90+0+0
Resolution: 72x72
Print size: 1.63889x1.25
Units: Undefined
Type: GrayscaleMatte
Base type: GrayscaleMatte
Endianess: Undefined
Colorspace: RGB
Segmentation fault


Is it limited to certain image types?

Re: -features not working

Posted: 2010-02-01T19:53:00-07:00
by magick
We can reproduce the problem you posted and have a fix. Look for it in ImageMagick 6.5.9-2 available sometime tomorrow.

Re: -features not working

Posted: 2010-02-01T19:59:47-07:00
by fmw42
not urgent. do it when convenient