Re: FW: [gdal-dev] accessing the histogram

2009-01-21 Thread Frank Warmerdam
Domazlicky, Eric wrote: There is no histogram in raster files sitting there for you to access. You have to calculate it yourself using the pixel data. Here is a good example of doing it in C# http://www.codeproject.com/KB/cs/Image_Histograms.aspx I would familiarize yourself with the ReadRaster

FW: [gdal-dev] accessing the histogram

2009-01-21 Thread Domazlicky, Eric
There is no histogram in raster files sitting there for you to access. You have to calculate it yourself using the pixel data. Here is a good example of doing it in C# http://www.codeproject.com/KB/cs/Image_Histograms.aspx I would familiarize yourself with the ReadRaster functions so you know how