vpi.Image.laplacian_pyramid

Image.laplacian_pyramid(out: vpi.Pyramid, *, out_gaussian: vpi.Pyramid = None, border: vpi.Border = vpi.Border.CLAMP, backend: vpi.Backend = vpi.Backend.DEFAULT, stream: vpi.Stream = None) vpi.Pyramid
Image.laplacian_pyramid(levels: int, scale: float = 0.5, *, out_gaussian: vpi.Pyramid = None, border: vpi.Border = vpi.Border.CLAMP, backend: vpi.Backend = vpi.Backend.DEFAULT, stream: vpi.Stream = None) vpi.Pyramid
Image.laplacian_pyramid(format: vpi.Format, levels: int, scale: float = 0.5, *, out_gaussian: vpi.Pyramid = None, border: vpi.Border = vpi.Border.CLAMP, backend: vpi.Backend = vpi.Backend.DEFAULT, stream: vpi.Stream = None) vpi.Pyramid

Computes the Laplacian pyramid of the image.

See also

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

Parameters
  • out (vpi.Pyramid, optional) – Defines where the resulting Laplacian pyramid will be written to.

  • out_gaussian (vpi.Pyramid, optional) – Defines where the intermediate Gaussian pyramid will be written to.

  • levels (int, optional) – Defines the number of levels of the output Laplacian pyramid.

  • scale (float, optional) – Defines the scale of the output Laplacian pyramid.

  • format (vpi.Format, optional) – Defines the format of the output Laplacian pyramid.

  • 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 resulting Laplacian 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.