Assignments

Assignment 3

Due Date: 22/1/2014


Objectives:
After completing this assignment you will:
  • Understand how files are compressed using the Huffman Coding technique.
  • Understand how files are compressed using the Run Length Encoding technique.
  • Compute compression ratios.

Q1: Compression
  1. Download the following program "MM-HW3.exe"
  2. Run the program and enter your first and last names as required. You MUST enter your first and last names and not any other two words.
  3. Check the generated file "questions.txt", which contains your version of the assignment.
  4. The file "questions.txt" will be generated in the same directory where "MM-HW3.exe" resides.
  5. Submit your answers as a hard copy before the deadline.


Collaboration Policy:
You are encouraged to discuss with your colleagues about this assignment. Every student will have a different version of the assignment. Therefore, every student will eventually have to put some effort to get his version of the assignment solved.

Enjoy!






Assignment 2

Due Date: 14/12/2013


Objectives:
After completing this assignment you will:
  • Be able to write programs that manipulate images.
  • Have a stronger understanding of the following concepts: sprites animations, video transitions, dithering and color quantization.


CHOOSE TWO QUESTIONS OUT OF THE FOLLOWING:



Q1: Color Quantization
Write a program that converts any colored image (in ppm format) into a colored image with only 8 colors.


Q2: Ordered Dithering
Write a program that uses ordered dithering to transform grayscale images (in pgm format) from 256 colors to only black and white. You can use a 2x2 or a 3x3 dithering matrix.


Q3: Video Transitions
Write a program that simulates a "Left-To-Right Wipe" transition (from all-black to a new image) in 10 steps (Tmax = 10).

You can do any of the following:
- Write a program that takes T as input and produces the corresponding frame in the transition. Run the program 10 times, each time with a different T, in order to generate the 10 frames.
- Write a program that generates the 10 transition frames in one shot.

In both cases, output the 10 frames and then use Windows Movie Maker to create a movie that illustrates the transition.


Q4: Sprites
Use the "sprites" technique to bring pacman to PSUT!
You can use the following images: pacman-mask.ppm, pacman-sprite.ppm, psut.ppm.
(A good place for inserting pacman is x=0 and y=270).





Test Images:
To test your programs, you can use any PPM/PGM image that you like. You can also use the test images provided here.


How to Deliver the Assignment:

  • Compress your work into one file and name it as "YourName_Sec#".
  • Post your work on the following link before the deadline.
  • The maximum upload size is 10 MBs per student.


Grading Scheme:

  • All questions have the same weight.
  • Late submissions will loose 25% for each late day.


Integrity Policy:
Although we trust our students, plagiarism can possibly occur (intentionally or unintentionally). Therefore, it is important to note the following:
  • It is your responsibility to protect your work from being copied by others. Make sure that no one has access to the code that you write.
  • Any identical or very similar programs will be penalized with a zero for the whole assignment.
  • Copying code from the internet will also be penalized with a zero.


Enjoy!!








Assignment 1

Due Date: 10/11/2013


Objectives:
- Have an idea about some of the current multimedia projects and research topics. 
- Be able to analyze and evaluate the benefits and limitations of multimedia projects.
- Be able to use a Multimedia Tool to communicate ideas.


Question 1:
Search the internet for an “interesting” multimedia project. Write a short report that includes the following elements: 
  • Title and URL of the MM project. 
  • Introduction to the MM project and its benefits. 
  • Why you think the project is interesting.
  • Limitations of the the MM project and how, in your opinion, it can be improved. 


Question 2:
Choose one of the following:

  • (For designers) Using any multimedia tool, design a presentation or a poster that introduces the multimedia project you have chosen for Question 1. [Using Powerpoint is not allowed :(]
  • (For Hackers) Write your report using the document markup language "Latex". An easy tool for this purpose is WriteLatex.


How to Deliver the Assignment:
Before the deadline, do the following:

1) Send an email to [ialbluwi.hws@gmail.com]:
  • The report and the presentation/poster should be included as attachments.
  • The subject should be: MM-HW1-Sec1 for section 1 and MM-HW1-Sec2 for section 2.
2) Post your work on WallWisher:
  • Create an account with your real name on http://www.padlet.com.
  • Go to http://padlet.com/wall/mm-fall2013 and create a post on the wall.
  • The post should be titled with the name of your MM project and should include a link to its webpage. You should also upload the presentation/poster you have created in Question 2 in the same wall post. [If you have used Latex, then upload either the pdf document of your report or snapshots of the project]


Grading Scheme:
- Question 1 is worth (65%) and Question 2 is worth (35%).
- Presentations and posters are graded based on how well they convey the information.
- Submissions that do not include a Padlet post will loose 10% of the total mark.
- Late submissions will loose 25% for each late day.


Integrity Policy:
Although we trust our students, plagiarism can possibly occur (intentionally or unintentionally). Therefore, it is important to note the following:
  • In the report, you should use your own words to describe the multimedia project.
  • You can copy/paste definitions and other information from the internet, provided that:
    • You clearly mention where the text was taken from.
    • The overall amount of quoted text should not exceed 30% of the report.
  • Any two identical or very similar submissions will receive a zero.

Notes:
  • Padlet posts are moderated, they will appear after I approve them.
  • Even if you did not manage to solve Question 2, make sure to create a wall post and to use a screenshot of the project instead of the presentation/poster.
Enjoy!!

No comments:

Post a Comment