I made this correction, everything worked as expected.
Thanks again for your assistance,
Mike
--- On Wed, 4/14/10, Even Rouault wrote:
> From: Even Rouault
> Subject: Re: [gdal-dev] Compute statistis and ignoring nodata value
> To: gdal-dev@lists.osgeo.org
> Cc: "Michael
Michael,
ComputeStatistics() is supposed to ignore pixels whose value is the nodata
value. I've tried the following test code to try to reproduce your issue :
#include
int main(int argc, char* argv[])
{
GDALAllRegister();
GDALDatasetH hDS = GDALCreate(GDALGetDriverByName("GTiff"), "tes
I am trying to compute and set the statistics for a data set that I have
created using GDAL, but the no data values are being included. Is there a way
to ignore the no data value when computing the statistics. The documentation
does not say anything about this, to the best of my knowledge, and i