Isis 2 Documentation
hist2d - Compute 2-D histogram "hist2d" computes creates a 2-dimensional histogram from two bands from two different files or from the same file. The histogram is created in the form of an ISIS cube file with the horizontal axis representing the DN values in the first band and the vertical axis representing the DN values of the second band. The axes on the range from 0-255. The histogram data is smoothed using two 7x7 smoothing filters, then it is scaled so that the values range from 0-100. The percent of data used to tabulate the histograms is indicated with the parameters, MINPER and MAXPER or alternately the absolute min/max of the data can be input with MIN and MAX. PROGRAMMER: Tracie Sucharski, U.S.G.S., Flagstaff, AZ
Parm | Description | Default |
---|---|---|
FROM | Input cube file name (default extension is .cub) | NONE |
FROM2 | Second input cube file name | -- |
TO | Output cube file name | NONE |
XBAND | Band number to use for X-axis | 1 |
YBAND | Band number to use for Y-axis | 1 |
MINPER | Minimum percent | .5 |
MAXPER | Maximum percent | 99.5 |
MIN | Minimum values | -- |
MAX | Maximum values |
ADDITIONAL NOTES:
Parm | Description |
---|---|
FROM | Input cube file name. If the file extension is omitted, then ".cub" will be assumed. |
FROM2 | Second input cube file name. This file contains the band which will be plotted in the y-axis if the bands are not contained within one file. |
TO | File containing the 8-bit representation of the 2-D histogram. |
XBAND | This is the band number to be used for the x axis. This band will be taken from the file indicated in FROM. |
YBAND | This is the band number to be used for the y axis. This band can be in the file indicated with FROM, or it may be located in a second file indicated with FROM2. |
MINPER | The percent of data in the low end which will not be tabulated in the histogram. |
MAXPER | The percent of data in the high end which will not be tabulated in the histogram. |
MIN | The MIN parameter can be used to set a specific minimum value instead of calculating a minimum value using the MINPER. |
MAX | The MAX parameter can be used to set a specific maximum value instead of calculating a maximum value using the MAXPER. |
Contact us online at the Isis Support Center: http://isisdist.wr.usgs.gov