Luisrosario2604 / Optical-flow-LK-HS

Optical flow - Lucas Kanade - Horn & Schunck

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optical flow - Lucas Kanade - Horn & Schunck

Optical flow using Lucas Kanade and Horn & Schunck methods

πŸ‘¨β€πŸŽ“ This project was carried out during my master's degree in computer vision at URJC - Madrid

Goals

  • Find the optical flow with Lucas Kanade method
  • Find the optical flow with Horn & Schunck method

Requirements

  • Matlab
More explanations in docs/explanations_esp.pdf (only in spanish)

Usage

Just run main_lucaskanade.m or main_horn_schunk.m in matlab

Example

Example 1

Example 2

Example 3

Structure

.
β”œβ”€β”€ data
β”‚    └── *.jpg
β”œβ”€β”€ docs
β”‚    └── explanations_esp.pdf
β”œβ”€β”€ imgs
β”‚    β”œβ”€β”€ Ex_1.png
β”‚    β”œβ”€β”€ Ex_2.png
β”‚    └── Ex_3.png
β”œβ”€β”€ README.md
└── src
    β”œβ”€β”€ choose_image.m
    β”œβ”€β”€ get_derivatives.m
    β”œβ”€β”€ main_horn_schunk.m
    └── main_lucaskanade.m

Authors

About

Optical flow - Lucas Kanade - Horn & Schunck


Languages

Language:MATLAB 100.0%