Clears histogram data. This API is synchronous.
Use case: After obtaining the color distribution histogram of an image, you can call this API to clear the histogram data of the acldvppHist type and then obtain the color distribution histogram of the next image if you want to reuse the acldvppHist variables.
The Ascend 310 AI Processor does not support this API in the current version.
The Ascend 910 AI Processor does not support this API in the current version.
aclError acldvppClearHist(acldvppHist *hist)
Parameter |
Input/Output |
Description |
|---|---|---|
hist |
Input |
Pointer to the histogram description. Call acldvppCreateHist to create data of the acldvppHist type in advance. |
0 on success; else, failure.