Package qupath.opencv.ml.pixel
Enum Class PixelClassifierTools.CreateObjectOptions
java.lang.Object
java.lang.Enum<PixelClassifierTools.CreateObjectOptions>
qupath.opencv.ml.pixel.PixelClassifierTools.CreateObjectOptions
- All Implemented Interfaces:
Serializable
,Comparable<PixelClassifierTools.CreateObjectOptions>
,Constable
- Enclosing class:
PixelClassifierTools
public static enum PixelClassifierTools.CreateObjectOptions
extends Enum<PixelClassifierTools.CreateObjectOptions>
Options when creating objects from a pixel classifier.
This exists to avoid requiring numerous boolean arguments.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDelete existing child objectsGenerate objects for ignored classes (default is not to)Set the new objects to be selectedSplit connected components -
Method Summary
-
Enum Constant Details
-
DELETE_EXISTING
Delete existing child objects -
SPLIT
Split connected components -
INCLUDE_IGNORED
Generate objects for ignored classes (default is not to) -
SELECT_NEW
Set the new objects to be selected
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<PixelClassifierTools.CreateObjectOptions>
-