skvideo.motion.globalEdgeMotion
skvideo.motion.globalEdgeMotion¶skvideo.motion.globalEdgeMotion(frame1, frame2, r=6, method='hamming')[source]¶Global motion estimation using edge features
Given two frames, find a robust global translation vector found using edge information.
| Parameters: | frame1 : ndarray
frame2 : ndarray
r : int
method : string |
|---|---|
| Returns: | globalMotionVector : ndarray, shape (2,)
|
References
| [1] | Ramin Zabih and John Woodfill. Non-parametric local transforms for computing visual correspondence. Computer Vision-ECCV, 151-158, 1994. |
| [2] | Kevin Mai, Ramin Zabih, and Justin Miller. Feature-based algorithms for detecting and classifying scene breaks. Cornell University, 1995. |