Histogram object

Overview

This topic discusses the JSON representation histogram objects. A histogram consists of a dictionary of name-value pairs.

Use dark colors for code blocksCopy
1
2
3
4
5
6
{
  "size": <size>, //int, number of bins
  "min": <min>, //number, minimum value
  "max": <max>, //number, maximum value
  "counts": [<count1>,<count2>,<count3>] //integer(64bit), counts of pixels in each bin. The width of each bin is (max-min)/size.
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.