Calculates the statistics about the image data. \n
* There is one stats for each depth plane. For ex: stats[0]=red stats, stats[0]=green stats, ... \n
* Supports all data types except complex. \n
*
* \verbatim im.CalcImageStatistics(image: imImage) -> stats: table [in Lua 5] \endverbatim
* Table contains the following fields: max, min, positive, negative, zeros, mean, stddev.
* If image depth > 1 then table contains several tables with the previous fields, one for each plane,
* starting at 0.
* The same as the \ref imStats structure.
* \ingroup stats
Calculates the statistics about the image data. \n * There is one stats for each depth plane. For ex: stats[0]=red stats, stats[0]=green stats, ... \n * Supports all data types except complex. \n * * \verbatim im.CalcImageStatistics(image: imImage) -> stats: table [in Lua 5] \endverbatim * Table contains the following fields: max, min, positive, negative, zeros, mean, stddev. * If image depth > 1 then table contains several tables with the previous fields, one for each plane, * starting at 0. * The same as the \ref imStats structure. * \ingroup stats