The Statistics and Histogram function is used to define the statistics and histogram of a raster. You can insert this function at the end of the processing template to describe the statistics and histogram of the processing. This may be needed to control the default display of the processing result, especially when defining a processing template that contains many functions.
You can define statistics by typing the numbers or importing from a raster dataset or an XML file. Histograms can only be defined by importing a file.
There are three parameters for this function:
- Input Raster—The input raster that requires the Statistics and Histogram function.
- Define Statistics and Histogram—Set the statistics values for each band. The histogram column is a read-only field, which can be populated by using the import parameter. If you import a histogram file, the Histogram column will be marked as Defined.
- Import Statistics and Histogram from File—Import the statistics and histogram information from an existing raster or XML file.
Statistics and Histogram
When you first insert this function, by default, a list of band indices are populated based on the input raster. When inserting this function from a function template, where input raster is unknown, use the number of bands in the raster function template (RFT) as the default settings.
Define the minimum, maximum, mean, and standard deviation in the table. Or you can import statistics from a raster dataset, mosaic dataset, or XML file (*.stat.xml).