GenRasterHistogram
The GenRasterHistogram ISCommand is used for generating a histogram of a raster dataset. It writes a raster process definition (.RPDef) file containing the histogram in the location specified using the Generic raster type.
The command line is:
ISCommand GenRasterHistogram --InputImage=<PathToInputImage> --OutputRPDef=<PathToOutputRPDef>
The table below defines the variables that are required to use this script. Most variables are defined within the script. You can either make an edit to the script or enter the variable at the command line as shown below.
Variable |
Description/Options |
Default |
Required |
InputImage |
Path and name of the image for which you want to generate histograms. |
User specified |
Yes |
OutputRPDef |
Path and name of the output RPDef file |
User specified |
Yes |
FormatReader |
Name of the format reader |
GDAL |
Yes |
Example:
ISCommand GenRasterHistogram --InputImage=c:\test1.tif --OutputRPDef=d:\test1.RPDef