public static enum RandomWalkSegmentation.SeedTypes extends Enum<RandomWalkSegmentation.SeedTypes>
Enum Constant and Description |
---|
BACKGROUND
Denote background related data.
|
FOREGROUNDS
Denote foreground related data.
|
ROUGHMASK
Rough mask used for computing local mean.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Convert enum to int.
|
static RandomWalkSegmentation.SeedTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RandomWalkSegmentation.SeedTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RandomWalkSegmentation.SeedTypes FOREGROUNDS
FG data can be grayscale images up to 8-bits.
public static final RandomWalkSegmentation.SeedTypes BACKGROUND
BG data can be grayscale image up to 8-bits.
public static final RandomWalkSegmentation.SeedTypes ROUGHMASK
RandomWalkOptions.useLocalMean
is true. This mask should be always binary.public static RandomWalkSegmentation.SeedTypes[] values()
for (RandomWalkSegmentation.SeedTypes c : RandomWalkSegmentation.SeedTypes.values()) System.out.println(c);
public static RandomWalkSegmentation.SeedTypes 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 nullpublic int getIndex()
Copyright © 2002–2019 Department of Computer Science, Warwick University. All rights reserved.