- URL:
- https://<rastercatalogitem-url>/info/histograms
- Methods:
GET
- Required Capability:
- Image, Catalog
- Version Introduced:
- 10.1
Description
The raster histograms
resource returns histograms of the associated raster in an image service.
Request parameters
Parameter | Details |
---|---|
|
The response format. The default response format is Values: |
Example usage
The following is a sample request URL used to access the histograms
resource:
https://sampleserver6.arcgisonline.com/arcgis/rest/services/Toronto/ImageServer/1/info/histograms
JSON Response syntax
Refer to Histogram object for the syntax of a histogram.
{
"histograms": [
<histogram1>,
<histogram2>,
<histogram3>,
...
]
}
JSON Response example
{
"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
...
]
}
]
}