Here is a newbie question.
When doing "identify pic -verbose -crop 100x100+1+1" sometimes get history info. Other times I don't, it really depends on the picture content.
I also would like to know how I would only get this info from identify:
"
Channel statistics:
Red:
Min: 0 (0)
Max: 1 (1)
Mean: 0.004375 (0.004375)
Standard deviation: 0.0659989 (0.0659989)
Green:
Min: 0 (0)
Max: 1 (1)
Mean: 0.004375 (0.004375)
Standard deviation: 0.0659989 (0.0659989)
Blue:
Min: 0 (0)
Max: 1 (1)
Mean: 0.00435547 (0.00435547)
Standard deviation: 0.0658521 (0.0658521)
"
Any and all suggestions would be greatly appreciated.
Thanks.
How to exclude history info from identify
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: How to exclude history info from identify
Use convert .... -format %c histogram:info:
See IM Examples, file handling, histogram.
http://www.imagemagick.org/Usage/files/#histogram
As for channel statistics, at this time the ONLY method is to try to use veraious text utilities to extract it.
For one such example see...
http://www.imagemagick.org/Usage/compare/#type_general
and go down to 'Black and White Images'
See IM Examples, file handling, histogram.
http://www.imagemagick.org/Usage/files/#histogram
As for channel statistics, at this time the ONLY method is to try to use veraious text utilities to extract it.
For one such example see...
http://www.imagemagick.org/Usage/compare/#type_general
and go down to 'Black and White Images'
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: How to exclude history info from identify
Thanks Anthony.
I was trying to avoid any pipe method and you have answered my question 100%, thanks.
I was trying to avoid any pipe method and you have answered my question 100%, thanks.