The OpenVX Specification  dba1aa3
Non Linear Filter

Detailed Description

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.

Functions

vx_node VX_API_CALL vxNonLinearFilterNode (vx_graph graph, vx_enum function, vx_image input, vx_matrix mask, vx_image output)
 [Graph] Creates a Non-linear Filter Node. More...
 
vx_status VX_API_CALL vxuNonLinearFilter (vx_context context, vx_enum function, vx_image input, vx_matrix mask, vx_image output)
 [Immediate] Performs Non-linear Filtering. More...
 

Function Documentation

vx_node VX_API_CALL vxNonLinearFilterNode ( vx_graph  graph,
vx_enum  function,
vx_image  input,
vx_matrix  mask,
vx_image  output 
)

[Graph] Creates a Non-linear Filter Node.

Parameters
[in]graphThe reference to the graph.
[in]functionThe non-linear filter function. See vx_non_linear_filter_e.
[in]inputThe input image in VX_DF_IMAGE_U8 format.
[in]maskThe 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]outputThe output image in VX_DF_IMAGE_U8 format, which must have the same dimensions as the input image.
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus
vx_status VX_API_CALL vxuNonLinearFilter ( vx_context  context,
vx_enum  function,
vx_image  input,
vx_matrix  mask,
vx_image  output 
)

[Immediate] Performs Non-linear Filtering.

Parameters
[in]contextThe reference to the overall context.
[in]functionThe non-linear filter function. See vx_non_linear_filter_e.
[in]inputThe input image in VX_DF_IMAGE_U8 format.
[in]maskThe 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 and vxCreateMatrixFromPatternAndOrigin.
[out]outputThe output image in VX_DF_IMAGE_U8 format.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.