public static enum DrawRegion2DSet.DrawType extends Enum<DrawRegion2DSet.DrawType>
Enum Constant and Description |
---|
COLOR_IMAGE
Draw a mask with colored regions.
|
CONTOURS
Draw contours of the regions in a given colour or gray value.
|
ID_IMAGE
Draw gray value image where regions are labeled by their region
ID (see
MTBRegion2D ). |
LABEL_IMAGE
Draw gray value image where regions are labeled by their index
in the given set plus one.
|
MASK_IMAGE
Draw a mask image with identical gray values for all regions.
|
TRANSPARENT_IMAGE
Draw a mask with colored regions, but the regions are
transparently overlaid over the target image to show the
underlying intensity structure.
|
Modifier and Type | Method and Description |
---|---|
static DrawRegion2DSet.DrawType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DrawRegion2DSet.DrawType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrawRegion2DSet.DrawType LABEL_IMAGE
public static final DrawRegion2DSet.DrawType ID_IMAGE
MTBRegion2D
).public static final DrawRegion2DSet.DrawType MASK_IMAGE
public static final DrawRegion2DSet.DrawType COLOR_IMAGE
public static final DrawRegion2DSet.DrawType TRANSPARENT_IMAGE
public static final DrawRegion2DSet.DrawType CONTOURS
public static DrawRegion2DSet.DrawType[] values()
for (DrawRegion2DSet.DrawType c : DrawRegion2DSet.DrawType.values()) System.out.println(c);
public static DrawRegion2DSet.DrawType 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.