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
, January 21, 2009 8:43 AM To: gdal-dev@lists.osgeo.org Subject: [gdal-dev] accessing the histogram Hello folks, Can somebody demonstrate how I can access the histogram of a raster image. Ultimately, I'd like to dump it to a text file as well (I have many images to assess). Thanks for any advice,

[gdal-dev] accessing the histogram

2009-01-21 Thread Greg Fiske
Hello folks, Can somebody demonstrate how I can access the histogram of a raster image. Ultimately, I'd like to dump it to a text file as well (I have many images to assess). Thanks for any advice, Greg Gregory J. Fiske GIS Manager/Research Associate The Woods Hole Research Center 149 Woods H