[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to count % color coverage?

hi Paolo

you may find giftrans useful.

Paolo Pedaletti wrote:
may be someone here knows if exist a tool (imagemagick?) that can count
how mutch black or white exist in a photo/image
The problem is:
I have a photo with spots with different size.
I want to know how much this spost fill the photo surface (in %)
and I want to do it via script (no human interaction, if possible)
Do you know something usefull?
Now I do it whit gimp, but I think is overkill for such things...
thank you.

(better were if I could count how much (%) of each color [.gif, indexed]
is present in the photo, but I can resolve this in other way...)

David Andel, MD-PhD Candidate, Artificial Intelligence Laboratory
Institute of Information Technology, University of Zurich
Andreasstrasse 15, 8050 Zurich, Switzerland
Phone: +41-1-635 45 75, Fax: +41-1-635 68 09, e-mail: andel@ifi.unizh.ch
Office: AND 2.20, Homepage: http://www.ifi.unizh.ch/~andel
"All pseudoscience is homeopathic: the less content it has, the more popular it is." - Phil Plait, The Bad Astronomer
"Real knowledge is to know the extent of ones ignorance." - Confucius
"Democracy is not a spectator sport." - Marian Wright Edelman
Spamtraps: andel.bogus@ifi.unizh.ch andel.bogus@ailab.ch

Reply to: