User Tools

Site Tools


imagemagick

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
imagemagick [2011/01/05 13:12]
admin created
imagemagick [2015/05/17 17:44] (current)
Line 1: Line 1:
 ====== How to ====== ====== How to ======
 ===== How do I export the histogramm data of an image? ===== ===== How do I export the histogramm data of an image? =====
-If you want to have the overall ​histogram (brightness) then use+If you want to have the typical brightness histogram generated from the gray scale image then use 
 +<​code>​ 
 +convert source_file -colorspace Gray -define histogram:​unique-colors=false -format %c histogram:​info:​- > destination.histogram 
 +</​code>​ 
 + 
 +If you want to have the sum histogram (brightness) ​for all channels ​then use
 <​code>​ <​code>​
 convert source_file -separate -append -define hostogram:​unique-colors=false -format %c histogram:​info:​- > destination.histogram convert source_file -separate -append -define hostogram:​unique-colors=false -format %c histogram:​info:​- > destination.histogram
imagemagick.txt · Last modified: 2015/05/17 17:44 (external edit)