Package org.apache.pdfbox.jbig2.image
Class Filter
- java.lang.Object
-
- org.apache.pdfbox.jbig2.image.Filter
-
- Direct Known Subclasses:
Filter.Bessel
,Filter.Blackman
,Filter.Box
,Filter.Catrom
,Filter.Cubic
,Filter.Gaussian
,Filter.Hamming
,Filter.Hanning
,Filter.Hermite
,Filter.Lanczos
,Filter.Mitchell
,Filter.Quadratic
,Filter.Sinc
,Filter.Triangle
abstract class Filter extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Filter.Bessel
static class
Filter.Blackman
static class
Filter.Box
static class
Filter.Catrom
static class
Filter.Cubic
static class
Filter.Gaussian
static class
Filter.Hamming
static class
Filter.Hanning
static class
Filter.Hermite
static class
Filter.Lanczos
static class
Filter.Mitchell
static class
Filter.Point
static class
Filter.Quadratic
static class
Filter.Sinc
static class
Filter.Triangle
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static Filter
byType(FilterType type)
Find a filter by its type.abstract double
f(double x)
double
fWindowed(double x)
double
getBlur()
java.lang.String
getName()
Return the filter name.double
getSupport()
static java.lang.String
nameByType(FilterType type)
Find a filter name by its type.void
setBlur(double blur)
void
setSupport(double support)
static FilterType
typeByName(java.lang.String name)
Find a filter type by its name.
-
-
-
Method Detail
-
nameByType
public static java.lang.String nameByType(FilterType type)
Find a filter name by its type.- Parameters:
type
- the filter type- Returns:
- filter name
-
typeByName
public static FilterType typeByName(java.lang.String name)
Find a filter type by its name.- Parameters:
name
- the filter name- Returns:
- filter type
-
byType
public static Filter byType(FilterType type)
Find a filter by its type.- Parameters:
type
- the filter type- Returns:
- the Filter
-
fWindowed
public double fWindowed(double x)
-
f
public abstract double f(double x)
-
getName
public java.lang.String getName()
Return the filter name.- Returns:
- the filter's name
-
getSupport
public double getSupport()
- Returns:
- the support
-
setSupport
public void setSupport(double support)
- Parameters:
support
- the support to set
-
getBlur
public double getBlur()
- Returns:
- the blur
-
setBlur
public void setBlur(double blur)
- Parameters:
blur
- the blur to set
-
-