get_scales

Contents

get_scales#

scarlet2.wavelets.get_scales(image_shape, scales=None)[source]#

Get the number of scales to use in the starlet transform.

Parameters:
  • image_shape (tuple) – The 2D shape of the image that is being transformed

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