COMP 558 - Fall 2013
Assignment 2
Link to Assignment
Click here to download the frames
Ground truth flows: (just for Groove3 and Urban2)
The code and ground truth data is provided from "Middlebury Optical Flow Database".
Click here to download the ground truth data
".flo" file format used for optical flow evaluation.
Each ".flo" file stores 2-band float image for horizontal (u) and vertical (v) flow components. (width*height*2)
To be able to read ".flo" files you can use the MATLAB code provided here
Assignment 1
Link to Assignment
Images for question 1 :
Building
The starry night
Here are the images for question 2 :
*) To make them human-readable we are showing the .PNG version here but
you should download and work with the .PPM files (by clicking on the image).
To read .PPM files in MATLAB you just need to use function 'imread', e.g:
-> vasei1 = imread('vase-i1.ppm'); %this gives you a 128 x 128 matrix of the desired image (the mozart's face is 256 x 256)
**) Notice that the light source direction vectors mentioned with images are aligned with the following coordinates.
(It is assumed that the object is located at the center, and the viewer is looking at the object from '+z'):
Images :
Vase
i1 = [0 0 -1]
i2 = [0.5 .5 -0.707]
Mozart's Face
i1 = [0 0 -1]
i2 = [0.5 .5 -0.707]
Depth maps as ground truth:
Vase depth map (128^2-elements array)
Mozart depth map (256^2-elements array)
MATLAB Tutorial - 11th September 2013 4pm-6pm
Greetings to all,
Please notice there is going to be a MATLAB tutorial next Wednesday (11th September 2013). The turorial will be held in Trottier 3070 from 4pm to 6pm. Please remember you can either bring a laptop or you can use the machines in the lab.
Best,
Morteza