When I said compare, I was thinking of performance. They take a difference of image slices instead of doing a convolution. I assume their approach would be faster, but it really doesn't matter.

Hmm, I don't see where they divide by 6 in their code. Are we looking at the same thing?