Chapter 2 Computer Imaging Systems. Content Image Formation and Sensing Human Visual Perception – Human Visual System – Spatial Frequency Resolution –

Slides:



Advertisements
Similar presentations
Pixels and Digital Images Yrd. Doc. Dr. Ahmet Sayar Kocaeli Universitesi Bilgisayar Muhendisligi Ileri Bilgisayar Grafikleri.
Advertisements

L.Ghadah R. Hadba CT1514-L1.  Computer Graphics :refers to processing of creating a new image from Geometry, Lighting parameters, Materials and Textures.Using.
Digital Image Processing
Image Data Representations and Standards
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Image Processing Lecture 2. Computer Imaging Systems Computer imaging systems are comprised of two primary components types, hardware and software. The.
Dale & Lewis Chapter 3 Data Representation. Representing color Similarly to how color is perceived in the human eye, color information is encoded in combinations.
Multimedia for the Web: Creating Digital Excitement Multimedia Element -- Graphics.
Chapter 2 Computer Imaging Systems. Content Computer Imaging Systems.
Graphics File Formats. 2 Graphics Data n Vector data –Lines –Polygons –Curves n Bitmap data –Array of pixels –Numerical values corresponding to gray-
Introduction to Computer Graphics
Vector vs. Bitmap SciVis V
V Obtained from a summer workshop in Guildford County July, 2014
Digital Images. Scanned or digitally captured image Image created on computer using graphics software.
Digital Media Dr. Jim Rowan ITEC 2110 Color. COLOR Is a mess It’s a subjective sensation PRODUCED in the brain Color differs for light and paint/ink Printing.
Spectral contrast enhancement
Goals of Computer Vision To make useful decisions based on sensed images To construct 3D structure from 2D images.
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-2 CAD Systems Industrial Engineering Department King Saud University.
Digital Images The digital representation of visual information.
1 Bitmap Graphics It is represented by a dot pattern in which each dot is called a pixel. Each pixel can be in any one of the colors available and the.
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
Image processing Second lecture. Image Image Representation We have seen that the human visual system (HVS) receives an input image as a collection of.
CSCI-235 Micro-Computers in Science Hardware Part II.
Lecture 4 - Introduction to Computer Graphics
Lab #5-6 Follow-Up: More Python; Images Images ● A signal (e.g. sound, temperature infrared sensor reading) is a single (one- dimensional) quantity that.
Vector vs. Bitmap
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Guilford County SciVis V Applying Pixel Values to Digital Images.
September 21, COMPUTER VISION WEB PAGE IS UP !! OR Simply go to computer science homepage.
Chapter 2 : Imaging and Image Representation Computer Vision Lab. Chonbuk National University.
Intensity Transformations or Translation in Spatial Domain.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 3 This presentation © 2004, MacAvon Media Productions Introduction to Computer Graphics.
GRAPHICS. Topic Outline What is graphic. Resolution. Types of graphics. Using graphic in multimedia applications.
Chapter 1. Introduction. Goals of Image Processing “One picture is worth more than a thousand words” 1.Improvement of pictorial information for human.
Graphics. Graphic is the important media used to show the appearance of integrative media applications. According to DBP dictionary, graphics mean drawing.
CS- 375 Graphics and Human Computer Interaction Lecture 1: 12/4/1435 Fundamental Techniques in Graphics Lecturer: Kawther Abas.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Graphics and Images Graphics and images are both non-textual information, that can be displayed and printed. These images may appear on screen as well.
Multimedia Basics (1) Hongli Luo CEIT, IPFW. Topics r Image data type r Color Model : m RGB, CMY, CMYK, YUV, YIQ, YCbCr r Analog Video – NTSC, PAL r Digital.
Lecture 7: Intro to Computer Graphics. Remember…… DIGITAL - Digital means discrete. DIGITAL - Digital means discrete. Digital representation is comprised.
Introduction to Computer Graphics
Image File Formats. What is an Image File Format? Image file formats are standard way of organizing and storing of image files. Image files are composed.
Computer Science 121 Scientific Computing Winter 2014 Chapter 14 Images.
Applying Pixel Values to Digital Images
Introduction to Image Processing. What is Image Processing? Manipulation of digital images by computer. Image processing focuses on two major tasks: –Improvement.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
Intelligent Robotics Today: Vision & Time & Space Complexity.
Data Models, Pixels, and Satellite Bands. Understand the differences between raster and vector data. What are digital numbers (DNs) and what do they.
HOW SCANNERS WORK A scanner is a device that uses a light source to electronically convert an image into binary data (0s and 1s). This binary data can.
Chapter 1 Definitions & Basics of Digital Image 1.Image 2.Digital Image 3.Raster 4. Vector 5.Image Editing 1.
Scanner Scanner Introduction: Scanner is an input device. It reads the graphical images or line art or text from the source and converts.
NOTE, THIS PPT LARGELY SWIPED FROM
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Guilford County SciVis V104.03
Mohammed AM Dwikat CIS Department Digital Image.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
8th Lecture – Intro to Bitmap or Raster Images
Binary Notation and Intro to Computer Graphics
Computer Imaging Systems
Digital Data Format and Storage
Introduction to Computer Graphics
Computer Vision Lecture 4: Color
Digital Image Fundamentals
Multimedia System Image
REMOTE SENSING.
Visuals are analog signals...
Presentation transcript:

Chapter 2 Computer Imaging Systems

Content Image Formation and Sensing Human Visual Perception – Human Visual System – Spatial Frequency Resolution – Brightness Adaptation – Temporal Resolution

Image Formation & Sensing Digital images formed by energy interacting with a device that responds in a way that can be measured These measurements are taken at various points across a 2D grid The measuring devices – sensors and many different types are in use Sensors respond to electromagnetic (EM) spectrum, acoustical (sound) energy, electron beams, lasers and other signals

EM spectrum consists of visible light, infrared, ultraviolet, x-rays, microwaves, radio waves, or gamma waves Fig shows various spectral bands & their associated names, wavelengths, frequencies, and energy

Visible Light Imaging The light source emits light that is reflected from the object, & focused by lens onto the image sensor The sensor responds to the light energy by converting into electrical energy which is then measured This measurement is proportional to incident energy and describe as brightness at that point

Figure Model for visible light imaging. The light source emits light that is reflected from the object, and focused by the lens onto the image sensor Object in the world Lens Image Sensor Reflected Light Incident Light Light Source

The way object appears dependent on the way it reflects light – reflectance function of the object & related to what we think of as color and texture The color determines which wavelengths of light are absorbed & reflected Texture determines the angle at which the light is reflected

Figure The Reflectance Function. Here we see that the way in which an object reflects the incident light, the reflectance function, has a major effect on how it appears in the resulting image. The reflectance function is an intrinsic property of the object and relates to both color and texture. a) monochrome image showing brightness only, the color determines how much light is reflected and the surface texture determines the angle at which the light is reflected, b) color image, the color determines which wavelengths are absorbed and which are reflected

Imaging Outside the Visible Range of EM Spectrum Imaging with gamma-rays – measuring the rays as they are emitted from the object X-rays used in medical diagnostics Ultraviolet (UV) imaging used in industrial applications, law enforcement, microscopy, astronomy Infrared (IR) images used in satellite imaging

a) X-ray of a chest with an implanted electronic device to assist the heart (image courtesy of George Dean) b) dental x-ray

c) and d) fluorescence microscopy images of cells, generated by emitting visible light when illuminated by ultraviolet (UV) light (cell images courtesy of Sara Sawyer, SIUE)

e) one “slice” of a computerized tomography (CT) image of a patient’s abdomen, multiple 2-D image “slices” are taken at various angles and are then assembled to create a 3-D image

Figure (a) Infrared satellite image showing water vapor, (b) Infrared satellite imagery in the near infrared band (images courtesy of National Oceanic and Atmospheric Administration (NOAA))

Acoustic Imaging Works by sending out pulses of sonic energy (sound) at various frequencies & meauring the reflected waves Used in biological systems

a) b) c) Figure a) Ultrasound image of a baby showing the head and spine, b) Ultrasound image of a baby sucking its thumb, c) Ultrasound image of a baby smiling (isn’t it amazing what parent’s can see! – images courtesy of Angi and Dave Lunning)

Electron Imaging a) b) c) d) Figure a) Scanning Electron Microscope (SEM) b) SEM image of a mosquito, c) logic gate in a microchip, d) strawberry

Laser Imaging Used to create range images (depth maps) which contain information about the distance of a point in the world to image sensor instead of intensity

Stockman MSU/CSE Fall D face image from Minolta Vivid 910 scanner in the CSE PRIP Lab A rotating mirror scans a laser stripe across the object. 320x240 rangels obtained in about 2 seconds. [x,y,z,R,G,B] image.

Computer Generated Images Computers can be used to create images for applications For engineering (design & drafting), medicine and education, computer graphics, games etc.

Image Representation We have seen that the imaging sensor receives an input image as a collection of spatially distributed light energy; this form is called an optical image. Optical images are the types we deal with everyday-cameras capture them, monitors display them, and we see them. The digital image I(r, c) is represented as a two- dimensional array of data, where each pixel value corresponds to the brightness of the image at the point (r, c)

In linear algebra terms, a two-dimensional array like our image model I(r, c) is referred to as a matrix, and one row (or column) is called a vector. This image model is for monochrome (one-color, this is what we normally refer to as black and white) image data, but we have other types of image data that require extensions or modifications to this model. Typically, these are multiband images (color, multispectral), and they can be modeled by a different I(r, c) function corresponding to each separate band of brightness information. The image types we will consider are: 1) binary, 2) gray- scale, 3) color,and 4) multispectral.

Binary Images Binary images are the simplest type of images and can take on two values, typically black and white, or '0' and '1.' A binary image is referred to as a 1 bit/pixel image because it takes only 1 binary digit to represent each pixel. These types of images are most frequently used in computer vision applications where the only information required for the task is general shape, or outline, information. For example, to position a robotic gripper to grasp an object, to check a manufactured object for deformations, for facsimile (FAX)images, or in optical character recognition (OCR). often created from gray-scale images via a threshold operation, where every pixel above the threshold value is turned white ('1'), and those below it are turned black ('0').

Gray-Scale Images Gray-scale images are referred to as monochrome, or one-color images. They contain brightness information only, no color information. The number of bits used for each pixel determines the number of different brightness levels available. The typical image contains 8 bits/pixel data, which allows us to have 256 (0-255) different brightness (gray) levels.

Color Images Color images can be modeled as three-band monochrome image data, where each band of data corresponds to a different color. The actual information stored in the digital image data is the brightness information in each spectral band. When the image is displayed, the corresponding brightness information is displayed on the screen by picture elements that emit light energy corresponding to that particular color. Typical color images are represented as red, green, and blue, or RGB images. Using the 8-bit monochrome standard as a model, the corresponding color image would have 24 bits/pixel - 8-bits for each of the three color bands (red, green, and blue). In Figure 2.4.2a we see a representation of a typical RGB color image. Figure 2.4.2b illustrates that, in addition to referring to a row or column as a vector, we can refer to a single pixel's red, green, and blue values as a color pixel vector – (R, G,B).

For example, the hue/saturation/lightness (HSL) color transform allows us to describe colors in terms that we can more readily understand. The lightness is the brightness of the color, and the hue is what we normally think of as "color" (for example green, blue, or orange). The saturation is a measure of how much white is in the color (for example, pink is red with more white, so it is less saturated than a pure red). Most people can relate to this method of describing color. For example, "a deep, bright orange" would a have a large intensity (“bright”), a hue of "orange," and a high value of saturation ("deep"). We can picture this color in our minds, but if we defined this color in terms of Its RGB components, R == 245, G == 110, and B == 20, most people would have no idea how this color appears. Because the HSL color space was developed based on heuristics relating to human perception, various methods are available to transform RGB pixel values into the HSL COIOT space. Most of these are algorithmic in nature and are geometric approximations to mapping the RGB color cube into some HSL-type color space (see Figure 1.7-4).

RGB to HSL Mapping

Multispectral Images Multispectral images typically contain information outside the normal human perceptual range. This may include infrared, ultraviolet, X-ray, acoustic, or radar data. These are not images in the usual sense because the information represented is not directly visible by the human system. However, the information is often represented in visual form by mapping the different spectral bands to RGB components. If more than three bands of information are in the multispectral image, the dimensionality is reduced by applying a principal components transform.

Digital File Formats Many different types of images and applications with varying requirements. Types of image data are divided into two primary categories: bitmap and vector. Bitmap images (also called raster images) can be represented by our image model I(r, c), where we have pixel data and the corresponding brightness values stored in some file format. Vector images refer to methods of representing lines, curves, and shapes by storing only the key points. These key points are sufficient to define the shapes, and the process of turning these into an image is called rendering. After the image has been rendered, it can be thought of as being in bitmap format, where each pixel has specific values associated with it.

Most of the types of file formats discussed fall into the category of bitmap images, although some are compressed, so that the I(r, c) values are not directly available until the file is decompressed. In general, these types of images contain both header information and the raw pixel data. The header must contain information regarding: 1) the number of rows (height), 2) the number of columns (width), 3) the number of bands, 4) the number of bits per pixel, and 5) the file type. Additionally with some of the more complex file formats, the header may contain information about the type of compression used and any other necessary parameters to create the image, I(r, c).

The simplest file formats are the BIN and the PPM file formats. The BIN format is simply the raw image data I(r, c). This file contains no header information, so the user must know the necessary parameters-size, number of bands, and bits per pixel-to use the file as an image. The PPM formats are widely used, and a set of conversion utilities are freely available (pbmplus). They basically contain raw image data with the simplest header possible. The PPM format includes PBM (binary), PGM (gray-scale), PPM (color), and PNM (handles any of the previous types). The headers for these image file formats contain a "magic number" that identifies the file type, the image width and height, the number of bands, and the maximum brightness value (which determines the required number of bits per pixel for each band).

Two image file formats commonly used on many different computer platforms, as well as on the World Wide Web, are the TIFF (Tagged Image File Format) and GIF (Graphics Interchange Format) file formats. GIF files are limited to a maximum of 8 bits/pixel and allow for a type of compression called LZW (Lempel-Ziv-Welch). The 8 bits/pixel limitation does not mean that it does not support color images, it simply means that no more than 256 colors (28) are allowed in an image. This is typically implemented by means of a lookup table (LUT), where the 256 colors are stored in a table, and 1 byte (8 bits) is used as an index (address) into that table for each pixel (see Figure 1.8-1). The GIF image header is 13 bytes long and contains the basic information required.

The TIFF file format is more sophisticated than GIF and has many more options and capabilities. TIFF files allow a maximum of 24 bits/pixel and support five types of compression, including RLE (run-length encoding), LZW, and JPEG (Joint Photographic Experts Group). The TIFF header is of variable size and is arranged in a hierarchical manner. TIFF is one of the most comprehensive formats available and is designed to allow the user to customize it for specific applications.

JPEG File Interchange Format (JFIF) is rapidly becoming a standard that allows images compressed with the JPEG algorithm to be used in many different computer platforms. The JFIF files have a Start of Image (Sal) and an application (APPO) marker that serve as a file header. JPEG image compression is being used extensively on the WWW and is expected to become the de facto standard for many applications. The JPEG algorithm is very flexible, so it can create relatively large files with excellent image quality or very small files with relatively poor image quality. The user can define the amount of compression desired dependent on the needs of the application.

Two formats that were initially computer specific, but have become commonly used throughout the industry, are the Sun Raster and the SGI (Silicon Graphics, Inc.) file formats. The Sun Raster file format is much more ubiquitous than the SGI, but SGI has become the leader in state-of-the-art graphics computers. The SG format handles up to 16 million colors and supports RLE compression. The SGI image header is 512 bytes (with the majority of the bytes not used presumably for future extensions) followed by the image data. The Sun Raster format is defined to allow for any number of bits per pixel and also supports RLE compression and color LUTs. It has a 32-byte header, followed by the image data.

EPS (encapsulated PostScript), is not of the bitmap variety. It is actually a language that supports more than images; it is commonly used in desktop publishing. EPS is directly supported by many printers (in the hardware itself), so it is commonly used for data interchange across hardware and software platforms. It is a commonly used standard that allows output devices, monitors, printers, and computer software to communicate regarding both graphics and text. The primary advantage of the EPS format is its wide acceptance. The disadvantage of using EPS is that the files are very big because it is a general-purpose language designed for much more than just images. In computer imaging, EPS is used primarily as a means to generate printed images. The EPS files actually contain text and can be created by any text editor but are typically generated by applications software. The language itself is very complex and continually evolving.

VIP (Visualization in Image Processing) format, developed specifically for the CVIPtools software. When performing computer imaging tasks, temporary images are often created that use floating point representations that are beyond the standard 8 bits/pixel capabilities of most display devices. The process of representing this type of data as an image is referred to as data visualization and can be achieved by remapping the data 0 the 8-bit range, 0 to 255. Remapping is the process of taking the original data and defining an equation to translate the original data to the output data range, typically 0 to 255 for 8-bit display. The two most commonly used methods in computer imaging are linear and logarithmic mapping.