Digita Image Processing Chapter 2 Part 2 Corrected
Digita Image Processing Chapter 2 Part 2 Corrected
part 2
Digital Image Processing
Relationships between pixels
Neighbors of a Pixel
• A pixel p at coordinates (x,y) has four horizontal and vertical
neighbors whose coordinates are given by:
(x+1,y), (x-1, y), (x, y+1), (x,y-1)
(x-1,y)
(x, y-1) P (x,y) (x, y+1)
(x+1, y)