Equalize image histogram for the input image.
More...
Equalize image histogram for the input image.
Refer to Equalize Histogram for more details and usage examples.
◆ vpiCreateEqualizeHist()
#include <vpi/algo/EqualizeHist.h>
Creates payload for vpiSubmitEqualizeHist.
- Parameters
-
[in] | backend | VPI backend that will execute the algorithm.
|
- Backend must be enabled in current context.
- Parameters
-
[in] | fmt | Format of input image.
- The accepted image formats are:
|
[out] | payload | Pointer to the payload variable that receives the created handle. |
- Return values
-
◆ vpiSubmitEqualizeHist()
#include <vpi/algo/EqualizeHist.h>
Equalize the histogram of the image.
- Parameters
-
[in] | stream | The stream where the operation will be queued in.
- Must not be NULL.
- Stream must have enabled the backends that will execute the algorithm.
|
[in] | backend | VPI backend that will execute the algorithm.
|
[in] | payload | Payload created with vpiCreateEqualizeHist |
[in] | input | Input image.
- Must not be NULL.
- Its format must match the one associated with
payload .
- Image must have enabled the backends that will execute the algorithm.
|
[out] | output | Where the resulting image will be written to.
- Must not be NULL.
- Must have same format and dimensions as input image.
- Image must have enabled the backends that will execute the algorithm.
|
- Return values
-