Consider the following arrangement of pixels P, P
1, P
2, P
3 and P
4 as shown in the figure. Assume that P, P
2 and P
4 have a value of 1, and P
1 and P
3 have a value of 0. If we consider adjacency of pixels as \(V=\{1\}\), what is the length of the shortest m-path between P and P
4?
