-features not working

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

-features not working

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: -features not working

Post by magick »

Try
  • identify -features 1 -verbose logo:
See http://murphylab.web.cmu.edu/publicatio ... ode26.html.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: -features not working

Post 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?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: -features not working

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: -features not working

Post by fmw42 »

not urgent. do it when convenient
Post Reply