dst.q

Implementation of the discrete shearlet transform, according to our LNLA 2009 Paper:

  • B.  Goossens, J.  Aelterman, H.  Q. Luong, A.  Pizurica and W. Philips, “Efficient Design of a Low Redundant Discrete Shearlet Transform, “ in 2009 International Workshop on Local and Non-Local Approximation in Image Processing (LNLA2009), August 19-21, 2009, Tuusula, Finland (invited paper)
Summary
dst.qImplementation of the discrete shearlet transform, according to our LNLA 2009 Paper:
Functions
pseudo_polargridConstructs of a pseudo-polar grid
wedge_filterComputes shearlet wedge filters
meyer_radial_wavelet_filtersComputes Meyer radial wavelet filters used in the implementation of the discrete shearlet transform.
subsample_fftComputes a subsampling operation in FFT domain
upsample_fftComputes an upsampling operation in FFT domain
pyramid_fftPyramid decomposition in FFT domain
ipyramid_fftPyramid reconstruction in FFT domain
shearlet_analysisComputes the discrete shearlet transform
shearlet_synthesisComputes the inverse discrete shearlet transform
shearlet_compute_energy_per_subbandComputes the energy per subband, useful for subband normalization.

Functions

pseudo_polargrid

Constructs of a pseudo-polar grid

[r, theta] = pseudo_polargrid(M : int, N : int)

Parameters

Mthe height of the grid (# samples in the y-direction)
Nthe width of the grid (# samples in the x-direction)
rthe radial components
thetathe angular components

wedge_filter

Computes shearlet wedge filters

function G = wedge_filter(sz,K,bw)

Parameters

szthe size of the input image
Kthe number of orientations
bwthe transition bandwidth (pi/32..pi/2)

meyer_radial_wavelet_filters

Computes Meyer radial wavelet filters used in the implementation of the discrete shearlet transform.

function H=meyer_radial_wavelet_filters(sz,J)

Parameters

szthe size of the input images
Jthe number of scales of the transform

subsample_fft

Computes a subsampling operation in FFT domain

subsample_fft(x, D)

Parameters

xDFT input coefficients
yDFT output coefficients
Dsubsampling factor

upsample_fft

Computes an upsampling operation in FFT domain

function y = upsample_fft(x, D)

Parameters

xDFT input coefficients
yDFT output coefficients
Dupsampling factor

pyramid_fft

Pyramid decomposition in FFT domain

function w = pyramid_fft(x, af, df)

Parameters

xDFT coefficients of the input image
afDFT coefficients of the analysis/synthesis filters
dfthe decimation factors for each filter

ipyramid_fft

Pyramid reconstruction in FFT domain

function y = ipyramid_fft(w, af, df)

Parameters

wFFT pyramid coefficients
afDFT coefficients of the analysis/synthesis filters
dfthe upsampling factors for each filter

shearlet_analysis

Computes the discrete shearlet transform

function w = shearlet_analysis(x, J, K, af, G, decimate=1)

Parameters

xinput image (real-valued or complex-valued)
Jnumber of scales
Knumber of orientations
afanalysis wavelet filters
Ganalysis shearing filters
decimateperform radial decimation (to reduce the redunancy without loss of information).

shearlet_synthesis

Computes the inverse discrete shearlet transform

function y = shearlet_synthesis(w, J, K, af, G, decimate=1)
wshearlet/scaling coefficients
Jnumber of scales
Knumber of orientations
afsynthesis wavelet filters
Gsynthesis shearing filters
decimateshearlet coefficients are computed with radial decimation

shearlet_compute_energy_per_subband

Computes the energy per subband, useful for subband normalization.

function e = shearlet_compute_energy_per_subband(J, K, af, G)

Parameters

Jnumber of scales
Knumber of orientations
afsynthesis wavelet filters
Gsynthesis shearing filters
Close