Preprocessing and Postprocessing Images

Image Processing Toolbox provides reference-standard algorithms for preprocessing and postprocessing tasks that solve frequent system problems, such as interfering noise, low dynamic range, out-of-focus optics, and the difference in color representation between input and output devices.

Image Enhancement

Image enhancement techniques in Image Processing Toolbox enable you to increase the signal-to-noise ratio and accentuate image features by modifying the colors or intensities of an image. You can:

  • Perform histogram equalization
  • Perform decorrelation stretching
  • Remap the dynamic range
  • Adjust the gamma value
  • Perform linear, median, or adaptive filtering

The toolbox includes specialized filtering routines and a generalized multidimensional filtering function that handles integer image types, offers multiple boundary-padding options, and performs convolution and correlation. Predefined filters and functions for designing and implementing your own linear filters are also provided.

Contrast Enhancement Techniques
Enhancing grayscale and truecolor images with adaptive histogram equalization.

Image Deblurring

Image deblurring algorithms in Image Processing Toolbox include blind, Lucy-Richardson, Wiener, and regularized filter deconvolution, as well as conversions between point spread and optical transfer functions. These functions help correct blurring caused by out-of-focus optics, movement by the camera or the subject during image capture, atmospheric conditions, short exposure time, and other factors. All deblurring functions work with multidimensional images.

Deblurring Images Using a Regularized Filter
Restoring a blurred and noisy image using a constrained least square restoration algorithm.

Deblurring Images Using the Blind Deconvolution Algorithm
Restoring an image when no information about the distortion is available.

Device-Independent Color Management

Device-independent color management in Image Processing Toolbox enables you to accurately represent color independently from input and output devices. This is useful when analyzing the characteristics of a device, quantitatively measuring color accuracy, or developing algorithms for several different devices. With specialized functions in the toolbox, you can convert images between device-independent color spaces, such as sRGB, XYZ, xyY, L*a*b*, uvL, and L*ch.

Color-Based Segmentation Using the L*a*b* Color Space
Identifying different colors by analyzing an image in an alternative color space.

For more flexibility and control, the toolbox supports profile-based color space conversions using a color management system based on ICC version 4. For example, you can import n-dimensional ICC color profiles, create new or modify existing ICC color profiles for specific input and output devices, specify the rendering intent, and find all compliant profiles on your machine.

Image Transform

Image transforms such as FFT and DCT play a critical role in many image processing tasks, including image enhancement, analysis, restoration, and compression. Image Processing Toolbox provides several image transforms, including Radon and fan-beam projections. You can reconstruct images from parallel-beam and fan-beam projection data (common in tomography applications). Image transforms are also available in MATLAB and Wavelet Toolbox™.

Reconstructing an Image from Projection Data
Comparing the reconstruction of an image using parallel (Radon) and fan-beam geometries.

Image Conversion

Image conversions between data classes and image types are a common requirement for imaging applications. Image Processing Toolbox provides a variety of utilities for conversion between data classes, including single- and double-precision floating-point and signed or unsigned 8-, 16-, and 32-bit integers. The toolbox includes algorithms for conversion between image types, including binary, grayscale, indexed color, and truecolor. Specifically for color images, the toolbox supports a variety of color spaces (such as YIQ, HSV, and YCrCb) as well as Bayer pattern encoded and high dynamic range images.

Try Image Processing Toolbox

Get free trial software

Introduction to Data Analysis in MATLAB for Life Scientists

View webinar