Chapter 02
Chapter 02
Video
Processing
Laboratory
Digital Image Processing
玻璃質
視網膜
視網膜中央窩
鞏膜
脈絡膜
暗視
晝視
• Optical illusions
• Some examples are shown in Fig. 2.9.
• EXAMPLE 2.3:
• Typical effects of varying the number of gray levels in a digital image.
• FIGURE 2.21
• Zooming and Shrinking Digital Images(FIGURE 2.25)
• Nearest neighbor interpolation
• Pixel replication
• Bilinear interpolation
• Adjacency
• three types of adjacency:
• Figs. 2-26
• Connectivity
• Two pixels p and q are said to be connected in S if there
exists a path between them consisting entirely 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 it only has one connected component, then set S is called a
connected set.
• Regions
• Let R be a subset of pixels in an image.We call R a region of
the image if R is a connected set.
• Boundaries
• 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.
• Distance Measures