<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
I have found the <a class="el"
href="https://gdal.org/doxygen/classGDALRasterBand.html#a6aa58b6f0a0c17722b9bf763a96ff069">GetStatistics</a>()
method of GDALRasterBand(), but I did not find any GetStatistics()
available for the whole dataset at a glance.<br>
While it is pretty obvious that it can be achieved by calling
GetStatictics() for all bands and gather the results, I am concerned
about performance.<br>
In my case, I use an ENVI driver with BIL or BIP data interleaving.
Calling GetStatictics() on bands will induce an overhead of data
de-interleaving to gather band raw values, but it is a pity since I
will process all data anyway. I would expect to benefit from memory
locality.<br>
<br>
Did I miss something ?<br>
<br>
<br>
</body>
</html>