First time here? Check out the FAQ!

Ask Your Question
0

Which values for window size and number of pyramids are reasonable for calcOpticalFlowPyrLK?

asked Jul 8 '12

Rui Marques gravatar image

Which values for window size and number of pyramids are reasonable for calcOpticalFlowPyrLK?

Assume a mobile android application, processing video frames real-time, which can have a certain degree of camera motion.

Do any remaining parameters need some tweaking?

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Jul 8 '12

Rui Marques gravatar image

In the past (2.3.1 - 2.4.0 versions) I did fine with window sizes about 21x21 - not sure which pyramid levels i was using, i guess it was the default ones.

Right now (2.4.1 +), to have reasonable results i need window sizes ~ 41x41 and about 2 pyramid levels.

Preview: (hide)

Question Tools

Stats

Asked: Jul 8 '12

Seen: 3,762 times

Last updated: Jul 08 '12