This function will clear an array of histogram bins.
Declaration:
Copy Code |
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_IP_histo_clear (
LPDWORD lpHisto,
UINT nNumberOfBins
);
|
|
Arguments:
| 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. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
This function does not process image pixels.
Sample:
Image Processing
Example:
See the example under the IG_IP_histo_tabulate() function.
Remarks:
Call this function prior to calling IG_IP_histo_tabulate(), unless you mean to accumulate onto existing contents of the bins.