public static enum MTBBorder2D.BorderConnectivity extends Enum<MTBBorder2D.BorderConnectivity>
Enum Constant and Description |
---|
CONNECTED_4
Border pixels are connected by 4-neighborhood.
|
CONNECTED_8
Border pixels are connected by 8-neighborhood.
|
Modifier and Type | Method and Description |
---|---|
static MTBBorder2D.BorderConnectivity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MTBBorder2D.BorderConnectivity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MTBBorder2D.BorderConnectivity CONNECTED_4
public static final MTBBorder2D.BorderConnectivity CONNECTED_8
public static MTBBorder2D.BorderConnectivity[] values()
for (MTBBorder2D.BorderConnectivity c : MTBBorder2D.BorderConnectivity.values()) System.out.println(c);
public static MTBBorder2D.BorderConnectivity 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 © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.