Performs the backward dual-tree complex wavelet transform
Computes the inverse 2D DWT.
Untiled inplace version of the idwt2d
Computes the 1D inverse Discrete Fourier Transform (DFT) of x along the last dimension that has size != 1.
Computes the 2D inverse Discrete Fourier Transform (DFT) of x along the first (0) and second (1) dimension of x
Computes the 3D inverse Discrete Fourier Transform (DFT) of x.
The inverse operation of fftshift1
The inverse operation of fftshift2
The inverse operation of fftshift3
Returns the imaginary part of a complex number / matrix
The morphological closing on an image is defined as an dilation followed by a erosion.
Mathematical dilation computes for every pixel (i,j) the maximum over all pixels in the window centered at (i,j), according to the given mask.
Performs histogram equalization
Mathematical erosion computes for every pixel (i,j) the minimum over all pixels in the window centered at (i,j), according to the given mask.
Applies a 2D finite impulse response (FIR) filter to an image.
Applies a 2D separable impulse response (FIR) filter to an image
Computes the histogram of an image
Computes the joint histogram of two images
The morphological opening on an image is defined as an erosion followed by a dilation.
Reads an image input file.
Performs image resizing using the specified interpolation kernel
Image visualization function.
Saves an image as a file
Converts a floating point number to integer
Performs one-dimensional interpolation
Get a device function that can be used for one-dimensional interpolation
Performs two-dimensional interpolation
Get a device function that can be used for two-dimensional interpolation
Checks whether a ray intersects with a given box (and also computes the intersection)
Computes the inverse of a squared matrix
Computes the inverse of a function
Untiled inplace version of the 2d inverse wavelet packet transform
Pyramid reconstruction in FFT domain
Checks whether a given kernel is separable, and if so, returns the separable components
Returns true only if the image is a grayscale image
Returns true only if the image is an RGB image
returns 1 if x is a cell matrix, 0 otherwise
returns 1 if x is complex-valued, 0 otherwise
returns 1 if x is a cube (max.
returns 1 if the number of elements of x is 0 and 0 otherwise.
Returns 1 if x is finite, 0 otherwise
returns 1 if x is a function, 0 otherwise
Returns 1 if x is infinite, 0 otherwise
returns 1 if x is a kernel function, 0 otherwise
returns 1 if x is a matrix (max.
Returns 1 if x is NaN, 0 otherwise
returns 1 if x is an object, 0 otherwise
returns 1 if x is real-valued, 0 otherwise
returns 1 if x is scalar, 0 otherwise
returns 1 if x is a string, 0 otherwise
returns 1 if x is a vector (max.
Hiep’s kernelshift function: pads a given filter kernel (mask) with zeros so that it has the dimensions rows x cols.
Computes the Kronecker product of two matrices
Computes the color decorrelating transform using Principal Component Analysis (PCA) in the L1 sense
performs linear interpolation between a and b (with weight d)
Linearize a cell array, i.e.
Returns a linearly spaced vector from a (inclusive) to b (inclusive), containing c elements.
Loads variables from a file
Computes the natural logarithm of x
Computes the logarithm of x base 10
Computes the logarithm of x base 2
Logarithm of the determinant of a real-valued matrix
Solve the linear system of equations A·X = B (where X is a vector)
Mathematical functions that can be used in both device/kernel functions or host code.
Computes the maximum value of all elements x.
Returns the maximum block size that can be used for the function parallel_do.
compute the median along the rows...
Generate matrices with coordinates for a 2D Cartesian grid
Computes Meyer radial wavelet filters used in the implementation of the discrete shearlet transform.
Computes the minimum value of all elements x.
Mirror extension of the input coordinate between [0,p[
Computes the modulus of x after division by a
Generic prototype for ANY morphological filter in this module
returns the number of dimensions of x
returns the next integer power of two
converts a number to string
Returns the number of elements in x
Creates an empty untyped object, which can be used to store data.
Creates a one-initialized real-valued data vector of length a
Computes filter coefficients for an orthogonal wavelet
Lauches a given kernel function fn in parallel to every element of a certain matrix
Delays the program for “delay” milliseconds
Computes the color decorrelating transform using Principal Component Analysis (PCA) in the L2 sense
Performs a packet dual-tree complex wavelet transform
Untiled inplace version of the 2d wavelet packet transform
Periodic extension of input coordinate between [0,p[.
the constant pi
Computes the inverse packet dual-tree complex wavelet transform
Computes the pseudo-inverse of a matrix
Data visualization function
polynomial fitting
polynomial curve evaluation
Returns x to the power a.
returns the previous integer power of two
Find the edge magnitude using the prewith filters.
Prints text to the console
C-like printing to the console
Computes the product of all elements of a matrix (along all dimensions)
Computes a 2D power spectral density for noise in CT images caused by the filtered back projection algorithm (with Hann smoothing filter)
Computes a 2D power spectral density for noise in CT images caused by the filtered back projection algorithm (with ramp filtering)
Computes a 2D power spectral density for noise in MRI images caused by combined effects of the elliptical filter and partial kspace acquisition
Computes the power spectral density for Gaussian Lumpy backgrounds (mainly intended for medical image quality assessment, used in channelized Hotelling observer models)
Computes a 2D power spectral density for noise in MRI images with the elliptical filter
Computes a 2D power spectral density for 1/f noise (vertical line noise)
Computes a 2D power spectral density for radial 1/f noise
Computes a simple (example) model for noise in PAL TV
Computes a 2D power spectral density for noise in MRI images caused by partial kspace acquisition
Constructs of a pseudo-polar grid
Computation of the Peak-Signal-To-Noise (PSNR) ratio
Pyramid decomposition in FFT domain
Contains some general routines that are often used in Bregman/Primal Dual iterative algorithms.
The functions listed in this document are implemented in the Quasar runtime library (Quasar.exe).
Import colormap.q if you wish to use MATLAB style color maps for visualization using the imshow function.
Various utility functions for performing color conversions/transformations/etc.
Implementation of the discrete shearlet transform, according to our LNLA 2009 Paper:
Computation of 1D and 2D discrete Dual-Tree complex wavelet transforms.
Computation of 1D and 2D discrete wavelet transforms
This file contains very useful functions for linear image filtering, as well as routines to check whether a given filter mask is separable.
This file contains routines for computing 1D and 2D histograms of images and performing histogram equalization.
Quasar library for linear algebra routines.
This library contains several multiresolution transforms, and allows image processing algorithms to use the same interface to each of these transforms.
The system library for Quasar: contains functions that are not built-in, but that are very often used.