Generates a distribution from an image.
This kernel counts the number of occurrences of each pixel value within the window size of a pre-calculated number of bins.
[Graph] Creates a Histogram node.
- Parameters
-
[in] | graph | The reference to the graph. |
[in] | input | The input image in VX_DF_IMAGE_U8 . |
[out] | distribution | The output distribution. |
- Returns
vx_node
.
- Return values
-
0 | Node could not be created. |
* | Node handle. |
[Immediate] Generates a distribution from an image.
- Parameters
-
[in] | context | The reference to the overall context. |
[in] | input | The input image in VX_DF_IMAGE_U8 |
[out] | distribution | The output distribution. |
- Returns
- A
vx_status_e
enumeration.
- Return values
-