Computes a non-linear filter over a window of the input image. The output image dimensions should be the same as the dimensions of the input image.
The attribute VX_CONTEXT_NONLINEAR_MAX_DIMENSION
enables the user to query the largest nonlinear filter supported by the implementation of vxNonLinearFilterNode. The implementation must support all dimensions (height or width, not necessarily the same) up to the value of this attribute. The lowest value that must be supported for this attribute is 9.
[Graph] Creates a Non-linear Filter Node.
- Parameters
-
[in] | graph | The reference to the graph. |
[in] | function | The non-linear filter function. See vx_non_linear_filter_e . |
[in] | input | The input image in VX_DF_IMAGE_U8 format. |
[in] | mask | The mask to be applied to the Non-linear function. VX_MATRIX_ORIGIN attribute is used to place the mask appropriately when computing the resulting image. See vxCreateMatrixFromPattern . |
[out] | output | The output image in VX_DF_IMAGE_U8 format, which must have the same dimensions as the input image. |
- Returns
vx_node
.
- Return values
-
vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
[Immediate] Performs Non-linear Filtering.
- Parameters
-
- Returns
- A
vx_status_e
enumeration.
- Return values
-