[SOLVED] ECCE633 Assignment 3 -Optical Flow

35.00 $

Category: Tags: , , ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Assignment-3-zafacl.zip (5224.6 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
5/5 - (1 vote)

 

In this assignment you will implement the Lukas-Kanade algorithm and use it to compute the optical flow between two frames

  1. Choose two consecutive images from a video sequence. Convert images to grayscale.
  2. Smooth the two images using Gaussian filters.
  3. Calculate the spatial derivatives Ex = βˆ‚E/βˆ‚x and Ey = βˆ‚E/βˆ‚y
  4. Calculate the time gradient by the difference between consecutive frames, simplysubtracting the two frames as Et=I(x, y, t + 1) βˆ’ I(x, y, t).
  5. Display the original image and the spatial and time gradients.
  6. Compute the flow vectors u and v. To compute these parameters, you need to select aneighborhood size and then solve the optical flow equation using points in the neighborhood.

    [𝑒] = (𝐴𝑇𝐴)βˆ’1𝐴𝑇𝑏 𝑣

    Where A is the spatial derivatives matrix and b is the negative of the matrix of time derivatives.

  7. Display the computed flow vectors over the original image.
  8. Discuss your results.
  • Assignment-3-zafacl.zip