UCSB CS130B WINTER 2013 PROGRAMMING ASSIGNMENT 2/3 ================================================== Each directory under middlebury_2001 contains several test files. The files to focus on for assignment 2/3 are im2_raw.ppm and im6_raw.ppm, where im2_raw is the left view and im6_raw is the right view, respectively. Along these lines, the directory also contains the true disparity maps, disp2_raw.pgm and disp6_raw.pgm. The grayscale image disp2_raw.pgm contains the disparities between the left and right views, using the left view as the "base." In other words, each number after the headers in disp2_raw.pgm is associated with a pixel in im2_raw.pgm, and the number is a measure of the pixel distance to its corresponding pixel in im6_raw.ppm, scaled up to some constant factor. If the value was 100 scaled by 8, then it means the current pixel in im2_raw can be found 12.5 pixels to the left of the current pixel's position in im6_raw. For this assignment, you will graded against disp2_raw.pgm. Each of the graymaps are scaled by a factor of 8. NOTE TO THOSE DEVELOPING ON WINDOWS =================================== Windows have no native program to view ppm and pgm images. If viewing the images is desired, then use Imagemagick to convert the ppm and pgm files to jpeg. The program can be found at: http://www.imagemagick.org/script/index.php