vpi.Image.bilateral_filter

Image.bilateral_filter(self: vpi.Image, ksize: int, sigrange: float, sigspace: float, *, backend: vpi.Backend = vpi.Backend.DEFAULT, out: vpi.Image = None, border: vpi.Border = vpi.Border.CLAMP, stream: vpi.Stream = None) vpi.Image

Runs a 2D bilateral filter over the image.

See also

Refer to the algorithm explanation for more details and usage examples.

Parameters
  • ksize (int) – The kernel size.

  • sigrange (float) – The standard deviation in color space.

  • sigspace (float) – The standard deviation in the coordinate space.

  • out (vpi.Image, optional) – The output for the algorithm.

  • border (vpi.Border, optional) – The border extension used by the algorithm.

  • backend (vpi.Backend, optional) – The backend to be used by the algorithm.

  • stream (vpi.Stream, optional) – The stream to be used by the algorithm.

Returns

The output for the algorithm.

Return type

vpi.Image

Caution

Restrictions to several arguments may apply. Check the C API references of the submit function and the group concepts for more details.