1 / 26

The Digital Image

The Digital Image. The Digital Image. Majority of images don’t originate in the digital form, mostly in the form of optical light energy Before we can process an image digitally it must be in digital form

Download Presentation

The Digital Image

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. The Digital Image

  2. The Digital Image • Majority of images don’t originate in the digital form, mostly in the form of optical light energy • Before we can process an image digitally it must be in digital form • Optical images: human sight, video camera, photograph, also X-ray, infrared, radar, and acoustic images.

  3. Creating a Digital Image

  4. Creating a Digital Image • A ”natural” image is composed of varying array of shades and colors • In photograph shades from ligth to dark and colors from reds through yellows to blues • Continuous-tone image, compiled from various shades and colors blended with no disruptions

  5. A digital image is composed of discrete points of gray tone, or brightness, not continuosly varying tones • To convert a image as digital, the orginal image must be divided into individual points of brightness, with a specific digital data value • Sampling and Quantization = image digitization

  6. An Image is sampled into a rectangular array of pixels • Each pixel has coordinates corresponding to its location within the image • x = pixel number, y = line number • The digital image actually exists as a large array of numbers (bits) • In gray-scale 0 to 255 • 0 = 0000 0000 • 255 = 1111 1111 • Quality is directly related to the amount of pixels and lines, along with the range of brightness values = image resolution

  7. Spatial Resolution • Term spatial refers to the concept of space – in this case, two-dimensional image space • The term Spatial Resolution is used to describe how many pixels comprise a digital image • The more pixels, the greater its spatial resolution

  8. Spatial frequency 1 • Every image contains details, some fine and some coarse • The details are made up of brightness transitions that cycle from dark to light and back to dark • The rate at which brightness cycle is the spatial frequency

  9. Spatial frequency 2 • In the cloudy sky area, the image details vary smoothly, not like the area with the tree, thus consists low rates of brightness change, or low spatial frequency. • The area with the trees has minute details where the brightness vary rapidly, so the minute tree details constitute a high rate of brightness change, or high spatial frequency

  10. Sampling Theorem • ”Thistheoremtells us mathematicallythat in order to representfully the spatialdetails of an orginalcontinuous-tone image, wemustsample the image at a rateat leasttwice as fast as the highestspatialfrequencycontained in it.” • To capture an image’sfinestdark-to-light-to-darkdetail, samplingshouldbe at leasttwosamplesupon the detail. • Whatever the samplingrateused, the highestspatialfrequencythatcanbecontained in the resultingdigital image willnotexceedone-half the samplingrate • Thisfrequency is referred to as the Nyquist rate. • If the rate is lessthantwice, SpatialAliasingwilloccur.

  11. Sampling Theorem

  12. SamplingTheoremcontinued. • In real-life systems, the sampling rate of a particular image acquisition system is generally fixed • The camera is selected to meet the minimum spatial-resolution requirements of the application.

  13. Images with different spatial resolutions 640 pixels x 480 lines 320 pixels x 240 lines 160 pixels x 120 lines 80 pixels x 60 lines 40 pixels x 30 lines 20 pixels x 15 lines

  14. Spatial Aliasing • Spatial aliasing appears in a digital image when the details in an image are sampled at a rate less than twice their spatial frequency. • Not only are high-frequency details missed, but they are also corrupted to appear as new frequencies • When a detail within an image has a frequency greater than twice the sampling rate, the detail is called undersampled.

  15. Spatial Aliasing

  16. SpatialAliasing The high-frequency detail ends up being translated to a lower frequency because some of its brightness transitions are missed in the sampling process.

  17. Group discussion • In which situations you have encountered spatial or temporal aliasing of images? • (temporal sampling means sampling in time domain, e.g. video frames)

  18. Moiré patterns

  19. Brightness Resolution • Brighness resolution tells us how accurately the digital pixel’s brightness represents the intensity of the orginal image • Dependent upon how many bits are used in the quantizer (3bits = 8 different colors, 111 =2^3=8) • The range of the gray scale is also referred to as dynamic range

  20. Gray scales with differentamounts of bits 3-bit gray scale 4-bit gray scale 5-bit gray scale 6-bit gray scale 7-bit gray scale 8-bit gray scale

  21. Qualities of the Digital Image

  22. Brightness Histograms • Brightness histogram shows the different gray levels of pixels within a digital image • horizontal axis = ”brightness” from 0 to 255 • vertical axis = ”number of pixels” • with histogram it is easy to define whether an image is basically dark or light and high or low contrast

  23. Contrast and Dynamic Range Indications • Contrast is a term that is often used to describe the brightness attributes of an image • Low contrast appears as tightly grouped mound of pixel brightness in the gray scale • High contrast appears as a bimodal histogram – two peaks exists at the outer brightness regions • The dynamic range is represented by how many gray levels in the gray scale are occupied

  24. Low contrast and low dynamic range High contrast and high dynamic range Well-balanced contrast and low dynamic range

  25. Color Histograms • Histograms for color images are threefold version of the regular, gray-level brightness histogram • Three histograms are computed and displayed, one for each color component • Can represent any color space (RGB, HSB, ...) • Each histogram can help us determine the brightness distributions, contrast, and dynamic ranges of the individual color components.

More Related