de.unihalle.informatik.MiToBo.morphology
Enum DistanceTransform.ForegroundColor
java.lang.Object
java.lang.Enum<DistanceTransform.ForegroundColor>
de.unihalle.informatik.MiToBo.morphology.DistanceTransform.ForegroundColor
- All Implemented Interfaces:
- Serializable, Comparable<DistanceTransform.ForegroundColor>
- Enclosing class:
- DistanceTransform
public static enum DistanceTransform.ForegroundColor
- extends Enum<DistanceTransform.ForegroundColor>
Color of binary image foreground.
- Author:
- Danny Misiak
FG_BLACK
public static final DistanceTransform.ForegroundColor FG_BLACK
FG_WHITE
public static final DistanceTransform.ForegroundColor FG_WHITE
values
public static DistanceTransform.ForegroundColor[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DistanceTransform.ForegroundColor c : DistanceTransform.ForegroundColor.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DistanceTransform.ForegroundColor valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.