Version 3.0 (R12+) Image Processing Toolbox

This table summarizes what's new in Version 3.0 (R12+):

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known ProblemsRelated Documentation at Web Site
Yes
Details below
No
NoNo

New features and changes introduced in this version are

Morphology

This release adds a broad suite of new mathematical morphology tools open up broad new classes of applications in segmentation and image enhancement

The existing dilation and erosion operators have been extended to work with grayscale images. New functions range from additional basic operators (morphological opening and closing) to advanced tools useful for segmentation (distance transforms, reconstruction-based operators, and the watershed transform). The functions use advanced techniques for high performance, including automatic-structuring element decomposition, 32-bit binary image packing, and queue-based algorithms.

Function

Description

bwareaopen

Binary area open (remove small objects)

bwdist

Distance transform

bwhitmiss

Binary hit-miss operation

bwlabeln

Label-connected components in N-D binary image

bwpack

Pack binary image

bwulterode

Ultimate erosion

bwunpack

Unpack binary image

conndef

Default connectivity array

imbothat

Perform bottom-hat filtering

imclearborder

Suppress light structures connected to image border

imclose

Close image

imdilate

Dilate image

imerode

Erode image

imextendedmax

Extended-maxima transform

imextendedmin

Extended-minima transform

imfill

Fill image regions and holes

imhmax

H-maxima transform

imhmin

H-minima transform

imimposemin

Impose minima

imopen

Open image

imreconstruct

Morphological reconstruction

imregionalmax

Regional maxima

imregionalmin

Regional minima

imtophat

Tophat filtering

strel

Create morphological structuring element

strel/getheight

Get structuring element height

strel/getnhood

Get structuring element neighborhood

strel/getsequence

Get sequence of decomposed structuring elements

strel/isflat

Return true for flat structuring element

strel/reflect

Reflect structuring element about its center

strel/translate

Translate structuring element

watershed

Find image watershed regions

Spatial Transformations

This release includes functions for applying a variety of spatial transformations to images and to points. This is a core computational capability. Supported transform types include affine, projective, and user-defined custom transformations. Multidimensional transformations are supported, where you can control which dimensions are the transform dimensions. For example, you can apply a two-dimensional transform to an RGB image, and each color plane is automatically transformed the same way. You can even control the type of interpolation independently along each dimension, and specify interpolants that you define.

Function

Description

checkerboard

Create checkerboard image

findbounds

Find output bounds for geometric transformation

fliptform

Flip the input and output roles of a TFORM struct

imtransform

Apply geometric transformation to image

makeresampler

Create resampler structure

maketform

Create geometric transformation structure (TFORM)

tformarray

Geometric transformation of a multidimensional array

tformfwd

Apply inverse geometric transformation

tforminv

Apply forward geometric transformation

Image Registration

The toolbox includes several new functions useful for registering (aligning) two images. This is critical in remote sensing and medical imaging, for example. There are functions for inferring various spatial transformations from control-point pairs, for the subpixel adjustment of control-point pair locations, and for normalized cross-correlation. There is also a graphical user interface (GUI) for selecting control-point pairs in a pair of images.

Function

Description

cp2tform

Infer spatial transformation from control-point pairs

cpcorr

Tune control-point locations using cross-correlation

cpselect

Control-point selection tool (graphical user interface)

cpstruct2pairs

Convert CPSTRUCT to valid pairs of control points

normxcorr2

Normalized two-dimensional cross-correlation

Integer Image Arithmetic

The toolbox includes new functions for performing arithmetic on image arrays without converting them to double-precision. In addition to the basic operations (add, subtract, multiply, and divide), there are several key functions (absolute difference, linear combination, and complementation) that cannot readily be implemented in terms of the basic operations.

Function

Description

imabsdiff

Absolute difference of two images

imadd

Add two images, or add constant to image

imcomplement

Complement image

imdivide

Divide two images, or divide image by constant

imlincomb

Linear combination of images

immultiply

Multiply two images, or multiply image by constant

imsubtract

Subtract two images, or subtract constant from image

Integer Image Filtering

The toolbox includes a function for performing filtering on image arrays without converting them to double precision, a significant memory savings in a common operation. You can specify several different boundary padding options. You can also perform higher dimensional filtering.

Function

Description

imfilter

Filter 2-D and N-D images

Deconvolution/Deblurring

The toolbox adds support for several fundamental algorithms for the deconvolution (deblurring) of images. All of the functions support multidimensional problems.

Function

Description

deconvblind

Deblur image using blind deconvolution algorithm [New with Version 3.1]

deconvlucy

Deblur image using Lucy-Richardson algorithm

deconvreg

Regularized deconvolution

deconvwnr

Wiener deconvolution

edgetaper

Taper image edges according to PSF

fspecial

Existing function; added 'disk' and 'motion' options

otf2psf

Convert optical transfer function to point-spread function

psf2otf

Convert point-spread function to optical transfer function

Support for DICOM Files

The toolbox adds functions for reading image data and metadata from DICOM files. DICOM is an important file and network interchange standard in the area of medical imaging.

Function

Description

dicomread

Read image data from DICOM file

dicominfo

Read metadata from DICOM file

Miscellaneous New Functions

This release includes several new utility functions or previously undocumented utility functions. Most of these were created to support functions in the key feature categories, such as deconvolution.

Function

Description

circshift

Shift array circularly

Note: This function was moved into MATLAB in release 3.2 of the Image Processing Toolbox software.

graythresh

Compute global image threshold using Otsu's method (image enhancement)

im2mis

Convert image to Java MemoryImageSource

Note: This function was renamed to im2java and moved into MATLAB in release 3.2 of the Image Processing Toolbox software.

imnoise

Added support for new noise types: 'poisson' and 'localvar'

label2rgb

Convert label matrix to RGB image [New for Version 3.1]

padarray

Pad array

regionprops

Renamed from existing function imfeature; extended to N-D

stretchlim

Find limits to contrast stretch an image

New Demos

The Image Processing Toolbox includes the 15 new demos, presented in HTML form.

Demo Name

Brief Description

ipexconformal

Explore a Conformal Mapping: illustrates how to use spatial- and image-transformation functions to perform a conformal mapping.

ipexdeconvblind

Deblurring Images Using the Lucy-Richardson algorithm: illustrates use of the deconvlucy function. [New with Version 3.1]

ipexdeconvlucy

Deblurring Images Using the Lucy-Richardson algorithm: illustrates use of the deconvlucy function.

ipexdeconvreg

Deblurring Images Using a Regularized Filter: illustrates use of the deconvreg function.

ipexdeconvwnr

Deblurring Images Using the Wiener Filter: illustrates use of the deconvwnr function.

ipexgranulometry

Finding the Granulometry of Stars in an Image: illustrates how to use morphology functions to perform granulometry.

ipexmri

Extracting Slices from a 3-Dimensional MRI Data Set: illustrates how to use the image transformation functions to interpolate and reslice a three-dimensional MRI data set, providing a convenient way to view a volume of data.

ipexnormxcorr2

Registering an Image Using Normalized Cross-correlation: illustrates how to use translation to align two images.

ipexregaerial

Registering an Aerial Photo to an Orthophoto: illustrates how to use the Control Point Selection Tool to align two images.

ipexrotate

Finding the Rotation and Scale of a Distorted Image: illustrates how to use the cp2tform function to get the rotation angle and scale factor of a distorted image.

ipexsegcell

Detecting a Cell Using Image Segmentation: illustrates how to use dilation and erosion to perform edge detection.

ipexsegmicro

Detecting Microstructures Using Image Segmentation: illustrates how to use morphological opening and closing to extract large objects from an image.

ipexsegwatershed

Detecting Touching Objects Using Watershed Segmentation: illustrates use of morphology functions to perform marker-control watershed segmentation.

ipexshear

Padding and Shearing an Image Simultaneously: illustrates how to use the padding options of the image transformation functions.

ipextform

Creating a Gallery of Transformed Images: illustrates how to use the imtransform function to perform many types of image transformations.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS