1. Homepage
  2. Programming
  3. 159731 Studies in Computer Vision - Assignment 3: Video Stabilisation

159731 Studies in Computer Vision - Assignment 3: Video Stabilisation

Engage in a Conversation
Massey159731Studies in Computer VisionVideo StabilisationC++OpenCV

CourseNana.COM

159731 Assignment 3 CourseNana.COM

Due: 7/6/2024
Your task for this assignment is to write a program to perform video stabilisation.
CourseNana.COM

On stream is a short video shot with no video stabilisation. For this assignment you must write a C++ program using OpenCV to produce a stabilised video. You will need to find cumulative homography matrices for a number of sequential frames (initially try a 19 frame window). These matrices need to be relative to the first frame but must be calculated by multiplying a cumulative matrix (initially the identity matrix) by the homography between the current and previous frames. You can use any method you like to find the homography, try feature point matching or optical flow. CourseNana.COM

You must then smooth the central matrix using a Gaussian weighted average. Using this smoothed matrix and the unsmoothed previous matrix, find a new matrix that will warp the central frame using warpPerspective() and then display it. Display the output image with a green border as shown above. You will need a buffer of N frames and a buffer of N matrices where N is the smoothing window size. Wait until N frames have been captured before displaying any output and keep displaying frames until the buffer is empty. CourseNana.COM

Test different values for the size and standard deviation of the Gaussian filter window, once you have values which give smooth motion, you can hard code them in the program. CourseNana.COM

I will test your code on different videos and using a webcam. CourseNana.COM

Your code must be in C++, you must use OpenCV version 4 or later. Use the CMake example provided to make sure I can compile your code. Submit a single .cpp file on stream (no zip files), if your solution does not compile and run on my machine, you will lose marks. Your program should take an optional single parameter, the name of the video file. If the video file name is missing you should open the webcam with index 0. CourseNana.COM

The assignment is worth 10 marks.
Submit your assignment on Stream by the due date.
CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
Massey代写,159731代写,Studies in Computer Vision代写,Video Stabilisation代写,C++代写,OpenCV代写,Massey代编,159731代编,Studies in Computer Vision代编,Video Stabilisation代编,C++代编,OpenCV代编,Massey代考,159731代考,Studies in Computer Vision代考,Video Stabilisation代考,C++代考,OpenCV代考,Masseyhelp,159731help,Studies in Computer Visionhelp,Video Stabilisationhelp,C++help,OpenCVhelp,Massey作业代写,159731作业代写,Studies in Computer Vision作业代写,Video Stabilisation作业代写,C++作业代写,OpenCV作业代写,Massey编程代写,159731编程代写,Studies in Computer Vision编程代写,Video Stabilisation编程代写,C++编程代写,OpenCV编程代写,Masseyprogramming help,159731programming help,Studies in Computer Visionprogramming help,Video Stabilisationprogramming help,C++programming help,OpenCVprogramming help,Masseyassignment help,159731assignment help,Studies in Computer Visionassignment help,Video Stabilisationassignment help,C++assignment help,OpenCVassignment help,Masseysolution,159731solution,Studies in Computer Visionsolution,Video Stabilisationsolution,C++solution,OpenCVsolution,