Remaps the image colors. This API is asynchronous.
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 acldvppVpcEqualizeHistAsync(const acldvppChannelDesc *channelDesc,
const acldvppPicDesc *inputDesc,
acldvppPicDesc *outputDesc,
const acldvppLutMap *lutMap,
aclrtStream stream)
Parameter |
Input/Output |
Description |
|---|---|---|
channelDesc |
Input |
Pointer to channel description. Must be the same as the channelDesc argument passed to the acldvppCreateChannel call. |
inputDesc |
Input |
Pointer to the input image description.
|
outputDesc |
Input/Output |
Pointer to the output image description. When outputDesc is an input, the user needs to:
|
lutMap |
Input |
Pointer to the color remapping LUT. Call acldvppCreateLutMap to create data of the acldvppLutMap type and call acldvppGetLutMapData to obtain the memory pointer. You also need to write the color remapping LUT data to the memory and pass the data of the acldvppLutMap type to acldvppVpcEqualizeHistAsync as the input. |
stream |
Input |
Stream. |
0 on successful task delivery; else, failure.