David,
I didn't use any particular system, so I doubt I can quickly reproduce my result to do a screen capture. I just looked for a significant difference between each to adjacent squares. E.g. in your results in first row #10 seems out of place. I tweaked them until they all looked ok. I think the rgb value approach is good but may go wrong in the areas where the channel values change direction.