| FRAMES | NO FRAMES | Description | Parameters | Examples | Response | 
| URL | http://<imageservice-url>/histograms | 
|---|---|
| Parent Resource | Image Service | 
| Required Capability | Image | 
This resource is supported from 10.1 onwards. 
The histograms resource returns histograms of the image. This resource is supported if hasHistograms property of the service is true.

| Parameter | Details | 
|---|---|
| f | Description: The response format. The default response format is html. Values: html | json | 
Example 1: Return histograms of an image service.
http://myserver.arcgisonline.com:port/arcgis/rest/services/LandCover/ImageServer/histograms
{
  "histograms" :[
    <histogram1>, <histogram2>,<histogram3>
    ]
}
{
 "histograms": [
    {
      "size" : 256, 
      "min" : -0.5, 
      "max" : 255.5, 
      "counts" : [
        42915, 
        23218, 
        24832, 
        25925 
        36054, 
        57097, 
        61278, 
        65211
        ...
        ]
   },
   {
      "size" : 256, 
      "min" : -0.5, 
      "max" : 255.5, 
      "counts" : [
        42915, 
        23218, 
        24832, 
        25925 
        36054, 
        57097, 
        61278, 
        65211
        ...
        ]
   },
   {
      "size" : 256, 
      "min" : -0.5, 
      "max" : 255.5, 
      "counts" : [
        42915, 
        23218, 
        24832, 
        25925 
        36054, 
        57097, 
        61278, 
        65211
        ...
        ]
   }
}