SE_rasbandinfo_get_stats_histogram

Returns the statistics info in raster band structure.

Usage syntax

SE_rasbandinfo_get_stats_histogram (const SE_RASBANDINFO rasterband, SE_BIN_FUNCTION_TYPE *type, LONG *num_bins, LFLOAT **bin_table, LFLOAT **histogram)
 

Parameters
rasterband The SE_RASBANDINFO handle
type A pointer to the minimum pixel value
num_bins A pointer to number of bins value
bin_table A pointer to the bin table
histogram A pointer to the histogram
Description

This function returns the statistics info in raster band structure.

Returns

SE_SUCCESS
SE_RASTERBAND_NO_STATS
SE_OUT_OF_CLMEM
 

Note

User needs to free the memory for bin table and histogram returned by this function.