For pixels p(x, y), q(s, t), the city-block distance between p and q is defined as:
A. D(p, q) = [(x – s)2 + (y – t)2]1/2
B. D(p, q) = |x – s| + |y – t|
C. D(p, q) = max (|x – s| + |y – t|)
D. None of the mentioned
Answer:B
For pixels p(x, y), q(s, t), the city-block distance between p and q is defined as:
A. D(p, q) = [(x – s)2 + (y – t)2]1/2 B. D(p, q) = |x – s| + |y – t| C. D(p, q) = max (|x – s| + |y – t|) D. None of the mentioned