Enum IMeasures.PatchSize

  • All Implemented Interfaces:
    Serializable, Comparable<IMeasures.PatchSize>
    Enclosing interface:
    IMeasures

    public static enum IMeasures.PatchSize
    extends Enum<IMeasures.PatchSize>
    This contains all possible sizes of a patch that parameters are going to be computed for.
    Note: For adding new items to the list, make sure that the input images can be divided by the new number. (bImage.getWidth % newItem == 0)
    • Method Detail

      • values

        public static IMeasures.PatchSize[] 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 (IMeasures.PatchSize c : IMeasures.PatchSize.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IMeasures.PatchSize valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getSize

        public int getSize()