pkstat(1)

NAME
pkstat - calculate basic statistics from raster dataset

SYNOPSIS
\FCpkstat\F[]
[options]

DESCRIPTION
pkstat is utility to calculate basic statistics from a raster dataset.

OPTIONS

\FC-i\F[] filename, \FC--input\F[] filename
    name of the input raster dataset

\FC-b\F[] band, \FC--band\F[] band
    band(s) on which to calculate statistics

\FC-f\F[], \FC--filename\F[]
    Shows image filename

\FC-stats\F[], \FC--statistics\F[]
    Shows basic statistics (calculate in memory) (min,max, mean and stdDev of the raster datasets)

\FC-fstats\F[], \FC--fstatistics\F[]
    Shows basic statistics using GDAL computeStatistics (min,max, mean and stdDev of the raster datasets)

\FC-ulx\F[] value, \FC--ulx\F[] value
    Upper left x value bounding box

\FC-uly\F[] value, \FC--uly\F[] value
    Upper left y value bounding box

\FC-lrx\F[] value, \FC--lrx\F[] value
    Lower right x value bounding box

\FC-lry\F[] value, \FC--lry\F[] value
    Lower right y value bounding box

\FC-nodata\F[] value, \FC--nodata\F[] value
    Set nodata value(s)

\FC-down\F[] value, \FC--down\F[] value
    Down sampling factor (for raster sample datasets only). Can be used to create grid points.

\FC-rnd\F[] number, \FC--rnd\F[] number
    generate random numbers

\FC-mean\F[], \FC--mean\F[]
    calculate mean

\FC-median\F[], \FC--median\F[]
    calculate median

\FC-var\F[], \FC--var\F[]
    calculate variance

\FC-skew\F[], \FC--skewness\F[]
    calculate skewness

\FC-kurt\F[], \FC--kurtosis\F[]
    calculate kurtosis

\FC-stdev\F[], \FC--stdev\F[]
    calculate standard deviation

\FC-sum\F[], \FC--sum\F[]
    calculate sum of column

\FC-mm\F[], \FC--minmax\F[]
    calculate minimum and maximum value

\FC-min\F[], \FC--min\F[]
    calculate minimum value

\FC-max\F[], \FC--max\F[]
    calculate maximum value

\FC-src_min\F[] value, \FC--src_min\F[] value
    start reading source from this minimum value

\FC-src_max\F[] value, \FC--src_max\F[] value
    stop reading source from this maximum value

\FC-hist\F[], \FC--hist\F[]
    calculate histogram

\FC-hist2d\F[], \FC--hist2d\F[]

\FC-nbin\F[] value, \FC--nbin\F[] value
    number of bins to calculate histogram

\FC-rel\F[], \FC--relative\F[]
    use percentiles for histogram to calculate histogram

\FC-kde\F[], \FC--kde\F[]
    Use Kernel density estimation when producing histogram. The standard deviation is estimated based on Silverman's rule of thumb.

\FC-cor\F[], \FC--correlation\F[]
    calculate Pearson produc-moment correlation coefficient between two raster datasets (defined by \FC-c\F[] col1 \FC-c\F[] col2)

\FC-rmse\F[], \FC--rmse\F[]
    calculate root mean square error between two raster datasets

\FC-reg\F[], \FC--regression\F[]
    calculate linear regression between two raster datasets and get correlation coefficient

\FC-regerr\F[], \FC--regerr\F[]
    calculate linear regression between two raster datasets and get root mean square error

\FC-preg\F[], \FC--preg\F[]
    calculate perpendicular regression between two raster datasets and get correlation coefficient

\FC-pregerr\F[], \FC--pregerr\F[]
    calculate perpendicular regression between two raster datasets and get root mean square error

\FC-v\F[] level, \FC--verbose\F[] level
    verbose mode when positive