Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [optical-flow]

The tag has no usage guidance.

1
vote
1answer
30 views

Lucas-Kanade-Algorithm in 1D

I am trying to get a simple implementation of Lucas-Kanade-Algorithm in 1D using a sigmoid function just as an arbitrary choice! In the following code i want to get the displacement $v$ of the two ...
0
votes
0answers
17 views

Simple question about HS algorithm's formul(Optical flow)

In the below pic, I can not understand what U vector is? It says flow field but I can not imagie what really is the flow field?
0
votes
0answers
91 views

A question about visualizing “Lucas-Kanade(optical flow)” algorithm

I am reading O'Reilly's OpenCV 3 book. In keypoints section(for tracking objects), there is an algorithm named "Lucas-Kanade". in the below image it tries to give a visualization of it but I can not ...
0
votes
0answers
19 views

Training the model for human activity recognition using optical flow

I have datasets which contains videos of persons performing activities(run,walk,hand-wave etc) Each dataset for example 'Run' contains datasets of 8 different person and each person activities(in ...
0
votes
0answers
23 views
0
votes
0answers
226 views

How can l get dense optical flow on superpixeled consecutive frames

l would like to compute dense optical flow over two consecutive frames frame 1 and frame 2. ...
2
votes
0answers
132 views

Is it possible to calculate the optical flow magnitude for rigid motion?

For objects in 2D plane, it is pretty simple to calculate the displacement vectors using optical flow algorithms such as SLIC, LK, Färneback etc. But how it is possible to know the magnitude of the ...
0
votes
1answer
24 views

Are there paper about black box testing of optic flow algorithms?

Do papers exist about comparisons of the resulting optic flow and its precision compared to the used optic flow method? I would like to find paper that dealt with this topic in some way and had ...
3
votes
0answers
77 views

Nagel, 1987, On the estimation of optical flow - attributes of this method

I know Horn and Schunck and Lucas-Kanade (81) as optic flow methods. But Nagel is way to complex for me. Anyway I have an blackbox implementation of this method but would like to understand the ...
2
votes
0answers
40 views

Determining Optic Flow - Horn and Schunck - robust/insensitive to …

Can somebody explain to me why the Horn and Schunck algorithm (probably mostly the smoothness constraint) is robust to image sequences that are quantized rather coarsely in space and/or time. (Thought ...
3
votes
1answer
1k views

Video stabilization using Lucas-Kanade method

I got an assignment in a video processing course - to stabilize a video using the Lucas-Kanade method. Assuming the matlab code I wrote for performing LK on 2 images works (i.e, I can get the optical ...
1
vote
0answers
53 views

Position vector of Lukas-Kanade optical flow algorithm

The classical optical flow equation by Lukas-Kanade can be simplified as follow: $$ \frac{\delta I}{\delta x}\triangle x+\frac{\delta I}{\delta y}\triangle y + \frac{\delta I}{\delta t}\triangle t=0 $$...
1
vote
1answer
180 views

Optical Flow: Method to estimate a very small displacement

As I was searching for available resources( here, here, here and many more), I realize that many developed optical algorithm is to estimates LARGE displacement. However, there is very limited ...
0
votes
1answer
2k views

Difference between optical flow field and motion field?

I have been trying to understand the various confusing definitions of optical flow field and motion flow field but cannot wrap my head around it. Some authors use the term interchangeably other give ...
1
vote
1answer
121 views

Motion detection one threshold over dataset

We're working on a project where we have to detect the moments where motions happen in a medical scene. I have a data set of 20 videos that are closely resemble (Same camera & configuration used, ...
0
votes
2answers
355 views

Accuracy of dense optical flow

Currently I am learning dense optical flow by myself. To understand it, I conduct one experiment. I produce one image using Matlab. One box with a given grays value is placed under one uniform ...
0
votes
0answers
79 views

Using a median filter to constantly monitor to identify a laser strike in any of the known laser wavelengths

We would like to design a proof of concept using a flight simulator cockpit similar to one that flies with passenger to prototype a system for blocking coherent laser pointer beams aimed at commercial ...
1
vote
0answers
489 views

Understanding Farneback Displacement Estimation

I am having some trouble in my attempt to understand some of the operations in the Farneback optical flow algorithm, and i would really appriciate if somebody could help me a bit along the way (and i ...
1
vote
1answer
99 views

Optical flow equation and real images

We know optical flow equation cannot be calculated without additional constraints. But what I cannot figure out is why it does not hold exactly for real images? This equation has gradient and so, it ...
1
vote
0answers
161 views

Image warping with subpixel accuracy

I am trying to test the sub-pixel accuracy of an optical flow method and need to generate some synthetic data to do so. I start with an image $I_0$, which is a Perlin noise image and a set of sub-...
1
vote
1answer
5k views

OpenCV Motion Analysis: Optical Flow vs Motion History

OpenCV Motion Analysis Documentation lists multiple techniques for motion tracking: Sparse Optical Flow | calcOpticalFlowPyrLK, Dense Optical Flow | calcOpticalFlowFarneback, and Motion History ...
4
votes
2answers
3k views

Why optical flow ? why not tracking

I have a question that might be stupide ! Supposing that I try to detect object moving in a video or human action. Many works are based on optical flow computation. My question is why using OF is ...
3
votes
1answer
4k views

Iterative Lucas-Kanade algorithm

How is iterative refinement is applied to the estimate obtained by Lucas-Kanade algorithm? I am familiar with the following steps: Estimate velocity at each pixel using one iteration of Lucas and ...
3
votes
1answer
1k views

Image Registration and optical flow

Image registration algorithms can be classified into intensity-based and feature-based algorithms, I want to know When and Why should i choose intensity or feature based algorithm? another question ...
9
votes
4answers
834 views

Fast approximate optical flow / image shift

I need to detect how fast a camera is panning (either horizontal/vertical) to give a warning to the operator to slow down. The entire image is moving as a block, I don't need an actual direction (...
4
votes
2answers
2k views

What does the “smoothing optical flow” mean?

I have this algorithm for Correlation Based Pyramids of images: • Create two Gaussian pyramids from the two input images • Compute optical flow using “5×5” regions on smallest pyramid level. • ...