Return to list
An example using je.data.stat (Basic). Some of the execution results are output to the browser console.
The explanation of the output results is as follows. Pixels with NaN values are excluded from the statistics.
- size: The number of pixels (width * height) excluding pixels that are NaN
- min: The value of the smallest pixel among all the pixels obtained
- max: The value of the largest pixel among all the pixels obtained
- sum: The sum of the values of all pixels
- mean: Mean (sum / size)
- median: Median (The value of the pixel that comes at the 0.5*size position when all size pixels are sorted by value)
- stdev: Standard deviation (sqrt((Σ[value - mean]^2) / size))
In this calculation, the differences in pixel area on the actual Earth's surface are not taken into account.
If the latitude and longitude range is sufficiently narrow and the differences in area per pixel can be ignored, this simplified calculation is acceptable.
However, in order to perform precise evaluations on data covering a wide range of latitude and longitude, which have differences in area per pixel, please refer to je.data.globalStat.