0% found this document useful (0 votes)
157 views

02 DigitalImageFundamentals

This document discusses digital image fundamentals such as image acquisition, resolution, spatial sampling, and quantization. It describes how images are formed by projecting light onto a 2D sensor array in digital cameras. The image is spatially sampled by the sensor elements and intensities are quantized into discrete values. The pinhole camera model can be used to estimate the field of view and size of objects projected onto the image. Matlab exercises are provided to help understand these concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
157 views

02 DigitalImageFundamentals

This document discusses digital image fundamentals such as image acquisition, resolution, spatial sampling, and quantization. It describes how images are formed by projecting light onto a 2D sensor array in digital cameras. The image is spatially sampled by the sensor elements and intensities are quantized into discrete values. The pinhole camera model can be used to estimate the field of view and size of objects projected onto the image. Matlab exercises are provided to help understand these concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Colorado School of Mines

Image and Multidimensional Signal


Processing

Professor William Hoff


Dept of Electrical Engineering &Computer Science
Colorado School of Mines Image and Multidimensional Signal Processing
http://inside.mines.edu/~whoff/
Digital Image Fundamentals

Colorado School of Mines Image and Multidimensional Signal Processing 2


Digital Image Fundamentals

Topics
• Image acquisition and formation
• Resolution and size of objects
• Spatial sampling and quantization
• Matlab exercises

Objectives
• Know how to estimate properties of image acquisition and
formation, such as resolution and the size of objects that can
be discerned
• Be familiar with the effects of spatial sampling and
quantization on the quality of an image and its storage size

Colorado School of Mines Image and Multidimensional Signal Processing 3


Notes:
Eyeball is about 20 mm in
diameter
Retina contains both rods
and cones
Fovea is about 1.5 mm in
width, contains about
337,000 cones
Focal length about 17 mm

Colorado School of Mines Image and Multidimensional Signal Processing 4


• Rods sensitive to low light (scotopic vision)
• Cones detect color, work in bright light (photopic vision)

Colorado School of Mines Image and Multidimensional Signal Processing 5


Image Formation

• Treat as pinhole camera – good


approximation H h
– Similar triangles f

• What is the size of the tree on the


retina? 15/100 = h/17 or
h=2.55 mm
• What if the tree were twice as far
away?

Colorado School of Mines Image and Multidimensional Signal Processing 6


Problem 2.1
• Assume the retina
– Contains 337,000 sensor elements arranged in a square array, 1.5x1.5 mm
– And the space between cones is equal to width of cone
• Estimate the diameter of the smallest printed dot that the eye can discern
if the page on which the dot is printed is 0.2 m away from the eyes
– Assume the visual system ceases to detect the dot when the image of the dot
on the fovea becomes smaller than the diameter of one receptor (cone) in
that area of the retina

Colorado School of Mines Image and Multidimensional Signal Processing 7


Colorado School of Mines Image and Multidimensional Signal Processing 8
Light and the Electromagnetic Spectrum
c
• Wavelength (l) and frequency (n) are related by l

• To resolve an object, we must use a wavelength equal to the size of the


object or smaller

Colorado School of Mines Image and Multidimensional Signal Processing 9


Colorado School of Mines Image and Multidimensional Signal Processing 10
CCD (Charge coupled device)

• A 2D array of
photosensitive transistors

• Charge accumulates
during exposure

• Charges are transferred


out to shift registers, read
out sequentially

• Output is an analog signal


(eg. RS-170, NTSC, PAL
format)

• Can also be digitized and


output in digital (via
Firewire, USB, etc)

Colorado School of Mines Image and Multidimensional Signal Processing 11


Typical CCD cameras
• Example: Panasonic GP-MF130
• Sensor is 6x5 mm, 768x494 pixels
• Typical lens ~ 6mm focal length

Field of view (see


next slide)?

Colorado School of Mines Image and Multidimensional Signal Processing 12


Field of View
• f = focal length
• q = field of view
• h = image plane size

H/2
q/2
h/2 D
f
Center of
projection
Object
Image plane
plane being
imaged

• tan(q/2) = (h/2) / f = (H/2) / D

• Horizontal field of view:


tan(q/2) = (6mm/2) /(6mm) = 0.5 • f, h can be in pixels or mm
q = 2 arctan(0.5) = 53 degrees • Horizontal, vertical fov could be
different

Colorado School of Mines Image and Multidimensional Signal Processing 13


Image Acquisition Using Sensor Strips

• Images can also be formed from


(a) A linear array of sensors that
is swept
(b) A circular array, where the
object is moved

Colorado School of Mines Image and Multidimensional Signal Processing 14


Example – Satellite Camera

• NOAA weather satellite


– KLM series for polar (low
Earth) orbits

Colorado School of Mines Image and Multidimensional Signal Processing 15


• Components Image Formation
– Illumination i(x,y)
– Reflection r(x,y)

f ( x, y )  i ( x, y ) r ( x, y )
0  i ( x, y )  
0  r ( x, y )  1

Colorado School of Mines Image and Multidimensional Signal Processing 16


Sampling and
Quantization

• N bits per
pixel allows
2^N values

Colorado School of Mines Image and Multidimensional Signal Processing 17


Examples

• An image has 8 bits per pixel


– If unsigned, range of values is?

– If signed (ie., two’s complement), range is?

– Number of bytes in a 3872 x 2592 pixel image?

Colorado School of Mines Image and Multidimensional Signal Processing 18


Colorado School of Mines Image and Multidimensional Signal Processing 19
Image Representation
• Image can be represented by an xy
plane
• Sampling partitions the plane into a
grid of pixels, whose indices are
integers
col (or xim)
• We can also think of it as an MxN (1,1)
matrix of numbers Image
• We can index an element either by row
(row,col) or (x,y) (or
yim)
• We will use the convention
– Top left pixel is (1,1)
– x index (or column) increases to the
right
– y index (or row) increases down

Colorado School of Mines Image and Multidimensional Signal Processing 20


Summary
• In digital cameras, the image is projected onto a
2D array of sensor elements.

• The image is (spatially) sampled by the sensor


elements, and the intensities are quantized into
discrete values.

• We can use the “pinhole” camera model to


estimate the field of view and the size of objects
projected onto the image.

Colorado School of Mines Image and Multidimensional Signal Processing 21


Questions

• About how small an object can you see, using (a)


visible light, (b) X-rays, or (c) microwaves?

• How does the human eye compare with a digital


camera (e.g., in terms of resolution and sensitivity)?

• How could you measure the focal length of a


camera? What units can it be expressed in?

Colorado School of Mines Image and Multidimensional Signal Processing 22

You might also like