Chessboard distance is a metric that can be used to measure distances. This metric assumes that you can make moves, for example on a pixel grid (digital image), as if you were a King making moves in chess, i.e. a diagonal move counts the same as a horizontal move.
This means that the metric is given by
See also
Taxicab geometry