Encoding Digital Images
Whether you are taking photos with your iPhone, watching a DVD, reading a pdf, or checking out Google images, digital images are everywhere. This is quite amazing because these images require a lot of memory. The memory required by these complex images makes them hard to store and time-consuming to download.
Almost everyone is familiar with pixels – the rows of tiny dots that make up an image. The resolution of an image depends upon the number of pixels used in a particular image. A raster image is a data structure that stores information about those pixels. The data about these pixels is compressed, using a particular encoding algorithm so that the image takes up less memory. A lossless algorithm permits the image to be reproduced without losing any information. A lossy algorithm is one in which some of the data is lost so that the image can be compressed even more.
Which method of digital image compression results in the best-quality photos?
- Internet access or a library of different photo images stored on the computer.
- Select at least two images. The first image should be a nature image with expansive blue sky, ocean or other repetitive information. The second image should be a busy urban scene. If you select a third image, it should be black and white.
- Determine how to save your images in difference formats. For example, if you are working in MAC OS X, find a image in your document. Open the document in “Preview.” Click on “File” to open the drop-down menu. Click on “Save As.” Select a particular format (TIFF, pdf, JIF, PNG etc.) under “Format” and then click on “Save.”
- Save the same image in a variety of formats.
- Have your assistant print the image. The assistant should mark the image with a code number that is associated with the format. For example, all jpegs can be marked “#1,” all TIFFs can be marked “2,” and so on. Only the assistant knows what formats are associated with which numbers.
- Closely examine the printed images. Pay close attention to the fine details of the image. Are all the images identical? Which are better?
- Research which formats involve lossy coding and which involve lossless coding.
Warning is hereby given that not all Project Ideas are appropriate for all individuals or in all circumstances. Implementation of any Science Project Idea should be undertaken only in appropriate settings and with appropriate parental or other supervision. Reading and following the safety precautions of all materials used in a project is the sole responsibility of each individual. For further information, consult your state’s handbook of Science Safety.