public enum FilterType extends Enum<FilterType>
Enum Constant and Description |
---|
FILTER_ADAPTIVE_FAST
Adaptative strategy, skipping many rows - more speed
|
FILTER_ADAPTIVE_FULL
Adaptative strategy, sampling each row, or almost
|
FILTER_ADAPTIVE_MEDIUM
Adaptive strategy, skippping some rows
|
FILTER_AGGRESSIVE
Deprecated.
use #FILTER_ADAPTIVE_FAST
|
FILTER_AVERAGE
AVERAGE filter
|
FILTER_CYCLIC
Uses all fiters, one for lines, cyciclally.
|
FILTER_DEFAULT
Default strategy: select one of the standard filters depending on global image parameters
|
FILTER_NONE
No filter.
|
FILTER_PAETH
PAETH predictor
|
FILTER_PRESERVE
Preserves the filter passed in original row.
|
FILTER_SUB
SUB filter (uses same row)
|
FILTER_SUPER_ADAPTIVE
Experimental
|
FILTER_UNKNOWN
Not specified, placeholder for unknown or NA filters.
|
FILTER_UP
UP filter (uses previous row)
|
FILTER_VERYAGGRESSIVE
Deprecated.
use #FILTER_ADAPTIVE_MEDIUM or #FILTER_ADAPTIVE_FULL
|
Modifier and Type | Field and Description |
---|---|
int |
val |
Modifier and Type | Method and Description |
---|---|
static FilterType[] |
getAllStandard()
Returns all "standard" filters
|
static FilterType[] |
getAllStandardExceptNone() |
static FilterType[] |
getAllStandardNoneLast() |
static FilterType |
getByVal(int i) |
static boolean |
isAdaptive(FilterType fy) |
static boolean |
isValidStandard(FilterType fy) |
static boolean |
isValidStandard(int i)
only considers standard
|
static FilterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterType FILTER_NONE
public static final FilterType FILTER_SUB
public static final FilterType FILTER_UP
public static final FilterType FILTER_AVERAGE
public static final FilterType FILTER_PAETH
public static final FilterType FILTER_DEFAULT
public static final FilterType FILTER_AGGRESSIVE
public static final FilterType FILTER_VERYAGGRESSIVE
public static final FilterType FILTER_ADAPTIVE_FULL
public static final FilterType FILTER_ADAPTIVE_MEDIUM
public static final FilterType FILTER_ADAPTIVE_FAST
public static final FilterType FILTER_SUPER_ADAPTIVE
public static final FilterType FILTER_PRESERVE
public static final FilterType FILTER_CYCLIC
public static final FilterType FILTER_UNKNOWN
public static FilterType[] values()
for (FilterType c : FilterType.values()) System.out.println(c);
public static FilterType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static FilterType getByVal(int i)
public static boolean isValidStandard(int i)
public static boolean isValidStandard(FilterType fy)
public static boolean isAdaptive(FilterType fy)
public static FilterType[] getAllStandard()
public static FilterType[] getAllStandardNoneLast()
public static FilterType[] getAllStandardExceptNone()
Copyright © 2014. All rights reserved.