Overview
This topic discusses the JSON representation histogram objects. A histogram consists of a dictionary of name-value pairs.
{
  "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.
}{
  "size": 256,
  "min": -0.5,
  "max": 255.5,
  "counts": [
    42915,
    23218,
    24832,
    25925
    36054,
    57097,
    61278,
    65211
    ...
  ]
}