Ask Your Question
0

Optical Flow Farneback - doubt in tutorial

asked 2016-06-01 22:46:27 -0600

kevgeo gravatar image

updated 2016-06-01 22:47:02 -0600

So i was trying to understand the python code for optical flow using Farneback method. But I had a doubt about expressions like this-

1.hsv[...,1] = 255

2.hsv[...,0] = ang*180/np.pi/2

I do not understand what the 3 dots in the square brackets represent. This is the first time I'm seeing such notation in python.

I need to understand this so that I can write the equivalent program in C++ as I can't find any decent tutorial or documentation on Farnebeck method in C++.

Link to tutorial(2nd program)- http://opencv-python-tutroals.readthe...

edit retag flag offensive close merge delete

Comments

1

"as I can't find any decent tutorial or documentation on Farnebeck method in C++." - yes, that's sad.

berak gravatar imageberak ( 2016-06-02 02:47:15 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-06-02 01:55:34 -0600

mshabunin gravatar image

This is the Elipsis constant: https://docs.python.org/dev/library/c...

edit flag offensive delete link more

Comments

Thanks mshabunin :)

kevgeo gravatar imagekevgeo ( 2016-06-03 23:52:10 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-06-01 22:46:27 -0600

Seen: 186 times

Last updated: Jun 02 '16