ImageDisplacements
ImageDisplacements[{image1,image2,…,imagen}]
gives estimated horizontal and vertical displacements between consecutive images.
ImageDisplacements[{image1,image2,…,imagen},flow]
uses flow as an initial estimate for displacement between image1 and image2.
Details and Options
- ImageDisplacements, also known as dense optical flow, compares consecutive images imagei and imagei+1 and returns a matrix of displacements {δx,δy} for every pixel of imagei.
- ImageDisplacements works with an AnimatedImage or a sequence of images of the same dimensions.
- The following options are supported:
-
MaxIterations 10 number of iterations to run Method Automatic the method to use PerformanceGoal $PerformanceGoal aspects of performance to try to optimize - By default, the more suitable method is used. Possible method settings are "Farneback" and "DenseInverseSearch".
Examples
open allclose allBasic Examples (2)
Applications (1)
Text
Wolfram Research (2016), ImageDisplacements, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageDisplacements.html (updated 2022).
CMS
Wolfram Language. 2016. "ImageDisplacements." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2022. https://reference.wolfram.com/language/ref/ImageDisplacements.html.
APA
Wolfram Language. (2016). ImageDisplacements. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageDisplacements.html