starlet_transform

starlet_transform#

scarlet2.wavelets.starlet_transform(image, scales=None, generation=2, convolve2d=None)[source]#

Perform a scarlet transform, or 2nd gen starlet transform.

Parameters:
  • image (2D array) – The image to transform into starlet coefficients.

  • scales (int) – The number of scale to transform with starlets. The total dimension of the starlet will have scales+1 dimensions, since it will also hold the image at all scales higher than scales.

  • generation (int) – The generation of the transform. This must be 1 or 2. Default is 2.

  • convolve2d (function) – The filter function to use to convolve the image with starlets in 2D.

Returns:

starlet – The starlet dictionary for the input image.

Return type:

array with dimension (scales+1, Ny, Nx)