Main Content

Image Transforms

Perform Fourier, discrete cosine, Hough, Radon, and fan-beam transforms

An image transform converts an image from one domain to another. Images are usually acquired and displayed in the spatial domain, in which adjacent pixels represent adjacent parts of the scene. However, images can also be acquired in other domains, such as the frequency domain in which adjacent pixels represent adjacent frequency components, or the Hough domain in which adjacent pixels represent adjacent projection angles and radial distances. Viewing and processing an image in nonspatial domains can enable the identification of features that are less easily detected in the spatial domain.

Functions

houghHough transform
houghlinesExtract line segments based on Hough transform
houghpeaksIdentify peaks in Hough transform
radonRadon transform
iradonInverse Radon transform
fanbeamFan-beam transform
ifanbeamInverse fan-beam transform
fan2paraConvert fan-beam projections to parallel-beam
para2fanConvert parallel-beam projections to fan-beam
fft22-D fast Fourier transform
fftshiftShift zero-frequency component to center of spectrum
ifft22-D inverse fast Fourier transform
ifftshiftInverse zero-frequency shift
dct22-D discrete cosine transform
idct22-D inverse discrete cosine transform
dctmtxDiscrete cosine transform matrix

Topics

  • Fast Fourier Transform

    Learn about the Fourier transform and some of its applications in image processing, particularly in image filtering.

  • Discrete Cosine Transform

    Learn about the discrete cosine transform (DCT) of an image and its applications, particularly in image compression.

  • Hough Transform

    The Hough transform detects lines in a binary image, including lines tilted at arbitrary angles from vertical and horizontal.

  • Radon Transform

    The Radon transform calculates parallel-beam projections of a grayscale image at different rotation angles, typically for use in tomographic reconstruction.

  • The Inverse Radon Transformation

    The inverse Radon transform reconstructs an image from a set of parallel-beam projection data across many projection angles.

  • Fan-Beam Projection

    Use fan-beam projection and reconstruction when projections of an image are acquired along paths radiating from a point source. Medical tomography is a common application of fan-beam projection.

  • Principal Component Analysis of Images

    Principal component analysis (PCA) is a statistical technique used to reduce the number of variables per sample, also known as the dimensionality, of large data sets while preserving as much important information as possible. (Since R2026a)

Featured Examples