Wednesday, March 26, 2014

PPM/PGM Examples

Here are a few examples of C++ code that manipulates PPM and PGM images.

PPM_PGM_Examples.zip

Enjoy!

Tuesday, March 25, 2014

PPM Images

Here are two links for free image viewers/converters that know how to handle PPM/PGM/PBM images:

Imagine Picture Viewer
GIMP

Note also that Photoshop views PPM/PGM/PBM images. And of course, you can always google for "free PPM image converter" and choose the one you like.

Here are also two sets of PPM and PGM images that you can use if you do not wish to download a converter.

Image set 1
Image set 2

For slow connections, you can download these files: football.ppmfootball.pgm

Note that PPM images can be: binary or ASCII. The code we write in class works for ASCII PPM.

If the converter does not ask you to select between ASCII and binary the default is usually "binary", which is not very helpful in our case.

Some converters add a comment line at the top. Open the image in a text editor and remove this comment line before running your code. 

Sunday, March 23, 2014

GIF Images, Interlacing and More!

Check out the little App created by Hassan AlHamsh from section 2 (I hope the name is spelled correctly!).
This App allows you to see the power of interlaced and progressive modes in the GIF and PNG file formats. Move the slider and check the load percentage below to better understand how the image looks like as it is being loaded.

http://robolutiongame.com/_/inter_prog/

Here are also few interesting GIF images. Note, however, that such images are not easy to create. The norm is to have GIF images with a much worse color quality.








Assignment 1 Grades

Assignment grades are ready. Please check them and let me know if you have any concerns.
Mrs. Layla Sayaydeh is the grader for our course, so you can talk to her directly or talk to me, if you wish.

Sunday, March 16, 2014

New Exercises Added


I have added the (in the course material page) solutions for the exercises on color quantization we have done in class. I have also added another file that contains exercises on dithering, which we will not have the time to do in class.

Please check also the previous exams, which are good resources for practice questions.

Tuesday, March 11, 2014

Links Fixed

The dead-links in the assignment description are now fixed.

Thanks Kareem and Hiba for the note.

Saturday, March 8, 2014

Updates

Assalamu Alaikum All,

I hope that you have enjoyed the weekend!

  • Assignment 1 is ready. Check it out in the assignments tab. If you have any questions, please do not hesitate to ask me during the office hours. 
  • In this assignment, you will have a chance to show off! I will choose some of the best submissions and share them with everyone. 
  • For the exam, you will have to know the following:
    • What SVG, HTML, XML, SMIL and SGML are and difference between them and when to use them.
    • The basic HTML tags for: images, paragraphs, links, boldface and text alignment.
    • The basic SVG tags for rectangles, circles and animation, along with the basic attributes: cx, cy, x, y, width, height, fill, stroke, from, to and dur.
  • I have added in the course material tab a one page explanation for some of the terms mentioned during the first lectures in this course.
Bittawfeeq!


Tuesday, March 4, 2014

Course Slides

As I have mentioned in class, you can study for this course from:
- The book.
- The book slides (which are already posted online).
- The lecture slides.

Lecture slides will not be ready until we finish the chapter.

If you wish, you can download the slides from the previous semester (which are going to be 90% the same for this semester too) from the e-learning site:

http://psut.jo/elearning/course/view.php?id=442

Whenever we finish a chapter, I am going to post on the blog the new/modified version that I have used for this semester.

Bittawfeeq!

Monday, March 3, 2014

Follow By Email

There was a problem with the "Follow By Email" widget and now it works well.

Thanks for everyone that notified me about the problem.