Finding clipped (over exposed) images
Posted: 2011-11-10T08:36:14-07:00
Hi list members,
This is my first question on the forum, so spare me
I want to write an bash script, that uses imagemagick to find overexposed images in a pile of about 10.000. Can anyone point me in the right direction? I understand that we have luminosity and RGB histograms, what would be best to use? And maybe if possible I would love to extend the script to detect color moiré too.
I've started now with getting the 20 most used colors from an image (mainly black/white) to detect color moiré
And grep trough that output for certain RGB values, but that could be utterly stupid to do off course
Thanks for any advice,
Jon
This is my first question on the forum, so spare me
I want to write an bash script, that uses imagemagick to find overexposed images in a pile of about 10.000. Can anyone point me in the right direction? I understand that we have luminosity and RGB histograms, what would be best to use? And maybe if possible I would love to extend the script to detect color moiré too.
I've started now with getting the 20 most used colors from an image (mainly black/white) to detect color moiré
Code: Select all
convert $inputfile -colorspace rgb -colors 20 -unique-colors txt:
Thanks for any advice,
Jon