|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ImagePredictor.PredictorType>
cz.cuni.jagrlib.piece.ImagePredictor.PredictorType
protected static enum ImagePredictor.PredictorType
Implemented predictors. Basic schema (X is pixel to be predicted):
A B \ | C - X
Enum Constant Summary | |
---|---|
PREDICT_HORIZONTAL
Horizontal predictor (C). #1 in JPEG. |
|
PREDICT_LEFTMOST
Leftmost predictor (C + (B - A) / 2). #5 in JPEG. |
|
PREDICT_NEAR
Two nearest neighbours ((B + C) / 2). #7 in JPEG. |
|
PREDICT_NONE
Void predictor (0). #0 in JPEG. |
|
PREDICT_OBLIQUE
Oblique predictor (A). #3 in JPEG. |
|
PREDICT_PLANAR
Planar predictor (B + C - A). #4 in JPEG. |
|
PREDICT_UPMOST
Upmost predictor (B + (C - A) / 2). #6 in JPEG. |
|
PREDICT_VERTICAL
Vertical predictor (B). #2 in JPEG. |
Method Summary | |
---|---|
static ImagePredictor.PredictorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ImagePredictor.PredictorType[] |
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 |
---|
public static final ImagePredictor.PredictorType PREDICT_NONE
public static final ImagePredictor.PredictorType PREDICT_HORIZONTAL
public static final ImagePredictor.PredictorType PREDICT_VERTICAL
public static final ImagePredictor.PredictorType PREDICT_OBLIQUE
public static final ImagePredictor.PredictorType PREDICT_PLANAR
public static final ImagePredictor.PredictorType PREDICT_LEFTMOST
public static final ImagePredictor.PredictorType PREDICT_UPMOST
public static final ImagePredictor.PredictorType PREDICT_NEAR
Method Detail |
---|
public static ImagePredictor.PredictorType[] values()
for (ImagePredictor.PredictorType c : ImagePredictor.PredictorType.values()) System.out.println(c);
public static ImagePredictor.PredictorType 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 null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |