GetBitmapStatisticsInfo example for Visual Basic
Dim RasterProc As New LEADRasterProcess
RasterProc.GetBitmapStatisticsInfo LEADRasterView1.Raster, CHANNEL_MASTER, 0, 255
MsgBox "Bitmap Median :" + Str(RasterProc.BitmapMedian) + Chr$(13) + _
"Bitmap Mean :" + Str(RasterProc.BitmapMean) + Chr$(13) + _
"Bitmap Min Value:" + Str(RasterProc.BitmapMinValue) + Chr$(13) + _
"Bitmap Max Value:" + Str(RasterProc.BitmapMaxValue) + Chr$(13) + _
"Bitmap Pixels Count:" + Str(RasterProc.BitmapPixelsCount) + Chr$(13) + _
"Bitmap Selected Pixel Percent :" + Str(RasterProc.BitmapSelectedPixelPercent) + Chr$(13) + _
"Bitmap Standard Deviation:" + Str(RasterProc.BitmapStandardDeviation) + Chr$(13) + _
"Bitmap Total Pixel Count:" + Str(RasterProc.BitmapTotalPixelCount) + Chr$(13)