WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

ImageFeatureTrack [{image1,image2,,imagen}]

tracks features from image1 through imagen.

ImageFeatureTrack [video]

tracks features in frames of video.

ImageFeatureTrack [input,pts]

tracks features starting from the initial set of points pts in the first image or video frame.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Options  
Masking  
MaxFeatures  
Applications  
Interactive Examples  
Neat Examples  
See Also
Related Guides
History
Cite this Page

ImageFeatureTrack [{image1,image2,,imagen}]

tracks features from image1 through imagen.

ImageFeatureTrack [video]

tracks features in frames of video.

ImageFeatureTrack [input,pts]

tracks features starting from the initial set of points pts in the first image or video frame.

Details and Options

  • ImageFeatureTrack , also known as feature tracking, tracks feature points over time.
  • ImageFeatureTrack works with a Video object, an AnimatedImage object or a sequence of images.
  • ImageFeatureTrack [input] automatically determines a set of feature points in the first image or first video frame to track.
  • When tracking points in an image sequence or an AnimatedImage , a list {pts1,pts2,,ptsn} is returned, where ptsi is the position of the features in imagei.
  • Coordinates {x,y} are assumed to be in the standard image coordinate system.
  • If a point is not found in some image or video frame, the coordinates are returned as Missing [] for all subsequent frames.
  • The following options can be specified:
  • Masking All region of interest
    MaxFeatureDisplacement 15 maximum distance between corresponding points in adjacent images
    MaxFeatures 100 maximum number of tracked points
    MaxIterations 20 maximum number of iterations
    Tolerance 0.03 tolerance for matching points
  • With the setting MaxFeatureDisplacement->{r1,r2}, different search window ranges can be specified for vertical and horizontal directions.
  • With Masking->roi, the set of points is restricted so that the returned points pts1 of image1 all lie within the region of interest roi.
  • The tracking between subsequent images is computed by an iterative algorithm. With MaxIterations->n and Tolerance->tol, the algorithm terminates when the iterative displacement is less than tol or the number of iterations exceeds n.

Examples

open all close all

Basic Examples  (1)

Track specified points from one image to another:

Scope  (4)

Automatically find the initial set of points to track:

Visualize tracked points:

Automatically track points in a video:

Track specified points in a video:

Options  (2)

Masking  (1)

Track only the points that are inside of the specified mask:

MaxFeatures  (1)

By default, all tracked points of interest are returned:

Specify a maximum number of points to be tracked:

Applications  (3)

Show the optical flow of points in two images:

Track the image corners between images:

Track a point on the face of a woman dancing on the stage, to analyze the dance:

The number of taps the performer makes can be computed from the coordinate of the tracked point:

Find the peaks:

Find the number of jumps/taps frequency from the number of peaks:

Interactive Examples  (1)

Track points in a sequence of images:

Plot the motion of each tracked feature:

Neat Examples  (1)

Tracking particles:

Wolfram Research (2012), ImageFeatureTrack, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageFeatureTrack.html (updated 2025).

Text

Wolfram Research (2012), ImageFeatureTrack, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageFeatureTrack.html (updated 2025).

CMS

Wolfram Language. 2012. "ImageFeatureTrack." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/ImageFeatureTrack.html.

APA

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

BibTeX

@misc{reference.wolfram_2025_imagefeaturetrack, author="Wolfram Research", title="{ImageFeatureTrack}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/ImageFeatureTrack.html}", note=[Accessed: 17-November-2025]}

BibLaTeX

@online{reference.wolfram_2025_imagefeaturetrack, organization={Wolfram Research}, title={ImageFeatureTrack}, year={2025}, url={https://reference.wolfram.com/language/ref/ImageFeatureTrack.html}, note=[Accessed: 17-November-2025]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /