de.unihalle.informatik.MiToBo.tools.image
Enum ImageContrastReducer.ResultValueMode

java.lang.Object
  extended by java.lang.Enum<ImageContrastReducer.ResultValueMode>
      extended by de.unihalle.informatik.MiToBo.tools.image.ImageContrastReducer.ResultValueMode
All Implemented Interfaces:
Serializable, Comparable<ImageContrastReducer.ResultValueMode>
Enclosing class:
ImageContrastReducer

public static enum ImageContrastReducer.ResultValueMode
extends Enum<ImageContrastReducer.ResultValueMode>

Modes for choosing result values.


Enum Constant Summary
INTERVAL_CENTER
          Result values are given by center values of quantization intervals.
INTERVAL_MAX
          Result values are given by max values of quantization intervals.
INTERVAL_MIN
          Result values are given by min values of quantization intervals.
ZERO_TO_N
          Result values are given values from 0 to number of gray values.
 
Method Summary
static ImageContrastReducer.ResultValueMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ImageContrastReducer.ResultValueMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INTERVAL_CENTER

public static final ImageContrastReducer.ResultValueMode INTERVAL_CENTER
Result values are given by center values of quantization intervals.


INTERVAL_MAX

public static final ImageContrastReducer.ResultValueMode INTERVAL_MAX
Result values are given by max values of quantization intervals.


INTERVAL_MIN

public static final ImageContrastReducer.ResultValueMode INTERVAL_MIN
Result values are given by min values of quantization intervals.


ZERO_TO_N

public static final ImageContrastReducer.ResultValueMode ZERO_TO_N
Result values are given values from 0 to number of gray values.

Method Detail

values

public static ImageContrastReducer.ResultValueMode[] 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 (ImageContrastReducer.ResultValueMode c : ImageContrastReducer.ResultValueMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ImageContrastReducer.ResultValueMode 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


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.