ImageCorrespondingPoints

ImageCorrespondingPoints[image1,image2]

finds a set of matching interest points in image1 and image2 and returns their pixel coordinates.

Details and Options

  • ImageCorrespondingPoints uses ImageKeypoints to find candidate corresponding points.
  • ImageCorrespondingPoints[image1,image2] returns an expression of the form {points1,points2}, where the pointsi are lists of pixel coordinates representing the matching points in imagei.
  • The following options can be specified:
  • KeypointStrength Automaticminimum strength of the keypoints
    Masking Allregion of interest
    MaxFeatures Automaticmaximum number of keypoints
    Method Automaticthe type of keypoint to use
    TransformationClass Nonegeometrical relation between points
  • With the setting Masking->roi, the set of points is restricted so that the returned points points1 of image1 all lie within the region of interest.
  • With the setting MaxFeatures->n, at most n corresponding points with largest average keypoint strength are returned.
  • By default, a suitable keypoint type is used to find corresponding points. Using Methodmethod, a specific keypoint type or a list of types can be specified.
  • Possible settings for method include:
  • "AKAZE"Accelerated KAZE and binary descriptors
    "BRISK"Binary Robust Invariant Scalable Keypoints
    "KAZE"nonlinear scale-space detector and descriptor
    "ORB"FAST detector and Binary Robust Independent Elementary Features (BRIEF) descriptor
    "SIFT"Scale-Invariant Feature Transform detector and descriptor
    "RootSIFT"SIFT keypoints with an improved descriptor
    "SURF"Speeded-Up Robust Features
    {method1,method2,}combination of various keypoint correspondences
  • Possible settings for TransformationClass include:
  • Noneno geometric constraints
    "Translation"translation only
    "Rigid"translation and rotation
    "Similarity"translation, rotation, and scaling
    "Affine"linear transformation and translation
    "Perspective"linear fractional transformation
    "Epipolar"epipolar transformation, mapping a point in one image to a line in the other image

Examples

open allclose all

Basic Examples  (1)

Corresponding points of two different images of the same object:

Scope  (3)

Corresponding points in binary images:

Corresponding points in grayscale images:

Corresponding points in color images:

Options  (16)

KeypointStrength  (3)

By default, all keypoints are used in finding corresponding points:

Use only keypoints with individual strength greater or equal to a given threshold:

Increasing the threshold typically results in detecting fewer corresponding points:

Masking  (1)

By default, with Masking->All, all detected corresponding points are returned:

With Masking->maskimage, corresponding points of image1 should lie within maskimage:

Display the detected correspondences for the first image:

MaxFeatures  (2)

Return the best correspondences:

The number of returned correspondences may be less than the value of the MaxFeatures option:

Method  (3)

By default, "SURF" keypoints are used to find correspondences:

Use "KAZE" keypoints:

Use a combination of "SURF" and "BRISK" keypoints:

TransformationClass  (7)

By default, the two detected point sets are not constrained geometrically:

Constrain the pair of point sets to be related by an epipolar transformation:

Constrain the pair of point sets to be related by a linear fractional transformation:

Constrain the pair of point sets to be related by an affine transformation:

Constrain the pair of point sets to be related by a similarity transformation:

Constrain the pair of point sets to be related by a rigid transformation:

Constrain the pair of point sets to be related by a translation:

Applications  (3)

Find matching positions for stereovision applications:

Extract the matching patches from two images:

Find the rotation angle between two images:

Properties & Relations  (1)

ImageCorrespondingPoints converts all images to grayscale:

Neat Examples  (1)

Find and visualize matching points in two images of the Moon:

Wolfram Research (2010), ImageCorrespondingPoints, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageCorrespondingPoints.html (updated 2021).

Text

Wolfram Research (2010), ImageCorrespondingPoints, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageCorrespondingPoints.html (updated 2021).

CMS

Wolfram Language. 2010. "ImageCorrespondingPoints." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/ImageCorrespondingPoints.html.

APA

Wolfram Language. (2010). ImageCorrespondingPoints. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageCorrespondingPoints.html

BibTeX

@misc{reference.wolfram_2024_imagecorrespondingpoints, author="Wolfram Research", title="{ImageCorrespondingPoints}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/ImageCorrespondingPoints.html}", note=[Accessed: 29-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_imagecorrespondingpoints, organization={Wolfram Research}, title={ImageCorrespondingPoints}, year={2021}, url={https://reference.wolfram.com/language/ref/ImageCorrespondingPoints.html}, note=[Accessed: 29-November-2024 ]}