I am currently doing a course on GIS, and this was 1 of the questions that we had to go and research.
B B E E E E
A A A E E E
D D B E E E
D D B B E E
D D D D D E
D D D D E E
(See above) If the compressed run length encoding is as follows 2,B,7,E,3,A,2,D,1,B,5,E,2,B,7,D,3,E,4,D
What would the spiral encoding technique be below.
5 5 5 5 1 1 1 1
1 1 2 2 2 2 1 1
1 1 2 2 2 2 3 3
1 1 2 2 2 3 3 3
1 1 1 1 7 7 4 4
1 1 1 1 7 7 4 4
1 1 1 1 4 4 4 4
1 1 1 1 4 4 4 4
If I should write the spiral code would it be as follows 4,5, 4,1,4,3,3,2...
Regards,
Denzil