starlet_reconstruction#
- scarlet2.wavelets.starlet_reconstruction(starlets, generation=2, convolve2d=None, scales=None)[source]#
Reconstruct an image from a dictionary of starlets
- Parameters:
starlets (
array with dimension (scales+1,Ny,Nx)) – The starlet dictionary used to reconstruct the image.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.scales (
listofint) – The scales to include in the reconstruction (0 being the smallest)
- Returns:
image – The image reconstructed from the input starlet.
- Return type:
2D array