Computes a median pixel value over a window of the input image.
The median is the middle value over an odd-numbered, sorted range of values.
[Graph] Creates a Median Image Node.
- Parameters
-
[in] | graph | The reference to the graph. |
[in] | input | The input image in VX_DF_IMAGE_U8 format. |
[out] | output | The output image in VX_DF_IMAGE_U8 format. |
- Returns
vx_node
.
- Return values
-
0 | Node could not be created. |
* | Node handle. |
[Immediate] Computes a median filter on the image by a 3x3 window.
- Parameters
-
[in] | context | The reference to the overall context. |
[in] | input | The input image in VX_DF_IMAGE_U8 format. |
[out] | output | The output image in VX_DF_IMAGE_U8 format. |
- Returns
- A
vx_status_e
enumeration.
- Return values
-