EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu
description
Transcript of EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu
![Page 1: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/1.jpg)
![Page 2: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/2.jpg)
Course Objectives:
To Cover the basic theory and algorithms that are widely used in digital image processing.
To Expose students to current technologies and issues that are specific to image processing systems.
To Develop hands-on experience in using computers to process images.
Familiarize with MATLAB Image Processing Toolbox.
![Page 3: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/3.jpg)
Recommended Textbook
• “Digital Image Processing” by R.C. Gonzalez and R.E. Woods, 3rd edition, Pearson Prentice Hall, 2008
• Additional readings on the class website
![Page 4: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/4.jpg)
Prerequisites:
Knowledge of the following three areas:
-Linear Algebra.
-Elementary Probability Theory.
-Signals and Systems.
![Page 5: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/5.jpg)
Grading Policy
Quizzes 15%
H.W 10%
Attendance 10%
Projects 20%
FinalExam45%
![Page 6: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/6.jpg)
Course outline
Introduction Digital Image Fundamentals Image Enhancement in the Spatial Domain Image Enhancement in the Frequency Domain Image Restoration Image Compression Image Segmentation Representation and Description
![Page 7: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/7.jpg)
![Page 8: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/8.jpg)
What is a Digital Image?
A finite array of data values
![Page 9: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/9.jpg)
What is Image Processing
Processing digital images by means of a digital computer.
Image processing typically attempts to accomplish one of three things:
Restoring Images
Enhancing Images
Understanding Images
• Restoration takes a corrupted image and attempts to recreate a clean original
• Enhancement alters an image to makes its meaning clearer to human observers
• Understanding usually attempts to mimic the human visual system in extracting meaning from an image
![Page 10: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/10.jpg)
Three Types of Processes Low-level Processes :
Involve primitive operations such as image preprocessing to reduce noise, contrast
enhancement, and image sharpening.
A low-level process is characterized by the fact that both its inputs and outputs are
images.
Mid-level Processes:
Involves tasks such as segmentation (partitioning an image into regions or objects),
description of those objects to reduce them to a form suitable for machine learning ,
and classification(recognition) of individual objects.
Its inputs generally are images, but its outputs are attributes extracted from those
images (e.g., edges, contours, and the identity of individual objects).
![Page 11: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/11.jpg)
Three Types of Processes
High-level Processes :
Processing involves "making sense“ of an ensemble
of recognized objects, as in image analysis, and, at
the far end of the continuum, performing the
cognitive functions normally associated with vision.
![Page 12: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/12.jpg)
Applications
Processing of remote-sensed images via satellite.
Radar, MRI, Ultrasonic image processing.
Noise Reduction.
Character recognition.
Automatic inspection of industrial parts.
Content based image retrieval.
Biometrics.
Target tracking.
![Page 13: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/13.jpg)
Sources of Energy for Image Formation The principle energy source for images is the EM
spectrum
Other sources include ultrasonic, electronic, and synthetic images.
![Page 14: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/14.jpg)
Some Applications -- Medical Diagnostics
![Page 15: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/15.jpg)
Some Applications -- MRI
Imaging in Radio Band
![Page 16: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/16.jpg)
Some Applications -- Microscopy
![Page 17: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/17.jpg)
Some Applications -- Industrial Inspection
![Page 18: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/18.jpg)
Some Applications -- Remote Sensing
![Page 19: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/19.jpg)
Some Applications -- Transmitting Images
![Page 20: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/20.jpg)
Key Stages in Digital Image Processing
![Page 21: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/21.jpg)
Image Acquisition
![Page 22: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/22.jpg)
Image Enhancement
![Page 23: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/23.jpg)
Image Restoration
![Page 24: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/24.jpg)
Morphological Processing
![Page 25: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/25.jpg)
Segmentation
![Page 26: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/26.jpg)
Object Recognition
![Page 27: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/27.jpg)
Image Representation & Description
![Page 28: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/28.jpg)
Image Compression
![Page 29: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/29.jpg)
Colour Image Processing
![Page 30: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/30.jpg)
Image Acquisition
![Page 31: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/31.jpg)
Image Sampling and Quantization
Digitalization of an analog signal involves two operations: Sampling: Degitizing the x- and y-coordinates. Quantization: Degitizing the amplitude values.
![Page 32: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/32.jpg)
Image Sampling and Quantization
![Page 33: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/33.jpg)
Representing Ddigital Images
A digital image is composed of M rows and N columns of pixels each storing a value.
![Page 34: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/34.jpg)
Representing Ddigital Images
A complete M × N digital image can be written in the following compact matrix form:
The right side of this equation is by definition a digital image. Each element of his matrix array is called an image element, picture element, pixel, or pel.
![Page 35: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/35.jpg)
Storage Capacity
A digital image can be represented as a 2-D function whose coordinates and amplitude values are integers.
The digitization process requires decisions about values for M, N, and for the number, L, of discrete gray levels allowed for each pixel.
The discrete levels are equally spaced integers in the interval [0, L-1], this range is called the dynamic range of an image.
Images with high dynamic range will have high contrast and (vise versa).
![Page 36: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/36.jpg)
The number, b, of bits required to store a digitized image is: b = M x N x k
Storage Capacity
![Page 37: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/37.jpg)
Spatial Resolution
The spatial resolution of an image is determined by how sampling was carried out
Spatial resolution simply refers to the smallest discernable detail in an image
Vision specialists well
often talk about pixel size Graphic designers will talk
about dots per inch (dpi)
![Page 38: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/38.jpg)
Gray-level Resolution
Gray-level resolution is the smallest discernible change in gray level.
Due to hardware considerations, the number of gray levels is usually an integer power of 2. The most common number is 8 bits, i.e 256 levels.
It is common to refer to an L-level digital image of size MxN as having a spatial resolution of MxN pixels and a gray-level resolution of L levels.
![Page 39: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/39.jpg)
Effects of Varying Spatial Resolution
![Page 40: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/40.jpg)
Effects of Varying Spatial Resolution
![Page 41: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/41.jpg)
Effects of Varying Gray-Level Resolution
Ridge like structure False contouring
![Page 42: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/42.jpg)
Effects of Varying Gray-Level Resolution
![Page 43: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/43.jpg)
Effects of Varying Gray-Level Resolution As a very rough rule of thumb, and assuming
powers of 2 for convenience, images of size 256*256 pixels and 64 gray levels are about the smallest images that can be expected to be reasonably free of objectionable sampling checkerboards and false contouring.
![Page 44: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/44.jpg)
Zooming Digital Images
Zooming (digital image) can be viewed by oversampling (continuous image).
1- Creation of new pixel locations
2- Assign a gray level value to this new location using:
Nearest neighbor interpolation (Pixel replication )
Bilinear interpolation
![Page 45: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/45.jpg)
Pixel Replication
Applicable to increase the size of an image an integer number of times.
We can duplicate each column and each row. New locations are duplicates of old locations.
Fast but produces checkerboard effect that is particularly objectionable at high factor of magnification.
x4
![Page 46: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/46.jpg)
Bilinear Interpolation
Using the four nearest neighbors of a point. Let (x’, y’) denote the coordinates of a point in
the zoomed image, the gray value v(x’,y’) will be set to:
V(x’,y’)=ax’ + by’ +cx’y’ + d Where the four coefficients are determined from
the four equations in four unknowns using the four nearest neighbors of point (x’, y’).
![Page 47: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/47.jpg)
Image Zooming
![Page 48: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/48.jpg)
Shrinking Digital Image
Shrinking (digital image) can be viewed by undersampling (continuous image).
1- Deletion of row column pixels.
2- Assign a gray level value using :
Nearest neighbor interpolation
Bilinear interpolation
![Page 49: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/49.jpg)
Relationships Between Pixels
1- Neighbors of a Pixel:
The 4- neighbors of pixel p are:
N4(p)
The 4- diagonal neighbors are:
ND(p)
The 8-neighbors are :
N8(p)
P
P
P
![Page 50: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/50.jpg)
Relationships Between Pixels
Connectivity between pixels is important Because it is used in establishing boundaries of objects and components of regions in an image
Two pixels are connected if: They are neighbors (i.e. adjacent in some sense -- e.g.
N4(p), N8(p), …) Their gray levels satisfy a specified criterion of
similarity (e.g. equality, …)
![Page 51: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/51.jpg)
Adjacency
Let V be the set of intensity used to define djacency; e.g. V={1} in a binary image or V={100,101,102,…,120} inn a gray-scale image.
We consider three types of adjacency :
1. 4-adjacency: Two pixels p and q with values from V are 4-adjacent if
q is in the set N4(p).
2. 8-adjacency:
Two pixels p and q with values from V are 8- adjacent if q is in the set N8(p).
![Page 52: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/52.jpg)
Adjacency
3. m-adjacency (mixed adjacency): Two pixels p and q with values from V are m- adjacent if :
(i) q is in N4(p),or
(ii) q is in ND( p)and N4( p)∩ N4(q) is empty
Two image subsets S1 and S2 are adjacent if some pixel in S1 is adjacent
to some pixel in S2.
![Page 53: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/53.jpg)
Digital path (curve)
A (digital) path (or curve) from pixel p with coordinates (x, y)
to pixel q with coordinates (s, t) is a sequence of distinct pixels
with coordinates
(x0, y0), (x1,y1), ……., (xn, yn)
where (x0, y0) = (x, y), (xn, yn) = (s, t), and pixels (xi, yi) and (xi-1,
yi-1) are adjacent for 1≤ i ≤ n. In this case, n is the length of the
path. If (x0, y0) = (xn, yn) the path is a closed path.
![Page 54: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/54.jpg)
Regions Let S represent a subset of pixels in an image.
Two pixels p and q are said to be connected in S if
there exists a path between them consisting of pixels
in S.
For any pixel p in S, the set of pixels that are
connected to it in S is called a connected component
of S.
If S only has one connected component, then it is
called a connected set.
Let R be a subset of pixels in an image. We call R a
region of the image if R is a connected set
![Page 55: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/55.jpg)
Region Boundary and edge
The boundary (also called border or contour) of
a region R is the set of pixels in the region that
have one or more neighbors that are not in R.
An edge is a “local” concept that is based on a
measure of gray-level discontinuity at a point.
![Page 56: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/56.jpg)
Distance Measures
![Page 57: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/57.jpg)
Distance Measures
![Page 58: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/58.jpg)
Distance Measures
![Page 59: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/59.jpg)
Distance Measures
The Dm distance: the shortest m-path between the points.
![Page 60: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/60.jpg)
Image Operations on a Pixel Basis
when we refer to an operation like “dividing one image by another,” we mean specifically that the division is carried out between corresponding pixels in the two images.
![Page 61: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/61.jpg)
Linear and Nonlinear Operations
H is a Linear operator if:
H(af + bg) = aH(f) + bH(g)
Where a and b are two scalars and g are two images.
(i.e) the result of applying a linear operator to the sum of two images is
identical to applying the operator to the images individually, multiplying
the results by the appropriate constants, and then adding those results.
For example, an operator whose function is to compute the sum of K
images is a linear operator. An operator that computes the absolute value of
the difference of two images is not.
![Page 62: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/62.jpg)
![Page 63: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/63.jpg)
![Page 64: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/64.jpg)
![Page 65: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/65.jpg)
![Page 66: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/66.jpg)
Reading
Sections 2.4 and 2.5 of the textbook.
![Page 67: EELE 5310: Digital Image Processing Lecture 1 Eng. Ruba A. Salamah Rsalamah @ iugaza.Edu](https://reader030.fdocuments.us/reader030/viewer/2022033022/568153a4550346895dc1a85b/html5/thumbnails/67.jpg)
Homework
Answer the following problems from the text book:
9, 11, 15,18, 19