SlideShare une entreprise Scribd logo
1  sur  47
Chapter 2
Image Acquisition
This chapter includes:
    • Introduction
    • Image Sensors
    • Representation of the Image
    Data
    •Types of digital images
Introduction

• The aim of image acquisition sub-
  system is:
• to transform optical image data into
  an array of numerical data.
Introduction

• Three major issues for image
  acquisition:
1. sensing,
2. representation,
3. digitization.
Image Sensors

• Image sensing is carried out by different
  techniques.
• The most commonly used devices are:
  1. Vidicon cameras,
  2. solid-state arrays,
  3. laser scanners.
The Vidicon

• The Vidicon is a device used to transform
  optical images into electrical signals.
• An electron beam in the tube is deflected to
  scan the image.
• The net current through the photo conductive
  surface varies according to the scanned image
  position.
The Vidicon

    • The Vidicon , while relatively inexpensive, has
      some disadvantages.

    • The signal contains a large component of
.
      high-frequency noise;

    • fragile and easily broken by vibration or
      shock.
Solid-State Image Devices

    •These elements are highly
    durable, compact, and attaining higher
    resolution.

.
    •The two main kinds of sensors used in
    digital cameras are:
          • CCD (charge coupled device)
          • CMOS (complementary metal oxide
          on silicon)
Solid-State Image Devices




    .

.
Solid-State Image Devices (CCD)

    • In a CCD, photons are accumulated in each
      active well during the exposure time.
    • The charges are transferred from well to well
      and convert it to voltage at output node.
.
Solid-State Image Devices (CMOS)

    • In CMOS, the photos hitting the sensor
      directly affect the conductivity (or gain) of a
      photosensitive transistor.
    • The resulting voltage is then amplified and
      sampled .
.
Laser Scanner

    • Particularly important in industrial
      applications.

    • devices that obtain a “ depth map “.
.
    • The laser light is transmitted and then
      measuring the phase of the arriving
      reflected light.
Representation of the Image Data

       Representation should fulfill two
       requirements:

    1. Facilitate processing by means of a
.
       computer.

    2. Contain all the information that defines
       characteristics of the image.
Representation of the Image Data

    • The optical sub-system will deliver a
      continuous two-dimensional function f(x,y).

    •    f(x, y) represents the intensity of light at
.       each point.

    • f(x, y) is quantized so that it can be
      represented as an array of numbers.
Representation of the Image Data
      Two forms of quantization:
    • Spatial Quantization
    • Amplitude ( intensity ) Quantization

.
Spatial Quantization

    • The image is sampled at (m x n) discrete
      points.
    • Each sample is called a picture cell
      ( “pixel”).
.
Pixels
Pixels is the smallest addressable area of a display.

The word pixel comes from “picture element”.
Pixels
The resolution of an image is described as the number
of pixels horizontally times the number of pixels
vertically.




                   A 10x7 image
Pixels
We will refer to a pixel by the number of its row and
the number of its column.

          1   2   3   4   5   6   7   8   9   10
      1

      2

      3

      4
                                                   This is the (3,7)
      5
                                                   pixel
      6
      7
Pixels
By this convention, the x-axis is vertical and the y-axis is
horizontal.

This is consistent with the way we refer to the elements of a
matrix.
                                                y




                                               This is the (3,7) pixel




      x
Amplitude Quantization
    • Each pixel assigned a numerical code.
    • The code represents the intensity of the
      image function at that point.
    • The resolution of the code is determined by
      the number of quantization levels ( gray
.
      levels ).
Amplitude Quantization

    • The set of the gray levels ranging from black
      to white is called the gray scale of the system.

    • The number of gray levels is usually an
.
      integral power of 2, such that:

    • black = 0 - white =2L – 1

    • where L is an integer and there are 2L gray
      levels in the gray scale.
Digital images
• We consider the image as being a two dimensional
  function,
• The function values give the brightness of the
  image at any given point
Digital images
• A digital image is obtained by quantizing the
  output signals obtained from image
  acquisition devices.
• We consider a digital image as a matrix.
• Its rows and columns indices identify a point
  in the image.
• The matrix element value indicates the gray
  level at that point.
Digital images
• A digital image differs from a photo in that
  the x, y and f(x, y) values are all discrete.
  Usually they take on only integer values,
Color Digital images

• An image is broken into thousands of pixels.
• An image stored in this way is called a bitmap.
• Pixels are represented by three numbers.
   • Red 0-255
   • Blue 0-255
   • Green 0-255
Types of Digital Images

• Black&white images
      –Binary images (1-bit images)
      –Grayscale images (8-bit gray-level
       images)
• Color images
      – 24-bit color images
      – 8-bit color images
Binary Images

• Each pixel is stored as a single bit (0 or 1),
• The intensities of the pixels are either 0 or 1.
• Such images are called binary and use only one bit per
  pixel.
• Such an image is also called a 1-bit monochrome
  image since it contains no color.
Binary Images
• An example was the image shown




• we have only the two colors: white for the
  edges, and black for the background.
Monochrome 1-bit Lena image.
Another example
Binary Images
• To generate Binary image from grey scale image.
• A Threshold value, T, is used to partition the
  image into pixels with just two values, such that :
• IF f (x,y) >= T THEN g (x,y) = 1
• IF f (x,y) < T THEN g (x,y) = 0
• where g (x,y) denotes the binary version of f (x,y).
Image Data Structures

• Pixels -- picture elements in digital images

• Image Resolution -- number of pixels in a digital image :
• Resolution = width x height
• higher resolution always yields better quality.

• File size = width x height x #ofBytesPerPixel
Binary Images
File size calculation:

Resolution: 640 x 480

File size = 640 x 480 x 1/8 = 38.4 kB
Grayscale images
• Each pixel has a gray-value between 0 and 255.
• The high values correspond to bright pixels and the
  low values correspond to dark pixels.
• A dark pixel might have a value of 10, and a bright
  one might be 230.
Grayscale images
• The intensities of the pixels are integers in the
  interval [0,255].
• We use one byte of memory for each pixel.
Grayscale images

The whole image is described by an array of
numbers called matrix.


                           0.09 0.76   0.12   0.43
                           0.98  0     0.32   0.25
                            0   0.39   0.89   0.23
                           0.35 0.34   0.34   0.54
Grayscale image of Lena.
Monochrome 1-bit Lena image.   Grayscale image of Lena.




         38 400 Bytes                  307 200 Bytes
8-bit Gray-level Images

File size calculation:

Resolution: 640 x 480

File size = 640 x 480 x 1 = 307 200 = 300 kB
Colour images
• Colour image are usually described in the RGB
  colour space.
• The primary colours red, green and blue are
  combined to reproduce other colours.
Colour images
A colour image is described by three matrices.


                            0.56 0.82 0.75
                            0.65 0.87 0.31

                                       0.16 0.56 0.92
                                       0.19 0.84 0.71
                     0.37 0.93 0.73
                     0.48 0.38 0.02
Colour images
•   In the RGB colour space, a colour is represented by a
    triplet (r,g,b)
•       r gives the intensity of the red component
•       g gives the intensity of the green component
•       b gives the intensity of the blue component

•   You will often see the values of r,g,b as integers in
    the interval [0,255].
Colour images

• Each pixel is represented by three bytes
  (e.g., RGB)- 24-bit Color Images

• Supports 256 x 256 x 256 possible
  combined colors (16,777,216)

• A 640 x 480 24-bit color image would
  require 921.6 KB of storage
Indexed images

• 8-bit Color Images
• One byte for each pixel
• Requires Color Look-Up Tables
  (LUTs)
• A 640 x 480 8-bit color image
  requires 307.2 KB of storage (the
  same as 8-bit grayscale)
Indexed images
• The image has an associated color map which is simply a
  list of all the colors used in that image.
• Each pixel has a value which does not give its color (as for
  an RGB image), but an index to the color in the map.
8-bit Color Images
• Such image files use the concept of a
  lookup table to store color information.

• Basically, the image stores not color, but
  instead a code value, for each pixel.

• Each code is actually an index into a table
  with 3-byte values that specify the color for
  a pixel with that lookup table index.
Color Look-up Tables (LUTs)

• The idea used in 8-bit color images is to store only
  the index, or code value, for each pixel.

• Then, if a pixel stores the value 25, the meaning is
  to go to row 25 in a color look-up table (LUT).

Contenu connexe

Tendances

Multimedia graphics and image data representation
Multimedia graphics and image data representationMultimedia graphics and image data representation
Multimedia graphics and image data representationMazin Alwaaly
 
03 digital image fundamentals DIP
03 digital image fundamentals DIP03 digital image fundamentals DIP
03 digital image fundamentals DIPbabak danyal
 
Adaptive Median Filters
Adaptive Median FiltersAdaptive Median Filters
Adaptive Median FiltersAmnaakhaan
 
Lectures 1 3 final (4)
Lectures 1 3 final (4)Lectures 1 3 final (4)
Lectures 1 3 final (4)seemakashyap15
 
COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I Hemantha Kulathilake
 
Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image FundamentalsKalyan Acharjya
 
Feature detection and matching
Feature detection and matchingFeature detection and matching
Feature detection and matchingKuppusamy P
 
A (very brief) Introduction to Image Processing and 3D Printing with ImageJ
A (very brief) Introduction to Image Processing and 3D Printing with ImageJA (very brief) Introduction to Image Processing and 3D Printing with ImageJ
A (very brief) Introduction to Image Processing and 3D Printing with ImageJPaul Mignone, Ph.D
 
Removal of Salt and Pepper Noise in images
Removal of Salt and Pepper Noise in imagesRemoval of Salt and Pepper Noise in images
Removal of Salt and Pepper Noise in imagesMurali Siva
 
Image processing
Image processingImage processing
Image processingabuamo
 
Image processing SaltPepper Noise
Image processing SaltPepper NoiseImage processing SaltPepper Noise
Image processing SaltPepper NoiseAnkush Srivastava
 
Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Kalyan Acharjya
 
Image Enhancement
Image Enhancement Image Enhancement
Image Enhancement Deven Sahu
 
Digital image processing
Digital image processingDigital image processing
Digital image processingABIRAMI M
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)asodariyabhavesh
 
Digital image processing img smoothning
Digital image processing img smoothningDigital image processing img smoothning
Digital image processing img smoothningVinay Gupta
 

Tendances (20)

Multimedia graphics and image data representation
Multimedia graphics and image data representationMultimedia graphics and image data representation
Multimedia graphics and image data representation
 
03 digital image fundamentals DIP
03 digital image fundamentals DIP03 digital image fundamentals DIP
03 digital image fundamentals DIP
 
Adaptive Median Filters
Adaptive Median FiltersAdaptive Median Filters
Adaptive Median Filters
 
Lectures 1 3 final (4)
Lectures 1 3 final (4)Lectures 1 3 final (4)
Lectures 1 3 final (4)
 
COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I
 
Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image Fundamentals
 
Feature detection and matching
Feature detection and matchingFeature detection and matching
Feature detection and matching
 
A (very brief) Introduction to Image Processing and 3D Printing with ImageJ
A (very brief) Introduction to Image Processing and 3D Printing with ImageJA (very brief) Introduction to Image Processing and 3D Printing with ImageJ
A (very brief) Introduction to Image Processing and 3D Printing with ImageJ
 
Removal of Salt and Pepper Noise in images
Removal of Salt and Pepper Noise in imagesRemoval of Salt and Pepper Noise in images
Removal of Salt and Pepper Noise in images
 
Digital Image Fundamentals - II
Digital Image Fundamentals - IIDigital Image Fundamentals - II
Digital Image Fundamentals - II
 
4 image enhancement in spatial domain
4 image enhancement in spatial domain4 image enhancement in spatial domain
4 image enhancement in spatial domain
 
Digital image processing - OLD
Digital image processing - OLDDigital image processing - OLD
Digital image processing - OLD
 
Image processing
Image processingImage processing
Image processing
 
Image processing SaltPepper Noise
Image processing SaltPepper NoiseImage processing SaltPepper Noise
Image processing SaltPepper Noise
 
Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)
 
Gr3112821287
Gr3112821287Gr3112821287
Gr3112821287
 
Image Enhancement
Image Enhancement Image Enhancement
Image Enhancement
 
Digital image processing
Digital image processingDigital image processing
Digital image processing
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
 
Digital image processing img smoothning
Digital image processing img smoothningDigital image processing img smoothning
Digital image processing img smoothning
 

En vedette

Dic rd theory_quantization_07
Dic rd theory_quantization_07Dic rd theory_quantization_07
Dic rd theory_quantization_07wtyru1989
 
Rate distortion theory
Rate distortion theoryRate distortion theory
Rate distortion theorysamusk
 
Tele3113 wk7wed
Tele3113 wk7wedTele3113 wk7wed
Tele3113 wk7wedVin Voro
 
25 quantization and_compression
25 quantization and_compression25 quantization and_compression
25 quantization and_compressionAmina Byalal
 
Course 10 example application of random signals - oversampling and noise sh...
Course 10   example application of random signals - oversampling and noise sh...Course 10   example application of random signals - oversampling and noise sh...
Course 10 example application of random signals - oversampling and noise sh...wtyru1989
 
Quantization
QuantizationQuantization
Quantizationwtyru1989
 
Presentation of Lossy compression
Presentation of Lossy compressionPresentation of Lossy compression
Presentation of Lossy compressionOmar Ghazi
 
Digital Image Processing Fundamental
Digital Image Processing FundamentalDigital Image Processing Fundamental
Digital Image Processing FundamentalThuong Nguyen Canh
 
Introduction to digital image processing
Introduction to digital image processingIntroduction to digital image processing
Introduction to digital image processingHossain Md Shakhawat
 
Image processing
Image processingImage processing
Image processingVarun Raj
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image ProcessingSahil Biswas
 

En vedette (19)

electroport 2
electroport 2electroport 2
electroport 2
 
Lossy
LossyLossy
Lossy
 
Dic rd theory_quantization_07
Dic rd theory_quantization_07Dic rd theory_quantization_07
Dic rd theory_quantization_07
 
Sampling
SamplingSampling
Sampling
 
Rate distortion theory
Rate distortion theoryRate distortion theory
Rate distortion theory
 
Tele3113 wk7wed
Tele3113 wk7wedTele3113 wk7wed
Tele3113 wk7wed
 
25 quantization and_compression
25 quantization and_compression25 quantization and_compression
25 quantization and_compression
 
Course 10 example application of random signals - oversampling and noise sh...
Course 10   example application of random signals - oversampling and noise sh...Course 10   example application of random signals - oversampling and noise sh...
Course 10 example application of random signals - oversampling and noise sh...
 
Quantization
QuantizationQuantization
Quantization
 
Quantization
QuantizationQuantization
Quantization
 
Sampling theorem
Sampling theoremSampling theorem
Sampling theorem
 
Presentation of Lossy compression
Presentation of Lossy compressionPresentation of Lossy compression
Presentation of Lossy compression
 
Sampling theory
Sampling theorySampling theory
Sampling theory
 
quantization
quantizationquantization
quantization
 
Digital Image Processing Fundamental
Digital Image Processing FundamentalDigital Image Processing Fundamental
Digital Image Processing Fundamental
 
Introduction to digital image processing
Introduction to digital image processingIntroduction to digital image processing
Introduction to digital image processing
 
Image processing
Image processingImage processing
Image processing
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Image processing ppt
Image processing pptImage processing ppt
Image processing ppt
 

Similaire à Ch2 (20)

CLASS 1.1.pptx
CLASS 1.1.pptxCLASS 1.1.pptx
CLASS 1.1.pptx
 
DIP Notes Unit-1 PPT.pdf
DIP Notes Unit-1 PPT.pdfDIP Notes Unit-1 PPT.pdf
DIP Notes Unit-1 PPT.pdf
 
DIP Notes Unit-1 PPT , engineering, computer Science
DIP Notes Unit-1 PPT , engineering, computer ScienceDIP Notes Unit-1 PPT , engineering, computer Science
DIP Notes Unit-1 PPT , engineering, computer Science
 
Dip digital image 3
Dip digital image 3Dip digital image 3
Dip digital image 3
 
1 [Autosaved].pptx
1 [Autosaved].pptx1 [Autosaved].pptx
1 [Autosaved].pptx
 
Digital image processing
Digital image processingDigital image processing
Digital image processing
 
Digital image processing
Digital image processingDigital image processing
Digital image processing
 
Prinsip gambar digital
Prinsip gambar digitalPrinsip gambar digital
Prinsip gambar digital
 
Multimedia tools(images)
Multimedia tools(images)Multimedia tools(images)
Multimedia tools(images)
 
Images
ImagesImages
Images
 
Chap5 imange enhancemet
Chap5 imange enhancemetChap5 imange enhancemet
Chap5 imange enhancemet
 
Homework
HomeworkHomework
Homework
 
ImSeg04.ppt
ImSeg04.pptImSeg04.ppt
ImSeg04.ppt
 
Im seg04
Im seg04Im seg04
Im seg04
 
ImSeg04 (2).ppt
ImSeg04 (2).pptImSeg04 (2).ppt
ImSeg04 (2).ppt
 
Homework
HomeworkHomework
Homework
 
MM3.ppt
MM3.pptMM3.ppt
MM3.ppt
 
Image & Graphics
Image & GraphicsImage & Graphics
Image & Graphics
 
Image enhancement in the spatial domain1
Image enhancement in the spatial domain1Image enhancement in the spatial domain1
Image enhancement in the spatial domain1
 
Image Enhancement in the Spatial Domain1.ppt
Image Enhancement in the Spatial Domain1.pptImage Enhancement in the Spatial Domain1.ppt
Image Enhancement in the Spatial Domain1.ppt
 

Dernier

Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 

Dernier (20)

Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 

Ch2

  • 2. This chapter includes: • Introduction • Image Sensors • Representation of the Image Data •Types of digital images
  • 3. Introduction • The aim of image acquisition sub- system is: • to transform optical image data into an array of numerical data.
  • 4. Introduction • Three major issues for image acquisition: 1. sensing, 2. representation, 3. digitization.
  • 5. Image Sensors • Image sensing is carried out by different techniques. • The most commonly used devices are: 1. Vidicon cameras, 2. solid-state arrays, 3. laser scanners.
  • 6. The Vidicon • The Vidicon is a device used to transform optical images into electrical signals. • An electron beam in the tube is deflected to scan the image. • The net current through the photo conductive surface varies according to the scanned image position.
  • 7. The Vidicon • The Vidicon , while relatively inexpensive, has some disadvantages. • The signal contains a large component of . high-frequency noise; • fragile and easily broken by vibration or shock.
  • 8. Solid-State Image Devices •These elements are highly durable, compact, and attaining higher resolution. . •The two main kinds of sensors used in digital cameras are: • CCD (charge coupled device) • CMOS (complementary metal oxide on silicon)
  • 10. Solid-State Image Devices (CCD) • In a CCD, photons are accumulated in each active well during the exposure time. • The charges are transferred from well to well and convert it to voltage at output node. .
  • 11. Solid-State Image Devices (CMOS) • In CMOS, the photos hitting the sensor directly affect the conductivity (or gain) of a photosensitive transistor. • The resulting voltage is then amplified and sampled . .
  • 12. Laser Scanner • Particularly important in industrial applications. • devices that obtain a “ depth map “. . • The laser light is transmitted and then measuring the phase of the arriving reflected light.
  • 13. Representation of the Image Data Representation should fulfill two requirements: 1. Facilitate processing by means of a . computer. 2. Contain all the information that defines characteristics of the image.
  • 14. Representation of the Image Data • The optical sub-system will deliver a continuous two-dimensional function f(x,y). • f(x, y) represents the intensity of light at . each point. • f(x, y) is quantized so that it can be represented as an array of numbers.
  • 15. Representation of the Image Data Two forms of quantization: • Spatial Quantization • Amplitude ( intensity ) Quantization .
  • 16. Spatial Quantization • The image is sampled at (m x n) discrete points. • Each sample is called a picture cell ( “pixel”). .
  • 17. Pixels Pixels is the smallest addressable area of a display. The word pixel comes from “picture element”.
  • 18. Pixels The resolution of an image is described as the number of pixels horizontally times the number of pixels vertically. A 10x7 image
  • 19. Pixels We will refer to a pixel by the number of its row and the number of its column. 1 2 3 4 5 6 7 8 9 10 1 2 3 4 This is the (3,7) 5 pixel 6 7
  • 20. Pixels By this convention, the x-axis is vertical and the y-axis is horizontal. This is consistent with the way we refer to the elements of a matrix. y This is the (3,7) pixel x
  • 21. Amplitude Quantization • Each pixel assigned a numerical code. • The code represents the intensity of the image function at that point. • The resolution of the code is determined by the number of quantization levels ( gray . levels ).
  • 22. Amplitude Quantization • The set of the gray levels ranging from black to white is called the gray scale of the system. • The number of gray levels is usually an . integral power of 2, such that: • black = 0 - white =2L – 1 • where L is an integer and there are 2L gray levels in the gray scale.
  • 23. Digital images • We consider the image as being a two dimensional function, • The function values give the brightness of the image at any given point
  • 24. Digital images • A digital image is obtained by quantizing the output signals obtained from image acquisition devices. • We consider a digital image as a matrix. • Its rows and columns indices identify a point in the image. • The matrix element value indicates the gray level at that point.
  • 25. Digital images • A digital image differs from a photo in that the x, y and f(x, y) values are all discrete. Usually they take on only integer values,
  • 26. Color Digital images • An image is broken into thousands of pixels. • An image stored in this way is called a bitmap. • Pixels are represented by three numbers. • Red 0-255 • Blue 0-255 • Green 0-255
  • 27. Types of Digital Images • Black&white images –Binary images (1-bit images) –Grayscale images (8-bit gray-level images) • Color images – 24-bit color images – 8-bit color images
  • 28. Binary Images • Each pixel is stored as a single bit (0 or 1), • The intensities of the pixels are either 0 or 1. • Such images are called binary and use only one bit per pixel. • Such an image is also called a 1-bit monochrome image since it contains no color.
  • 29. Binary Images • An example was the image shown • we have only the two colors: white for the edges, and black for the background.
  • 30. Monochrome 1-bit Lena image. Another example
  • 31. Binary Images • To generate Binary image from grey scale image. • A Threshold value, T, is used to partition the image into pixels with just two values, such that : • IF f (x,y) >= T THEN g (x,y) = 1 • IF f (x,y) < T THEN g (x,y) = 0 • where g (x,y) denotes the binary version of f (x,y).
  • 32. Image Data Structures • Pixels -- picture elements in digital images • Image Resolution -- number of pixels in a digital image : • Resolution = width x height • higher resolution always yields better quality. • File size = width x height x #ofBytesPerPixel
  • 33. Binary Images File size calculation: Resolution: 640 x 480 File size = 640 x 480 x 1/8 = 38.4 kB
  • 34. Grayscale images • Each pixel has a gray-value between 0 and 255. • The high values correspond to bright pixels and the low values correspond to dark pixels. • A dark pixel might have a value of 10, and a bright one might be 230.
  • 35. Grayscale images • The intensities of the pixels are integers in the interval [0,255]. • We use one byte of memory for each pixel.
  • 36. Grayscale images The whole image is described by an array of numbers called matrix. 0.09 0.76 0.12 0.43 0.98 0 0.32 0.25 0 0.39 0.89 0.23 0.35 0.34 0.34 0.54
  • 38. Monochrome 1-bit Lena image. Grayscale image of Lena. 38 400 Bytes 307 200 Bytes
  • 39. 8-bit Gray-level Images File size calculation: Resolution: 640 x 480 File size = 640 x 480 x 1 = 307 200 = 300 kB
  • 40. Colour images • Colour image are usually described in the RGB colour space. • The primary colours red, green and blue are combined to reproduce other colours.
  • 41. Colour images A colour image is described by three matrices. 0.56 0.82 0.75 0.65 0.87 0.31 0.16 0.56 0.92 0.19 0.84 0.71 0.37 0.93 0.73 0.48 0.38 0.02
  • 42. Colour images • In the RGB colour space, a colour is represented by a triplet (r,g,b) • r gives the intensity of the red component • g gives the intensity of the green component • b gives the intensity of the blue component • You will often see the values of r,g,b as integers in the interval [0,255].
  • 43. Colour images • Each pixel is represented by three bytes (e.g., RGB)- 24-bit Color Images • Supports 256 x 256 x 256 possible combined colors (16,777,216) • A 640 x 480 24-bit color image would require 921.6 KB of storage
  • 44. Indexed images • 8-bit Color Images • One byte for each pixel • Requires Color Look-Up Tables (LUTs) • A 640 x 480 8-bit color image requires 307.2 KB of storage (the same as 8-bit grayscale)
  • 45. Indexed images • The image has an associated color map which is simply a list of all the colors used in that image. • Each pixel has a value which does not give its color (as for an RGB image), but an index to the color in the map.
  • 46. 8-bit Color Images • Such image files use the concept of a lookup table to store color information. • Basically, the image stores not color, but instead a code value, for each pixel. • Each code is actually an index into a table with 3-byte values that specify the color for a pixel with that lookup table index.
  • 47. Color Look-up Tables (LUTs) • The idea used in 8-bit color images is to store only the index, or code value, for each pixel. • Then, if a pixel stores the value 25, the meaning is to go to row 25 in a color look-up table (LUT).