Class DistanceTransform

java.lang.Object
imagingbook.common.image.matching.DistanceTransform

public class DistanceTransform extends Object

Instances of this class calculate an approximate distance transform of a given image which is assumed to be binary (pixel value 0 = background, non-zero = foreground). For the L2 norm, the resulting distances are only an approximation. See Sec. 23.2.2 (Alg. 23.2) of [1] for additional details.

[1] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction, 3rd ed, Springer (2022).

Version:
2022/09/16