1.

Write Short Notes On Neighbours Of A Pixel?

Answer»
  • The PIXEL p at co-ordinates (x, y) has 4 NEIGHBORS (ie) 2 horizontal and 2 vertical neighbors whose co-ordinates is given by (x+1, y), (x-1,y), (x,y-1), (x, y+1). This is called as direct neighbors. It is denoted by N4(P)
  • Four diagonal neighbors of p have co-ordinates (x+1, y+1), (x+1,y-1), (x-1, y-1),(x-1, y+1). It is denoted by ND(4).
  • Eight neighbors of p denoted by N8(P) is a combination of 4 direct neighbors and 4 diagonal neighbors.



Discussion

No Comment Found