Home /
Expert Answers /
Computer Science /
consider-the-binary-relations-n4-and-n8-on-the-set-of-all-pixels-defined-by-x-y-n4-x2-y2-pa628
(Solved): Consider the binary relations N4 and N8 on the set of all pixels defined by: (x,y)N4(x2,y2 ...
Consider the binary relations N4? and N8? on the set of all pixels defined by: (x,y)N4?(x2,y2)????x?x3???+?y?y??=1(x,y)N8?(x2,y2)?max{???x?x3???,?y?y??}=1? If (x,y)N4?(x?,y?), we say that (x,y) is a 4-neighbour of (x?,y?). If (x,y)N8?(x?,y?), we say that (x,y) is an 8 -neighbour of (x?,y?). (a) Assume M=9 and N=25, as in Fig. 1. What are the 4-neighbours of (0,0) ? What are the 4-neighbours of (1,0) ? What are the 8-neighbours of (1,0) ? What are the 8-neighbours of (1,1) ? (b) Is N4? reflexive, symmetric, antisymmetric, transitive? N8? has the same properties as N4?, but you are not asked to prove it.