public static enum DistanceTransform.DISTANCE_TYPE extends Enum<DistanceTransform.DISTANCE_TYPE>
Enum Constant and Description |
---|
EUCLIDIAN
Squared Euclidian distance using
EuclidianDistanceIsotropic or
EuclidianDistanceAnisotropic . |
L1
L1 distance using special case implementation.
|
Modifier and Type | Method and Description |
---|---|
static DistanceTransform.DISTANCE_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistanceTransform.DISTANCE_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistanceTransform.DISTANCE_TYPE EUCLIDIAN
EuclidianDistanceIsotropic
or
EuclidianDistanceAnisotropic
.public static final DistanceTransform.DISTANCE_TYPE L1
public static DistanceTransform.DISTANCE_TYPE[] values()
for (DistanceTransform.DISTANCE_TYPE c : DistanceTransform.DISTANCE_TYPE.values()) System.out.println(c);
public static DistanceTransform.DISTANCE_TYPE valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015–2022 ImgLib2. All rights reserved.