Main Content

Image Transforms

Perform Fourier, discrete cosine, 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
dct22-D discrete cosine transform
dctmtxDiscrete cosine transform matrix
fan2paraConvert fan-beam projections to parallel-beam
fanbeamFan-beam transform
idct22-D inverse discrete cosine transform
ifanbeamInverse fan-beam transform
iradonInverse Radon transform
para2fanConvert parallel-beam projections to fan-beam
radonRadon transform
fft22-D fast Fourier transform
fftshiftShift zero-frequency component to center of spectrum
ifft22-D inverse fast Fourier transform
ifftshiftInverse zero-frequency shift

Topics

  • 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 an image, including lines tilted at arbitrary angles from vertical and horizontal. The Hough transform tends to be quick, but can exhibit artifacts.

  • Radon Transform

    The Radon transform detects lines in an image, including lines tilted at arbitrary angles from vertical and horizontal. The Radon transform tends to be more accurate at the cost of longer computation time.

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

Featured Examples