Apply distance transform in-place on a given matrix.
Output values are distance to the nearest wall.
initial matrix with 1 representing walkable. Modified in-place
out of bound value (optional: default to 255)
modified cost matrix
Generated using TypeDoc
Apply distance transform in-place on a given matrix.
Output values are distance to the nearest wall.