1 / 46

Understanding Digital Image Processing Fundamentals

Learn how to analyze, enhance, and compress digital images using histogram manipulation, mapping functions, and image processing techniques.

vcollier
Download Presentation

Understanding Digital Image Processing Fundamentals

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter I, Digital Imaging Fundamentals: Lesson IIIProcessing http://www.kodak.com/country/US/en/digital/dlc/book3/chapter1/digFundProcess1.shtml

  2. In this lesson, we will see how the quality of a digital image can be analyzed to identify problems with contrast and dynamic range. The most common analysis operation is the histogram, a bar graph showing the number of pixels at each gray level.

  3. An image with good contrast and good dynamic range generates a histogram with a pixel distribution across the brightness range from 0 to 255.

  4. Pixels in this type of image are white and black and hundreds of shades of gray.

  5. In a low contrast image pixels are distributed over a short dynamic range-in this example, from about 130 to 180 on the gray scale.Pixels in a low contrast image are only a few shades of gray.

  6. A high contrast image generates a histogram with high pixel count at the white and black extremes of the range.

  7. Pixels in this type of image are white and black and hundreds of shades of gray.

  8. Image enhancement processes are based on fundamental ways in which image data can be changed mathematically. First, let's look at three ways in which histogram information can be manipulated. Slide Mapping changes brightness by adding or subtracting a constant value. For example, adding a constant of 50 to every pixel in this image, slides the histogram to the right by 50 gray levels.

  9. Stretch Mapping improves poor contrast by multiplying or dividing each pixel by a constant. Multiplying "spreads" the pixel values out so that a greater range of gray is used.

  10. Complement mapping changes the digital value of each pixel to reverse the image. Black pixels become white. White pixels become black. And gray pixels become their complement.

  11. To make color corrections to 24-bit color images, mapping operations can be applied to the red, green and blue color planes. Reducing the red color plane by 50 levels moves the color balance towards cyan.

  12. Reducing the green color plane by 50 levels moves the color balance towards magenta.

  13. Reducing the blue color plane by 50 levels moves the color balance towards yellow.

  14. The mapping functions we have just considered are examples of Pixel Point image processing. Two other types are Pixel Group Processes, and Frame Processes. As we have seen, in pixel point processing a mathematical function "maps" the input value of each pixel to a new output value. This lightens or darkens the image, or changes contrast.

  15. In pixel group processing, a mathematical process called a convolution changes a pixel's values based on the brightness of the pixel and its neighbors. The following are some examples of group processing. Examples are: Noise Filtering, Sharpening and Blurring of Images.

  16. In frame processing, the image is manipulated by changing the locations of pixels of the entire image or a portion of the image. Following are some examples of frame processing. Examples are: Image Rotation, and Scaling.

  17. Decimation removes pixels to reduce the size of an image. To reduce it by half, every other line and row of pixels is removed.

  18. Replication enlarges images by duplicating pixels.

  19. Interpolation enlarges images by averaging the values of neighboring pixels to calculate values for the added pixels. This produces higher quality enlargement than replication.

  20. Transforms are frame processes which place image data into another space, or domain, so that it can be more readily manipulated.

  21. For example, Photo YCC conversion used in Photo CD, transforms red, green, and blue data into luminance and chrominace values. As we will see in the next unit, this makes the data easier to compress.

  22. Transforms can also provide precise filtering by separating an image into its spatial frequency components, then manipulating specific frequencies. For example, edges can be enhanced by increasing the high spatial frequencies.

  23. In this unit, we will see how image compression reduces the data needed to store and transmit digital images. As we have seen, photographic digital images generate a lot of data. For example, one 35mm negative scanned for Photo CD creates an 18 megabyte file. If that file were text it would fill over 6000 pages.

  24. Image compression reduces image data by identifying patterns in the bit strings describing pixel values, then replacing them with a short code. For example, a scan line beginning with 9 black pixels followed by 5 white pixels could be encoded as "9b, 5W."

  25. In much the same way, a color image can be compressed by grouping the data for similar pixels. For example, a group of 20 pixels can be encoded with one pixel address and color value.

  26. There are two basic types of data compression: lossless compression and lossy compression. Lossless compression achieves only about a 2:1 compression ratio, but the reconstructed image is mathematically and visually identical to the original.

  27. Lossy compression provides much higher compression rates, but the reconstructed image shows some loss of data compared to the original image. This loss can be visible to the eye or visually lossless.

  28. Visually lossless compression is based on knowledge about color images and human perception.Visually lossless compression algorithms sort image data into "important data" and "unimportant data," then discard the unimportant.

  29. A type of visually lossless compression is used in Photo CD. As we saw in the previous unit, Photo YCC converts RGB scanner data to a luminance signal and two chrominance signals.

  30. The luminance signal represents most of the image detail and is the signal to which the human eye is most sensitive.

  31. Chroma decimation discards chrominance information for every other row and column. Thisreduces file size without loss of visual information.

  32. Photo CD further reduces image file size through a combination of lossy and lossless compression called hierarchical encoding. This type of encoding makes several files at different resolutions for applications.Following are examples of file resolutions used to save images to a Photo CD. Examples are: Base x 16, Base x 4, and Base Subsampling.

  33. The Base x 16 image, used for high resolution output, is sub-sampled to generate the Base x 4 image and file of residual data. This residual data will be used to reconstruct the high resolution image.

  34. Example 2 The Base x 4 image, used for high definition television, is further subsampled to generate the Base image and a file of residual data

  35. The Base image, used for display on regular television, is then subsampled to create the two lowest resolutions: Base/4 for thumbnails, and Base/16 for low resolution preview.

  36. The Base image and the two low resolution images are saved without data compression. The two higher resolution images are compressed further using a lossless technique.

  37. Chroma decimation discards chrominance information for every other row and column. This reduces file size without loss of visual information.

  38. 1 2 3

  39. # 2 In this low contrast image pixels are distributed over a short dynamic range-in this example, from about 130 to 180 on the gray scale.Pixels in a low contrast image are only a few shades of gray.

More Related