550 likes | 574 Views
Introduction to Image Processing. What is Image Processing?. Manipulation of digital images by computer. Image processing focuses on two major tasks: Improvement of pictorial information for human interpretation and high level processing.
E N D
What is Image Processing? • Manipulation of digital images by computer. • Image processing focuses on two major tasks: • Improvement of pictorial information for human interpretation and high level processing. • Processing of image data for storage and transmission.
Related Areas • Image Processing • Computer Vision • Computer Graphics
Image Processing • Image Enhancement
Image Processing (cont’d) • Image Restoration
Image Processing (cont’d) • Image Compression
Geometric Models Computer Graphics Projection, shading, lighting models Output: Image Synthetic Camera
Output: Model Real Scene Computer Vision Cameras Images
Applications: Image Enhancement • One of the most common uses of IP techniques: improve quality, remove noise etc
Applications: Space • Launched in 1990 the Hubbletelescope can take images of very distant objects • An incorrect mirror made many of Hubble’s images useless • Image processing techniques were used to fix this!
Applications: Medicine • Take slice from MRI scan of a dog’s heart, and find boundaries between different types of tissue • Image with gray levels representing tissue density • Use a suitable filter to highlight edges Original MRI image of a dog’s heart Edge detection image
Applications: GIS • Geographic Information Systems • Digital image processing techniques are used extensively to manipulate satellite imagery. • meteorology terrain classification
Applications: Industrial Inspection • Human operators are expensive, slow and unreliable • Make machines do thejob instead! • Industrial vision systems are used in all kinds of industries
Applications: Law Enforcement • Image processing techniques are used extensively by law enforcers • Number plate recognition for speed cameras or automated toll systems • Fingerprint recognition
Examples: HCI • Make Human Computer Interaction (HCI) more natural • Face recognition • Gesture recognition
Key Stages in Digital Image Processing Image Restoration Morphological Processing Image Enhancement Segmentation Image Acquisition Representation & Description Object Recognition Problem Domain Colour Image Processing Image Compression
Image Acquisition Image Restoration Morphological Processing Image Enhancement Segmentation Image Acquisition Representation & Description Object Recognition Problem Domain Colour Image Processing Image Compression
Image Enhancement Image Restoration Morphological Processing Image Enhancement Segmentation Image Acquisition Representation & Description Object Recognition Problem Domain Colour Image Processing Image Compression
Image Restoration Image Restoration Morphological Processing Image Enhancement Segmentation Image Acquisition Representation & Description Object Recognition Problem Domain Colour Image Processing Image Compression
Morphological Processing Image Restoration Morphological Processing Image Enhancement Segmentation Image Acquisition Representation & Description Object Recognition Problem Domain Colour Image Processing Image Compression
Segmentation Image Restoration Morphological Processing Image Enhancement Segmentation Image Acquisition Representation & Description Object Recognition Problem Domain Colour Image Processing Image Compression
Representation & Description Image Restoration Morphological Processing Image Enhancement Segmentation Image Acquisition Representation & Description Object Recognition Problem Domain Colour Image Processing Image Compression
Object Recognition Image Restoration Morphological Processing Image Enhancement Segmentation Image Acquisition Representation & Description Object Recognition Problem Domain Colour Image Processing Image Compression
Image Compression Image Restoration Morphological Processing Image Enhancement Segmentation Image Acquisition Object Recognition Representation & Description Problem Domain Colour Image Processing Image Compression
Color Image Processing Image Restoration Morphological Processing Image Enhancement Segmentation Image Acquisition Object Recognition Representation & Description Problem Domain Color Image Processing Image Compression
What is (visible) light? • The visible portion of the electromagnetic (EM) spectrum. • Approximately between 400 and 700 nanometers.
Examples: Gama-Ray Imaging Gamma-ray imaging: nuclear medicine and astronomical observations
Examples: X-Ray Imaging X-rays: medical diagnostics, industry, and astronomy, etc.
Examples: Ultraviolet Imaging Ultraviolet: industrial inspection, microscopy, lasers, biological imaging, and astronomical observations
Examples: Infrared Imaging Infrared bands: light microscopy, astronomy, remote sensing, industry, and law enforcement.
Sonic images • Produced by the reflection of sound waves off an object. • High sound frequencies are used to improve resolution.
Range images • Can be produced by using laser range-finders. • An array of distances to the objects in the scene.
Image formation • There are two parts to the image formation process: • The geometry of image formation, which determines where in the image plane the projection of a point in the scene will be located. • The physics of light, which determines the brightness of a point in the image plane as a function of illumination and surface properties.
Pinhole camera • This is the simplest device to form an image of a 3D scene on a 2D surface. • Straight rays of light pass through a “pinhole” and form an inverted image of the object on the image plane.
Camera optics • In practice, the aperture must be larger to admit more light. • Lenses are placed in the aperture to focus the bundle of rays from each scene point onto the corresponding point in the image plane
Physics of Light f(x,y)=i(x,y)r(x,y) where • i(x,y) the amount of illumination incident to the scene 2) r(x,y) the reflectance from the object
CCD (Charged-Coupled Device) cameras • Tiny solid state cells convert light energy into electrical charge. • The image plane acts as a digital memory that can be read row by row by a computer.
Frame grabber • Usually, a CCD camera plugs into a computer board (frame grabber). • The frame grabber digitizes the signal and stores it in its memory (frame buffer).
Image digitization • Sampling means measuring the value of an image at a finite number of points. • Quantization is the representation of the measured value at the sampled point by an integer.
Image digitization (cont’d) 2D example
Effect of Image Sampling • original image sampled by a factor of 2 • sampled by a factor of 4 sampled by a factor of 8
Effect of Image Quantization 256 gray levels (8bits/pixel) 32 gray levels (5 bits/pixel) 16 gray levels (4 bits/pixel) 8 gray levels (3 bits/pixel) 4 gray levels (2 bits/pixel) 2 gray levels (1 bit/pixel)
Representing Digital Images The result of sampling and quantization is a matrix of integer numbers. Here we have an image f(x,y) that was sampled to produce M rows and N columns.