Can anyone help me out with drawing a histogram of a raster layer using VBA? The raster pixel type is continuous floating values (not integers).
Here is a portion of codes I find relevent:
.......
'get histogram
pBand.ComputeStatsAndHist
Dim pRasterHistogram As IRasterHistogram
Set pRasterHistogram = pBand.Histogram
....
How can I possibly proceed to plot the histogram and save it to an image file, such as using dagaGraphT.ExportToFile?
Thank you very much.