Image processing histograms

Dave Beverstock bever at erim.org
Tue Nov 16 20:08:59 EST 1993


Don't overlook the i.class function for quick looks at the data.  I
provides a small scale image window, a zoomed image window, and a
window to hold the histograms.  It outputs the means to a file with
annotation!  It is meant to perform maximum likliehood classification,
so you must enter in two images.  I use g.copy to create a copy of the
first image with a different second name, then i.group them together
for i.class.

Another way to get histograms is to use r.stats -a input=fname |
xgraph -bar.  This tabulates each unique value, and the number of
counts for each value.

Good Luck!
dave



More information about the grass-user mailing list