GATE 2026 Geomatics Engineering question: Consider the following arrangement of pixels P, P 1, P 2, P 3 and P 4 as shown in the…
Consider the following arrangement of pixels P, P, P, P and P as shown in the figure. Assume that P, P and P have a value of 1, and P and P have a value of 0. If we consider adjacency of pixels as = {1}, what is the length of the shortest -path between P and P?

Show answer
Official answer: A