vpi.Image.gaussian_pyramid

Image.gaussian_pyramid(out: vpi.Pyramid, *, backend: vpi.Backend = vpi.Backend.DEFAULT, border: vpi.Border = vpi.Border.CLAMP, stream: vpi.Stream = None) vpi.Image
Image.gaussian_pyramid(level: int, scale: float = 0.5, *, backend: vpi.Backend = vpi.Backend.DEFAULT, border: vpi.Border = vpi.Border.CLAMP, stream: vpi.Stream = None) vpi.Image

Computes the Gaussian pyramid of the image.

See also

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

Parameters
  • out (vpi.Pyramid) – The output pyramid with the desired number of levels and scale.

  • levels (int, optional) – The desired number of levels of the output pyramid.

  • scale (float, optional) – The desired scale of the output pyramid.

  • 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 resulting Gaussian pyramid.

Return type

vpi.Pyramid

Caution

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