Image Processing Toolbox | ![]() ![]() |
This chapter provides detailed descriptions of the functions in the Image Processing Toolbox. It begins with a list of functions grouped by subject area and continues with the reference entries in alphabetical order.
The tables below list all functions in the Image Processing Toolbox, plus a few functions in MATLAB that are especially useful for image processing. All of the functions listed have reference entries in this User's Guide, with the following exceptions:
imread
, imfinfo
, and imwrite
have entries in this reference because they are essential to image file I/O. Image Display | |
|
Display colorbar. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Get image data from axes |
|
Create and display image object. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Scale data and display as image. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Make movie from multiframe indexed image |
|
Display image |
|
Display multiple image frames as rectangular montage |
|
Display multiple images in single figure |
|
Adjust display size of image |
|
Display image as texture-mapped surface |
|
Zoom in and out of image or 2-D plot. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
Image File I/O | |
|
Return information about image file. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Read image file. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Write image file. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
Geometric Operations | |
|
Crop image |
|
Resize image |
|
Rotate image |
|
2-D data interpolation. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
Pixel Values and Statistics | |
|
Compute 2-D correlation coefficient |
|
Create contour plot of image data |
|
Compute feature measurements for image regions |
|
Display histogram of image data |
|
Determine pixel color values |
|
Compute pixel-value cross-sections along line segments |
|
Compute mean of matrix elements |
|
Display information about image pixels |
|
Compute standard deviation of matrix elements |
Image Analysis | |
|
Find edges in intensity image |
|
Perform quadtree decomposition |
|
Get block values in quadtree decomposition |
|
Set block values in quadtree decomposition |
Image Enhancement | |
|
Enhance contrast using histogram equalization |
|
Adjust image intensity values or colormap |
|
Add noise to an image |
|
Perform 2-D median filtering |
|
Perform 2-D order-statistic filtering |
|
Perform 2-D adaptive noise-removal filtering |
Linear Filtering | |
|
Perform 2-D convolution. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Compute 2-D convolution matrix |
|
Perform N-D convolution. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Perform 2-D filtering. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Create predefined filters |
Linear 2-D Filter Design | |
|
Determine 2-D frequency response spacing. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Compute 2-D frequency response |
|
Design 2-D FIR filter using frequency sampling |
|
Design 2-D FIR filter using frequency transformation |
|
Design 2-D FIR filter using 1-D window method |
|
Design 2-D FIR filter using 2-D window method |
Image Transforms | |
|
Compute 2-D discrete cosine transform |
|
Compute discrete cosine transform matrix |
|
Compute 2-D fast Fourier transform. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Compute N-D fast Fourier transform. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Reverse quadrants of output of FFT. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Compute 2-D inverse discrete cosine transform |
|
Compute 2-D inverse fast Fourier transform. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Compute N-D inverse fast Fourier transform. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Compute inverse Radon transform |
|
Generate a head phantom image |
|
Compute Radon transform |
Neighborhood and Block Processing | |
|
Choose block size for block processing |
|
Implement distinct block processing for image |
|
Rearrange matrix columns into blocks |
|
Perform neighborhood operations using columnwise functions |
|
Rearrange image blocks into columns |
|
Perform general sliding-neighborhood operations |
Binary Image Operations | |
|
Perform neighborhood operations using lookup tables |
|
Compute area of objects in binary image |
|
Compute Euler number of binary image |
|
Fill background regions in binary image |
|
Label connected components in binary image |
|
Perform morphological operations on binary image |
|
Determine perimeter of objects in binary image |
|
Select objects in binary image |
|
Perform dilation on binary image |
|
Perform erosion on binary image |
|
Construct lookup table for use with applylut |
Region-Based Processing | |
|
Select region of interest, based on color |
|
Smoothly interpolate within arbitrary region |
|
Filter a region of interest |
|
Select polygonal region of interest |
Colormap Manipulation | |
|
Brighten or darken colormap. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Rearrange colors in colormap |
|
Find unique colormap colors and corresponding image |
|
Set or get color lookup table. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Approximate indexed image by one with fewer colors |
|
Plot RGB colormap components. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
Color Space Conversions | |
|
Convert HSV values to RGB color space. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Convert NTSC values to RGB color space |
|
Convert RGB values to HSV color space. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Convert RGB values to NTSC color space |
|
Convert RGB values to YCbCr color space |
|
Convert YCbCr values to RGB color space |
Image Types and Type Conversions | |
|
Convert image using dithering |
|
Convert data to double precision. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Convert intensity image to indexed image |
|
Create indexed image from intensity image by thresholding |
|
Convert image to binary image by thresholding |
|
Convert image array to double precision |
|
Convert image array to 16-bit unsigned integers |
|
Convert image array to 8-bit unsigned integers |
|
Convert indexed image to intensity image |
|
Convert indexed image to RGB image |
|
Return true for binary image |
|
Return true for intensity image |
|
Return true for indexed image |
|
Return true for RGB image |
|
Convert matrix to intensity image |
|
Convert RGB image or colormap to grayscale |
|
Convert RGB image to indexed image |
|
Convert data to unsigned 16-bit integers. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
|
Convert data to unsigned 8-bit integers. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.) |
Toolbox Preferences | |
|
Get value of Image Processing Toolbox preference |
|
Set value of Image Processing Toolbox preference |
Demos | |
dctdemo |
2-D DCT image compression demo |
edgedemo |
Edge detection demo |
firdemo |
2-D FIR filtering and filter design demo |
imadjdemo |
Intensity adjustment and histogram equalization demo |
nrfiltdemo |
Noise reduction filtering demo |
qtdemo |
Quadtree decomposition demo |
roidemo |
Region-of-interest processing demo |
Slide Shows | |
ipss001 |
Region labeling of steel grains |
ipss002 |
Feature-based logic |
ipss003 |
Correction of nonuniform illumination |
![]() | Reference | Alphabetical List of Functions | ![]() |