Main Content

Image Registration

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

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 Choose Image Registration Technique.


Registration EstimatorRegister 2-D grayscale images


expand all

imregisterIntensity-based image registration
imregconfigConfigurations for intensity-based registration
imregtformEstimate 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
imregmtbRegister 2-D images using median threshold bitmaps
normxcorr2Normalized 2-D cross-correlation
MattesMutualInformationMattes mutual information metric configuration
MeanSquaresMean square error metric configuration
RegularStepGradientDescentRegular step gradient descent optimizer configuration
OnePlusOneEvolutionaryOne-plus-one evolutionary optimizer configuration
cpselectControl Point Selection tool
fitgeotform2dFit 2-D geometric transformation to control point pairs (Since R2022b)
cpcorrTune control point locations using cross-correlation
cpstruct2pairsExtract valid control point pairs from cpstruct structure
imwarpApply geometric transformation to image
imref2dReference 2-D image to world coordinates
imref3dReference 3-D image to world coordinates


Register Images Interactively

Register Images Using Intensity-Based Optimization

Register Images Using Control Point Mapping