Skip navigation links

Package inra.ijpb.binary.distmap

Computations of distance maps on binary images, using chamfer distances (integer approximation of Euclidean distances).

See: Description

Package inra.ijpb.binary.distmap Description

Computations of distance maps on binary images, using chamfer distances (integer approximation of Euclidean distances).

Contains implementations for computation using shorts or float values, for 3x3 and 5x5 neighborhoods.

Example of use:


	ChamferMask3D mask = ChamferMask3D.CHESSKNIGHT;
	boolean normalize = true;
	DistanceTransform dt = new ChamferDistanceTransform2DShort(mask, normalize);
	ImageProcessor result = dt.distanceMap(inputImage);
	// or:
	ImagePlus resultPlus = BinaryImages.distanceMap(imagePlus, mask, false, normalize);
 
See Also:
BinaryImages.distanceMap(ImageProcessor, short[], boolean), BinaryImages.distanceMap(ImageProcessor, float[], boolean), DistanceTransform
Skip navigation links

Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.