Together, Image Processing Toolbox™ and Computer Vision Toolbox™ offer four image registration solutions: interactive registration with the Registration Estimator app, intensity-based automatic image registration, control point registration, and automated feature matching. For help selecting which approach to use, see Approaches to Registering Images.
|Registration Estimator||Register 2-D grayscale images|
|Intensity-based image registration|
|Configurations for intensity-based registration|
|Estimate geometric transformation that aligns two 2-D or 3-D images|
|Estimate geometric transformation that aligns two 2-D images using phase correlation|
|Estimate displacement field that aligns two 2-D or 3-D images|
|Register 2-D images using median threshold bitmaps|
|Normalized 2-D cross-correlation|
|Mattes mutual information metric configuration|
|Mean square error metric configuration|
|Regular step gradient descent optimizer configuration|
|One-plus-one evolutionary optimizer configuration|
Control Point Registration
Register Images Interactively
This example shows how to align a pair of images using the Registration Estimator app.
- Load Images, Spatial Referencing Information, and Initial Transformation
- Tune Registration Settings in Registration Estimator App
- Export Results from Registration Estimator App
Registration Estimator app provides algorithms for feature-based, intensity-based, and nonrigid registration.
Register Images Using Intensity-Based Optimization
Intensity-based automatic image registration uses a similarity metric, an optimizer, and a transformation type to register two images iteratively.
Select an image metric and an optimizer suitable for either monomodal or multimodal images.
Phase correlation is useful to estimate an initial transformation when images are severely misaligned.
This example shows how to determine the translation needed to align a cropped subset of an image with the larger image.
Register Images Using Control Point Mapping
To determine the parameters of a transformation, you can pick corresponding points in a pair of images.
Control point registration can infer the parameters for nonreflective similarity, affine, projective, polynomial, piecewise linear, and local weighted mean transformations.
To specify control points in a pair of images interactively, use the Control Point Selection Tool.
- Start the Control Point Selection Tool
- Find Visual Elements Common to Both Images
- Select Matching Control Point Pairs
- Export Control Points to the Workspace
Fine-tune your control point selections using cross-correlation.