public static enum BTMutualInformation.DataSource extends Enum<BTMutualInformation.DataSource>
Enum
defining the possible sources of data to compute the mutual
information.Enum Constant and Description |
---|
BG
Compute mutual information only from background data.
|
BOTH
Use both data sets (forground and background data) to compute the
mutual information.
|
FG
Compute mutual information only from foreground data.
|
Modifier and Type | Method and Description |
---|---|
static BTMutualInformation.DataSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BTMutualInformation.DataSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BTMutualInformation.DataSource FG
public static final BTMutualInformation.DataSource BG
public static final BTMutualInformation.DataSource BOTH
public static BTMutualInformation.DataSource[] values()
for (BTMutualInformation.DataSource c : BTMutualInformation.DataSource.values()) System.out.println(c);
public static BTMutualInformation.DataSource 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 null