Starting from:

$24

CSE 408/598 Multimedia Information Systems Phase #1


Description: In this project, you will• experiment with video processing libraries and• experiment with color models.Tasks:1. Download the sample video data set from the project directory.2. Download the relevant “OpenCV” libraries fromhttp : //opencv.orgYou are not required to use OpenCV’s libraries. This is only provided as a conveniently available alternative.3. Implement a program which, given• one of the color spaces, RGB, XYZ, Lab, YUV, YCbCr, YIQ, or HSL (using the color models describedin the book and/or notes),• three color instances, ci⊥, ci0 and ci⊤, in the chosen color space, and• number of bits, b,creates a color map (with 2b color instances) which maps each value in range -1.0 to 1.0 to a color instance inthe chosen color space such that the value -1.0 maps to the color instance, ci⊥, 0.0 maps to the color instance,ci0, and 1.0 maps to the color instance, ci⊤ (the mapping function should be continuous). The program shouldoutput the resulting color map into an ASCII text file as well as display it by visually painting the colors inthe color map.4. Implement a second program which lets the user select• a video file, v, in the database,• a frame rate, r,• two frames, f1 and f2, and• a color map fileand, given these,• extracts and displays 8-bit gray scale contents, g1 and g2, of frames, f1 and f2,• computes a difference image, ?, of gray scale images, g1 and g2,• rescales the values in the difference image to a range between -1.0 and 1.0 (such that -1.0 corresponds to-255 and 1.0 corresponds to 255), and• visualizes the difference image ? using the selected color map.Deliverables:• Your code (properly commented) and a README file.• A report describing your work and the results on samples to be provided.Please place your code in a directory titled “Code”, and your report in a directory called “Report”; zip or tar all offthem together and submit it through the digital dropbox.

More products