The OpenVX Specification  a73e458
Non Linear Filter

Detailed Description

Computes a non-linear filter over a window 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 [R00058]. The lowest value that must be supported for this attribute is 9 [R00059].

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...
 

Function Documentation

◆ vxNonLinearFilterNode()

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 [R00241].
[in]functionThe non-linear filter function. Use a Non-linear filter functions value [R00242].
[in]inputThe input image in VX_DF_IMAGE_U8 format [R00243].
[in]maskThe mask to be applied to the Non-linear function [R00244]. 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 [R00245].
Returns
vx_node [R00246].
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus