@Deprecated public class DistanceTransform3x3Float extends AlgoStub implements DistanceTransform
Example of use:
	float[] floatWeights = ChamferWeights.BORGEFORS.getFloatWeights();
	boolean normalize = true;
	DistanceTransform dt = new DistanceTransform3x3Float(floatWeights, normalize);
	ImageProcessor result = dt.distanceMap(inputImage);
	// or:
	ImagePlus resultPlus = BinaryImages.distanceMap(imagePlus, floatWeights, normalize);
BinaryImages.distanceMap(ImageProcessor, short[], boolean), 
DistanceTransform, 
DistanceTransform3x3Short| Constructor and Description | 
|---|
DistanceTransform3x3Float(ChamferWeights weights,
                         boolean normalize)
Deprecated.  
Constructor specifying the chamfer weights and the optional
 normalization. 
 | 
DistanceTransform3x3Float(float[] weights)
Deprecated.  
Default constructor that specifies the chamfer weights. 
 | 
DistanceTransform3x3Float(float[] weights,
                         boolean normalize)
Deprecated.  
Constructor specifying the chamfer weights and the optional normalization. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ij.process.FloatProcessor | 
distanceMap(ij.process.ImageProcessor labelImage)
Deprecated.  
Computes the distance map of the distance to the nearest pixel with a
 different value. 
 | 
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAlgoListener, removeAlgoListenerpublic DistanceTransform3x3Float(float[] weights)
weights - an array of two weights for orthogonal and diagonal directionspublic DistanceTransform3x3Float(ChamferWeights weights, boolean normalize)
weights - an array of two weights for orthogonal and diagonal directionsnormalize - flag indicating whether the final distance map should be
            normalized by the first weightpublic DistanceTransform3x3Float(float[] weights,
                                 boolean normalize)
weights - an array of two weights for orthogonal and diagonal directionsnormalize - flag indicating whether the final distance map should be
            normalized by the first weightpublic ij.process.FloatProcessor distanceMap(ij.process.ImageProcessor labelImage)
distanceMap in interface DistanceTransformlabelImage - a label image with black pixels (0) as foregroundCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.