Main Content

本页的翻译已过时。点击此处可查看最新英文版本。

图像配准

使用强度相关性、特征匹配或控制点映射来对齐两个图像

Image Processing Toolbox™ 和 Computer Vision Toolbox™ 一共提供四种图像配准解决方案:使用图像配准器的交互式配准、基于强度的自动图像配准、控制点配准和自动特征匹配。有关选择使用哪种方法的帮助,请参阅Approaches to Registering Images

App

图像配准器配准二维灰度图像

函数

全部展开

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
imregmtbRegister 2-D images using median threshold bitmaps
normxcorr2归一化二维互相关性
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
fitgeotrans对控制点对组进行几何变换拟合
cpcorrTune control point locations using cross-correlation
cpstruct2pairsExtract valid control point pairs from cpstruct structure
imwarp对图像应用几何变换

对象

全部展开

imref2dReference 2-D image to world coordinates
imref3dReference 3-D image to world coordinates
affine2d二维仿射几何变换
affine3d 3-D affine geometric transformation
projective2d 2-D projective geometric transformation

主题

以交互方式配准图像

Register Images Using Registration Estimator App

This example shows how to align a pair of images using the 图像配准器 app.

Techniques Supported by Registration Estimator App

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

使用基于强度的优化配准图像

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.

为基于强度的图像配准创建优化器和指标

选择适用于单模态或多模态图像的图像指标和优化器。

Use Phase Correlation as Preprocessing Step in Registration

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

Registering an Image Using Normalized Cross-Correlation

This example shows how to determine the translation needed to align a cropped subset of an image with the larger image.

使用控制点映射配准图像

Control Point Registration

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

Geometric Transformation Types for Control Point Registration

Control point registration can infer the parameters for nonreflective similarity, affine, projective, polynomial, piecewise linear, and local weighted mean transformations.

控制点选择过程

要以交互方式指定一对图像中的控制点,请使用控制点选择工具。

Use Cross-Correlation to Improve Control Point Placement

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

特色示例