Question
Write short notes on neighbours of a pixel?

Answers

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.   Your Comment






Search
Can you Answer!!
  • Q Who is the Chief Justice of India
  • Q Explain about realistic modeling?
  • Q Mansur bin Muqrin who died in a helicopter crash recently was the Prince of which country?
  • Q Identify any errors in the following code and correct the same, and what will be the output.
  • Q 'Can I use a pen for the Listening and Reading tests?'
  • Q What is hash cluster in Oracle?
  • Q explain descending colon
  • Q The poster Cairo is more commonly known as whom?
  • Q What is "this" keyword used for ?
  • Q Why scala does not have “static” keyword? what is the main reason for this decision?
  • Q What is a NULL value? What are the pros and cons of using NULLS?