主要内容

本页翻译不是最新的。点击此处可查看最新英文版本。

图像配准

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

图像配准是对齐两个或多个图像的过程。此过程涉及将一个图像指定为参考图像,亦称固定图像,并对另一个图像应用几何变换或局部位移,以使其与参考图像对齐。图像可能会因为各种原因而未对齐。通常,图像是在可变条件下捕获的,这些条件会改变相机视角或场景内容。

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

App

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

函数

全部展开

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 cross 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
fitgeotform2d根据控制点对组进行二维几何变换拟合 (自 R2022b 起)
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

主题

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

使用控制点映射配准图像

  • Control Point Registration
    To determine the parameters of a geometric transformation, you can pick corresponding pairs of points in two images.
  • Select Matching Control Point Pairs
    Use the Control Point Selection tool to pick control points in the image to be registered and corresponding points in the fixed image.

精选示例