Ask Your Question
0

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

asked 2012-07-08 17:20:20 -0600

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-07-08 17:21:08 -0600

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.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-07-08 17:20:20 -0600

Seen: 3,608 times

Last updated: Jul 08 '12