SlideShare a Scribd company logo
Digital Image Fundamentals
Selim Aksoy
Department of Computer Engineering
Bilkent University
saksoy@cs.bilkent.edu.tr
CS 484, Spring 2012 ©2012, Selim Aksoy 2
Imaging process
 Light reaches
surfaces in 3D.
 Surfaces reflect.
 Sensor element
receives light energy.
 Intensity is important.
 Angles are important.
 Material is important.
Adapted from Rick Szeliski
Physical parameters
 Geometric
 Type of projection
 Camera pose
 Optical
 Sensor’s lens type
 Focal length, field of view, aperture
 Photometric
 Type, direction, intensity of light reaching sensor
 Surfaces’ reflectance properties
 Sensor
 Sampling, etc.
CS 484, Spring 2012 ©2012, Selim Aksoy 3
Adapted from Trevor Darrell, UC Berkeley
CS 484, Spring 2012 ©2012, Selim Aksoy 4
Image acquisition
Adapted from Gonzales and Woods
CS 484, Spring 2012 ©2012, Selim Aksoy 5
Image acquisition
Adapted from Rick Szeliski
Camera calibration
 Camera’s extrinsic and intrinsic parameters are needed to
calibrate the geometry.
 Extrinsic: camera frame  world frame
 Intrinsic: image coordinates relative to camera  pixel
coordinates
CS 484, Spring 2012 ©2012, Selim Aksoy 6
Camera frame
World
frame
Adapted from Trevor Darrell, UC Berkeley
Perspective effects
CS 484, Spring 2012 ©2012, Selim Aksoy 7
Adapted from Trevor Darrell, UC Berkeley
Aperture
 Aperture size affects the image we would get.
CS 484, Spring 2012 ©2012, Selim Aksoy 8
Larger
Smaller
Adapted from Trevor Darrell, UC Berkeley
Focal length
 Field of view depends on
focal length.
 As f gets smaller, image
becomes more wide angle
 more world points project
onto the finite image plane
 As f gets larger, image
becomes more telescopic
 smaller part of the world
projects onto the finite image
plane
CS 484, Spring 2012 ©2012, Selim Aksoy 9
Adapted from Trevor Darrell, UC Berkeley
CS 484, Spring 2012 ©2012, Selim Aksoy 10
Sampling and quantization
CS 484, Spring 2012 ©2012, Selim Aksoy 11
Sampling and quantization
CS 484, Spring 2012 ©2012, Selim Aksoy 12
Problems with arrays
 Blooming: difficult to
insulate adjacent
sensing elements.
 Charge often leaks
from hot cells to
neighbors, making
bright regions larger.
Adapted from Shapiro and Stockman
CS 484, Spring 2012 ©2012, Selim Aksoy 13
Problems with arrays
 Clipping: dark grid
intersections at left
were actually brightest
of scene.
 In A/D conversion the
bright values were
clipped to lower
values.
Adapted from Shapiro and Stockman
CS 484, Spring 2012 ©2012, Selim Aksoy 14
Problems with lenses
Adapted from Rick Szeliski
CS 484, Spring 2012 ©2012, Selim Aksoy 15
Image representation
 Images can be
represented by 2D
functions of the form
f(x,y).
 The physical meaning
of the value of f at
spatial coordinates
(x,y) is determined by
the source of the
image.
Adapted from Shapiro and Stockman
CS 484, Spring 2012 ©2012, Selim Aksoy 16
Image representation
 In a digital image, both the coordinates and the
image value become discrete quantities.
 Images can now be represented as 2D arrays
(matrices) of integer values: I[i,j] (or I[r,c]).
 The term gray level is used to describe
monochromatic intensity.
CS 484, Spring 2012 ©2012, Selim Aksoy 17
Spatial resolution
 Spatial resolution is the smallest discernible detail
in an image.
 Sampling is the principal factor determining spatial
resolution.
CS 484, Spring 2012 ©2012, Selim Aksoy 18
Spatial resolution
CS 484, Spring 2012 ©2012, Selim Aksoy 19
Spatial resolution
CS 484, Spring 2012 ©2012, Selim Aksoy 20
Gray level resolution
 Gray level resolution refers to the smallest
discernible change in gray level (often power of 2).
CS 484, Spring 2012 ©2012, Selim Aksoy 21
Bit planes
CS 484, Spring 2012 ©2012, Selim Aksoy 22
Electromagnetic (EM) spectrum
CS 484, Spring 2012 ©2012, Selim Aksoy 23
Electromagnetic (EM) spectrum
 The wavelength of an EM wave required to “see”
an object must be of the same size as or smaller
than the object.
CS 484, Spring 2012 ©2012, Selim Aksoy 24
Other types of sensors
CS 484, Spring 2012 ©2012, Selim Aksoy 25
Other types of sensors
CS 484, Spring 2012 ©2012, Selim Aksoy 26
Other types of sensors
blue green red
near ir middle ir thermal ir middle ir
CS 484, Spring 2012 ©2012, Selim Aksoy 27
Other types of sensors
CS 484, Spring 2012 ©2012, Selim Aksoy 28
Other types of sensors
CS 484, Spring 2012 ©2012, Selim Aksoy 29
Other types of sensors
CS 484, Spring 2012 ©2012, Selim Aksoy 30
Other types of sensors
CS 484, Spring 2012 ©2012, Selim Aksoy 31
Other types of sensors
CS 484, Spring 2012 ©2012, Selim Aksoy 32
Other types of sensors
CS 484, Spring 2012 ©2012, Selim Aksoy 33
Other types of sensors
CS 484, Spring 2012 ©2012, Selim Aksoy 34
Other types of sensors
CS 484, Spring 2012 ©2012, Selim Aksoy 35
Other types of sensors
©IEEE
CS 484, Spring 2012 ©2012, Selim Aksoy 36
Image enhancement
 The principal objective of enhancement is to
process an image so that the result is more
suitable than the original for a specific application.
 Enhancement can be done in
 Spatial domain,
 Frequency domain.
 Common reasons for enhancement include
 Improving visual quality,
 Improving machine recognition accuracy.
CS 484, Spring 2012 ©2012, Selim Aksoy 37
Image enhancement
 First, we will consider point processing where
enhancement at any point depends only on the
image value at that point.
 For gray level images, we will use a
transformation function of the form
s = T(r)
where “r” is the original pixel value and “s” is the
new value after enhancement.
CS 484, Spring 2012 ©2012, Selim Aksoy 38
Image enhancement
CS 484, Spring 2012 ©2012, Selim Aksoy 39
Image enhancement
CS 484, Spring 2012 ©2012, Selim Aksoy 40
Image enhancement
CS 484, Spring 2012 ©2012, Selim Aksoy 41
Image enhancement
CS 484, Spring 2012 ©2012, Selim Aksoy 42
Image enhancement
CS 484, Spring 2012 ©2012, Selim Aksoy 43
Image enhancement
 Contrast stretching:
CS 484, Spring 2012 ©2012, Selim Aksoy 44
Image enhancement
CS 484, Spring 2012 ©2012, Selim Aksoy 45
Histogram processing
CS 484, Spring 2012 ©2012, Selim Aksoy 46
Histogram processing
 Intuitively, we expect that an image whose pixels
 tend to occupy the entire range of possible gray levels,
 tend to be distributed uniformly
will have a high contrast and show a great deal of
gray level detail.
 It is possible to develop a transformation function
that can achieve this effect using histograms.
CS 484, Spring 2012 ©2012, Selim Aksoy 47
Histogram equalization
http://fourier.eng.hmc.edu/e161/lectures/contrast_transform/node3.html
CS 484, Spring 2012 ©2012, Selim Aksoy 48
Histogram equalization
CS 484, Spring 2012 ©2012, Selim Aksoy 49
Histogram equalization
Adapted from Wikipedia
CS 484, Spring 2012 ©2012, Selim Aksoy 50
Histogram equalization
Original RGB image Histogram equalization of
each individual
band/channel
Histogram stretching by
removing 2% percentile
from each individual
band/channel
CS 484, Spring 2012 ©2012, Selim Aksoy 51
Enhancement using arithmetic operations
CS 484, Spring 2012 ©2012, Selim Aksoy 52
Image formats
 Popular formats:
 BMP Microsoft Windows bitmap image
 EPS Adobe Encapsulated PostScript
 GIF CompuServe graphics interchange format
 JPEG Joint Photographic Experts Group
 PBM Portable bitmap format (black and white)
 PGM Portable graymap format (gray scale)
 PPM Portable pixmap format (color)
 PNG Portable Network Graphics
 PS Adobe PostScript
 TIFF Tagged Image File Format
CS 484, Spring 2012 ©2012, Selim Aksoy 53
Image formats
 ASCII or binary
 Number of bits per pixel (color depth)
 Number of bands
 Support for compression (lossless, lossy)
 Support for metadata
 Support for transparency
 Format conversion
 …
http://en.wikipedia.org/wiki/Graphics_file_format_summary
http://en.wikipedia.org/wiki/Comparison_of_graphics_file_formats

More Related Content

Recently uploaded

Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 

Recently uploaded (20)

Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 

Featured

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

3958594.ppt

  • 1. Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University saksoy@cs.bilkent.edu.tr
  • 2. CS 484, Spring 2012 ©2012, Selim Aksoy 2 Imaging process  Light reaches surfaces in 3D.  Surfaces reflect.  Sensor element receives light energy.  Intensity is important.  Angles are important.  Material is important. Adapted from Rick Szeliski
  • 3. Physical parameters  Geometric  Type of projection  Camera pose  Optical  Sensor’s lens type  Focal length, field of view, aperture  Photometric  Type, direction, intensity of light reaching sensor  Surfaces’ reflectance properties  Sensor  Sampling, etc. CS 484, Spring 2012 ©2012, Selim Aksoy 3 Adapted from Trevor Darrell, UC Berkeley
  • 4. CS 484, Spring 2012 ©2012, Selim Aksoy 4 Image acquisition Adapted from Gonzales and Woods
  • 5. CS 484, Spring 2012 ©2012, Selim Aksoy 5 Image acquisition Adapted from Rick Szeliski
  • 6. Camera calibration  Camera’s extrinsic and intrinsic parameters are needed to calibrate the geometry.  Extrinsic: camera frame  world frame  Intrinsic: image coordinates relative to camera  pixel coordinates CS 484, Spring 2012 ©2012, Selim Aksoy 6 Camera frame World frame Adapted from Trevor Darrell, UC Berkeley
  • 7. Perspective effects CS 484, Spring 2012 ©2012, Selim Aksoy 7 Adapted from Trevor Darrell, UC Berkeley
  • 8. Aperture  Aperture size affects the image we would get. CS 484, Spring 2012 ©2012, Selim Aksoy 8 Larger Smaller Adapted from Trevor Darrell, UC Berkeley
  • 9. Focal length  Field of view depends on focal length.  As f gets smaller, image becomes more wide angle  more world points project onto the finite image plane  As f gets larger, image becomes more telescopic  smaller part of the world projects onto the finite image plane CS 484, Spring 2012 ©2012, Selim Aksoy 9 Adapted from Trevor Darrell, UC Berkeley
  • 10. CS 484, Spring 2012 ©2012, Selim Aksoy 10 Sampling and quantization
  • 11. CS 484, Spring 2012 ©2012, Selim Aksoy 11 Sampling and quantization
  • 12. CS 484, Spring 2012 ©2012, Selim Aksoy 12 Problems with arrays  Blooming: difficult to insulate adjacent sensing elements.  Charge often leaks from hot cells to neighbors, making bright regions larger. Adapted from Shapiro and Stockman
  • 13. CS 484, Spring 2012 ©2012, Selim Aksoy 13 Problems with arrays  Clipping: dark grid intersections at left were actually brightest of scene.  In A/D conversion the bright values were clipped to lower values. Adapted from Shapiro and Stockman
  • 14. CS 484, Spring 2012 ©2012, Selim Aksoy 14 Problems with lenses Adapted from Rick Szeliski
  • 15. CS 484, Spring 2012 ©2012, Selim Aksoy 15 Image representation  Images can be represented by 2D functions of the form f(x,y).  The physical meaning of the value of f at spatial coordinates (x,y) is determined by the source of the image. Adapted from Shapiro and Stockman
  • 16. CS 484, Spring 2012 ©2012, Selim Aksoy 16 Image representation  In a digital image, both the coordinates and the image value become discrete quantities.  Images can now be represented as 2D arrays (matrices) of integer values: I[i,j] (or I[r,c]).  The term gray level is used to describe monochromatic intensity.
  • 17. CS 484, Spring 2012 ©2012, Selim Aksoy 17 Spatial resolution  Spatial resolution is the smallest discernible detail in an image.  Sampling is the principal factor determining spatial resolution.
  • 18. CS 484, Spring 2012 ©2012, Selim Aksoy 18 Spatial resolution
  • 19. CS 484, Spring 2012 ©2012, Selim Aksoy 19 Spatial resolution
  • 20. CS 484, Spring 2012 ©2012, Selim Aksoy 20 Gray level resolution  Gray level resolution refers to the smallest discernible change in gray level (often power of 2).
  • 21. CS 484, Spring 2012 ©2012, Selim Aksoy 21 Bit planes
  • 22. CS 484, Spring 2012 ©2012, Selim Aksoy 22 Electromagnetic (EM) spectrum
  • 23. CS 484, Spring 2012 ©2012, Selim Aksoy 23 Electromagnetic (EM) spectrum  The wavelength of an EM wave required to “see” an object must be of the same size as or smaller than the object.
  • 24. CS 484, Spring 2012 ©2012, Selim Aksoy 24 Other types of sensors
  • 25. CS 484, Spring 2012 ©2012, Selim Aksoy 25 Other types of sensors
  • 26. CS 484, Spring 2012 ©2012, Selim Aksoy 26 Other types of sensors blue green red near ir middle ir thermal ir middle ir
  • 27. CS 484, Spring 2012 ©2012, Selim Aksoy 27 Other types of sensors
  • 28. CS 484, Spring 2012 ©2012, Selim Aksoy 28 Other types of sensors
  • 29. CS 484, Spring 2012 ©2012, Selim Aksoy 29 Other types of sensors
  • 30. CS 484, Spring 2012 ©2012, Selim Aksoy 30 Other types of sensors
  • 31. CS 484, Spring 2012 ©2012, Selim Aksoy 31 Other types of sensors
  • 32. CS 484, Spring 2012 ©2012, Selim Aksoy 32 Other types of sensors
  • 33. CS 484, Spring 2012 ©2012, Selim Aksoy 33 Other types of sensors
  • 34. CS 484, Spring 2012 ©2012, Selim Aksoy 34 Other types of sensors
  • 35. CS 484, Spring 2012 ©2012, Selim Aksoy 35 Other types of sensors ©IEEE
  • 36. CS 484, Spring 2012 ©2012, Selim Aksoy 36 Image enhancement  The principal objective of enhancement is to process an image so that the result is more suitable than the original for a specific application.  Enhancement can be done in  Spatial domain,  Frequency domain.  Common reasons for enhancement include  Improving visual quality,  Improving machine recognition accuracy.
  • 37. CS 484, Spring 2012 ©2012, Selim Aksoy 37 Image enhancement  First, we will consider point processing where enhancement at any point depends only on the image value at that point.  For gray level images, we will use a transformation function of the form s = T(r) where “r” is the original pixel value and “s” is the new value after enhancement.
  • 38. CS 484, Spring 2012 ©2012, Selim Aksoy 38 Image enhancement
  • 39. CS 484, Spring 2012 ©2012, Selim Aksoy 39 Image enhancement
  • 40. CS 484, Spring 2012 ©2012, Selim Aksoy 40 Image enhancement
  • 41. CS 484, Spring 2012 ©2012, Selim Aksoy 41 Image enhancement
  • 42. CS 484, Spring 2012 ©2012, Selim Aksoy 42 Image enhancement
  • 43. CS 484, Spring 2012 ©2012, Selim Aksoy 43 Image enhancement  Contrast stretching:
  • 44. CS 484, Spring 2012 ©2012, Selim Aksoy 44 Image enhancement
  • 45. CS 484, Spring 2012 ©2012, Selim Aksoy 45 Histogram processing
  • 46. CS 484, Spring 2012 ©2012, Selim Aksoy 46 Histogram processing  Intuitively, we expect that an image whose pixels  tend to occupy the entire range of possible gray levels,  tend to be distributed uniformly will have a high contrast and show a great deal of gray level detail.  It is possible to develop a transformation function that can achieve this effect using histograms.
  • 47. CS 484, Spring 2012 ©2012, Selim Aksoy 47 Histogram equalization http://fourier.eng.hmc.edu/e161/lectures/contrast_transform/node3.html
  • 48. CS 484, Spring 2012 ©2012, Selim Aksoy 48 Histogram equalization
  • 49. CS 484, Spring 2012 ©2012, Selim Aksoy 49 Histogram equalization Adapted from Wikipedia
  • 50. CS 484, Spring 2012 ©2012, Selim Aksoy 50 Histogram equalization Original RGB image Histogram equalization of each individual band/channel Histogram stretching by removing 2% percentile from each individual band/channel
  • 51. CS 484, Spring 2012 ©2012, Selim Aksoy 51 Enhancement using arithmetic operations
  • 52. CS 484, Spring 2012 ©2012, Selim Aksoy 52 Image formats  Popular formats:  BMP Microsoft Windows bitmap image  EPS Adobe Encapsulated PostScript  GIF CompuServe graphics interchange format  JPEG Joint Photographic Experts Group  PBM Portable bitmap format (black and white)  PGM Portable graymap format (gray scale)  PPM Portable pixmap format (color)  PNG Portable Network Graphics  PS Adobe PostScript  TIFF Tagged Image File Format
  • 53. CS 484, Spring 2012 ©2012, Selim Aksoy 53 Image formats  ASCII or binary  Number of bits per pixel (color depth)  Number of bands  Support for compression (lossless, lossy)  Support for metadata  Support for transparency  Format conversion  … http://en.wikipedia.org/wiki/Graphics_file_format_summary http://en.wikipedia.org/wiki/Comparison_of_graphics_file_formats