de.unihalle.informatik.MiToBo.core.datatypes.images
Enum MTBImageWindow.BoundaryPadding

java.lang.Object
  extended by java.lang.Enum<MTBImageWindow.BoundaryPadding>
      extended by de.unihalle.informatik.MiToBo.core.datatypes.images.MTBImageWindow.BoundaryPadding
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MTBImageWindow.BoundaryPadding>
Enclosing class:
MTBImageWindow

public static enum MTBImageWindow.BoundaryPadding
extends java.lang.Enum<MTBImageWindow.BoundaryPadding>

Padding of image: Method of how to obtain pixel values outside the image domain. - PADDING_ZERO: Values outside the image domain are assumed to be zero. - PADDING_BORDER: Values outside the image domain correspond to value of nearest pixel in the image domain. - PADDING_MIRROR: Values of the image are mirrored outside of the image domain along the image border. - PADDING_PERIODIC: Values are repeated, i.e. the image is assumed to be periodical with period equal to the image dimensions (as assumed for DFT)

Author:
Oliver Gress

Enum Constant Summary
PADDING_BORDER
           
PADDING_MIRROR
           
PADDING_PERIODIC
           
PADDING_ZERO
           
 
Method Summary
static MTBImageWindow.BoundaryPadding valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MTBImageWindow.BoundaryPadding[] 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

PADDING_BORDER

public static final MTBImageWindow.BoundaryPadding PADDING_BORDER

PADDING_MIRROR

public static final MTBImageWindow.BoundaryPadding PADDING_MIRROR

PADDING_PERIODIC

public static final MTBImageWindow.BoundaryPadding PADDING_PERIODIC

PADDING_ZERO

public static final MTBImageWindow.BoundaryPadding PADDING_ZERO
Method Detail

valueOf

public static MTBImageWindow.BoundaryPadding 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 name
java.lang.NullPointerException - if the argument is null

values

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

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