|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<InterpolationType>
com.xinapse.multisliceimage.InterpolationType
public enum InterpolationType
An enumeration of the types of interpolation that can be used for resampling images.
| Enum Constant Summary | |
|---|---|
LINEAR
Linear interpolation resampling. |
|
NEAREST_NEIGHBOUR
Nearest neighbour resampling. |
|
SINC
Sinc interpolation resampling. |
|
SINC_IN_PLANE_LINEAR_OTHERWISE
Sinc interpolation for in-plane resampling, and linear interpolation for between plane resampling. |
|
SPLINE
Spline interpolation. |
|
| Method Summary | |
|---|---|
static InterpolationType |
get(java.lang.String s)
Returns the InterpolationType corresponding to the description supplied in the argument. |
java.lang.String |
toShortString()
Returns a short String describing this interpolation type. |
java.lang.String |
toString()
Returns a String describing this interpolation type. |
static InterpolationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static InterpolationType[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final InterpolationType NEAREST_NEIGHBOUR
public static final InterpolationType LINEAR
public static final InterpolationType SINC
public static final InterpolationType SINC_IN_PLANE_LINEAR_OTHERWISE
public static final InterpolationType SPLINE
| Method Detail |
|---|
public static InterpolationType[] values()
for (InterpolationType c : InterpolationType.values()) System.out.println(c);
public static InterpolationType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String toShortString()
public java.lang.String toString()
toString in class java.lang.Enum<InterpolationType>
public static final InterpolationType get(java.lang.String s)
throws com.xinapse.util.InvalidArgumentException
com.xinapse.util.InvalidArgumentException - if the supplied argument cannot be interpreted as
an InterpolationType.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||