72 of 95
Reference Manual ATOM one SSM500
14 Image statistic commands
14.1 stat_rgb
Dumps the RGB mean values.
Example:
stat_rgb
stat_rgb 1040 896 1200
Output description:
•
Average Red = 1040
(12 bit)
•
Average Green = 896
(12 bit)
•
Average Blue = 1200
(12 bit)
14.2 stat_hist <mode>
Set histogram statistics mode.
Mode
Histogram statistic
0
disable
1
RGB combined histogram
2
R histogram
3
G histogram
4
B histogram
Y
Y (luminance) histogram
Note: The histogram is measured in 16 intensity intervals. The interval width is 2^12/16.
The first interval ranges from intensity level 0 to 255, the 2
nd
interval from 256 to 511, the
3
rd
interval from 512 to 767 and so on.
Example:
# enable RGB combined histogram
stat_hist 1
OK
# show histogram statistic
stat_hist
# system dumps
stat_hist 1 134120 160777 70308 40823 31308 21310 33414 50317 48382 30265 23750
17518 9922 3485 2658 7213
Output description: