主要内容

特征检测和提取

图像配准、相关点检测、特征描述符提取、点特征匹配和图像检索

局部特征及其描述符是许多计算机视觉算法的构建块。其应用包括图像配准、目标检测和分类、跟踪、运动估计和基于内容的图像检索 (CBIR)。这些算法使用局部特征来更好地处理缩放变化、旋转和遮挡。Computer Vision Toolbox™ 算法包括 FAST、哈里斯和 Shi & Tomasi 角点检测器,以及 SIFT、SURF、KAZE 和 MSER 斑点检测器。工具箱包括 SIFT、SURF、FREAK、BRISK、LBP、ORB 和 HOG 描述符。您可以根据应用的要求混合搭配检测器和描述符。

App

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

函数

全部展开

detectBRISKFeaturesDetect BRISK features
detectFASTFeaturesDetect corners using FAST algorithm
detectHarrisFeatures使用哈里斯-斯蒂芬斯算法检测角点
detectKAZEFeaturesDetect KAZE features
detectMinEigenFeaturesDetect corners using minimum eigenvalue algorithm
detectMSERFeaturesDetect MSER features
detectORBFeaturesDetect ORB keypoints
detectSIFTFeaturesDetect scale invariant feature transform (SIFT) features (自 R2021b 起)
detectSURFFeatures检测 SURF 特征
extractFeaturesExtract interest point descriptors
extractLBPFeaturesExtract local binary pattern (LBP) features
extractHOGFeaturesExtract histogram of oriented gradients (HOG) features
matchFeaturesFind matching features
matchFeaturesInRadiusFind matching features within specified radius (自 R2021a 起)
estgeotform2dEstimate 2-D geometric transformation from matching point pairs (自 R2022b 起)
estgeotform3dEstimate 3-D geometric transformation from matching point pairs (自 R2022b 起)
imwarp对图像应用几何变换
imblendBlend two images (自 R2024b 起)
vision.BlockMatcherEstimate motion between images or video frames
vision.TemplateMatcherLocate template in image
insertMarkerInsert markers in image or video
insertShapeInsert shapes in image or video
showMatchedFeaturesDisplay corresponding feature points
showShapeDisplay shapes on image, video, or point cloud
insertObjectAnnotationAnnotate truecolor or grayscale image or video
insertObjectKeypointsInsert object keypoints in image (自 R2023b 起)
insertTextInsert text in image or video
imshow显示图像
imshowpair比较图像之间的差异
vision.ChromaResamplerDownsample or upsample chrominance components of images
binaryFeaturesObject for storing binary feature vectors
BRISKPoints用于存储 BRISK 相关点的对象
cornerPointsObject for storing corner points
KAZEPointsObject for storing KAZE interest points
MSERRegionsObject for storing MSER regions
ORBPointsObject for storing ORB keypoints
SIFTPointsObject for storing SIFT interest points (自 R2021b 起)
SURFPointsObject for storing SURF interest points
rigidtform2d2-D rigid geometric transformation (自 R2022b 起)
simtform2d2-D similarity geometric transformation (自 R2022b 起)
affinetform2d二维仿射几何变换 (自 R2022b 起)
projtform2d二维投影几何变换 (自 R2022b 起)
rigidtform3d3-D rigid geometric transformation (自 R2022b 起)
simtform3d3-D similarity geometric transformation (自 R2022b 起)

创建识别数据库

bagOfFeaturesBag of visual words object
invertedImageIndexSearch index that maps visual words to images

检索图像

retrieveImagesSearch image set for similar image
imageDatastore图像数据的数据存储
evaluateImageRetrievalEvaluate image search results

主题

精选示例