Package boofcv.factory.transform.census
Enum CensusVariants
- java.lang.Object
-
- java.lang.Enum<CensusVariants>
-
- boofcv.factory.transform.census.CensusVariants
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CensusVariants>
public enum CensusVariants extends java.lang.Enum<CensusVariants>
Different sampling patterns forCensusTransform.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBits()static CensusVariantsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CensusVariants[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLOCK_3_3
public static final CensusVariants BLOCK_3_3
-
BLOCK_5_5
public static final CensusVariants BLOCK_5_5
-
BLOCK_7_7
public static final CensusVariants BLOCK_7_7
-
BLOCK_9_7
public static final CensusVariants BLOCK_9_7
-
BLOCK_13_5
public static final CensusVariants BLOCK_13_5
-
CIRCLE_9
public static final CensusVariants CIRCLE_9
-
-
Method Detail
-
values
public static CensusVariants[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CensusVariants c : CensusVariants.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CensusVariants valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getBits
public int getBits()
-
-