This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.

Image Registration

Align two images using intensity correlation, feature matching, or control point mapping

Together, Image Processing Toolbox™ and Computer Vision System Toolbox™ offer four image registration solutions: interactive registration with a Registration Estimator app, intensity-based automatic image registration, control point registration, and automated feature matching. For help in choosing among the approaches, see Approaches to Registering Images.


Registration EstimatorRegister 2-D grayscale images


imregisterIntensity-based image registration
imregconfigConfigurations for intensity-based registration
imregtform Estimate geometric transformation that aligns two 2-D or 3-D images
imregcorrEstimate geometric transformation that aligns two 2-D images using phase correlation
imregdemonsEstimate displacement field that aligns two 2-D or 3-D images
cpselect Control Point Selection tool
fitgeotransFit geometric transformation to control point pairs
cpcorrTune control point locations using cross-correlation
cpstruct2pairsExtract valid control point pairs from cpstruct structure
imwarpApply geometric transformation to image

Using Objects

MattesMutualInformationMattes mutual information metric configuration
MeanSquaresMean square error metric configuration
RegularStepGradientDescentRegular step gradient descent optimizer configuration
OnePlusOneEvolutionaryOne-plus-one evolutionary optimizer configuration
imref2d Reference 2-D image to world coordinates
imref3d Reference 3-D image to world coordinates
affine2d2-D affine geometric transformation
affine3d 3-D affine geometric transformation
projective2d 2-D projective geometric transformation
PiecewiseLinearTransformation2D2-D piecewise linear geometric transformation
PolynomialTransformation2D2-D polynomial geometric transformation
LocalWeightedMeanTransformation2D 2-D local weighted mean geometric transformation


Register Images Interactively

Register Images Using the Registration Estimator App

This example shows how to use the Registration Estimator app to align a pair of images.

Techniques Supported by Registration Estimator App

Registration Estimator app provides ten algorithms for feature-based, intensity-based, and nonrigid registration.

Register Images Using Intensity-Based Optimization

Intensity-Based Automatic Image Registration

Intensity-based automatic image registration uses a similarity metric, an optimizer, and a transformation type to register two images iteratively.

Create an Optimizer and Metric for Intensity-Based Image Registration

Select an image metric and an optimizer suitable for either monomodal or multimodal images.

Use Phase Correlation as Preprocessing Step in Registration

Phase correlation is useful to estimate an initial transformation when images are severely misaligned.

Registering Multimodal MRI Images

This example shows how to align two multimodal MRI images to a common coordinate system using automatic intensity-based image registration.

Register Images Using Control Point Mapping

Control Point Registration

To determine the parameters of a transformation, you can pick corresponding points in a pair of images.

Control Point Selection Procedure

To specify control points in a pair of images interactively, use the Control Point Selection Tool.

Use Cross-Correlation to Improve Control Point Placement

Fine-tune your control point selections using cross-correlation.

Register an Aerial Photograph to a Digital Orthophoto

This example shows how to use control point mapping to register two images with a projective transformation.

Was this topic helpful?