ImageGear Professional > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Image Processing Functions > IG_IP_histo_clear |
This function will clear an array of histogram bins.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_IP_histo_clear ( LPDWORD lpHisto, UINT nNumberOfBins ); |
Name | Type | Description |
lpHisto | LPDWORD | Far pointer to an array of bins (each a DWORD) to be cleared. |
nNumberOfBins | UINT | Number of bins to clear. |
Returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
See the example under the IG_IP_histo_tabulate() function.
Call this function prior to calling IG_IP_histo_tabulate(), unless you mean to accumulate onto existing contents of the bins.