Top Inners Fields Constructors Methods
org.apache.pdfbox.jbig2.image

pack-priv abstract Class Filter

extends Object
Class Inheritance
Known Direct Subclasses
org.apache.pdfbox.jbig2.image.Filter.Bessel, org.apache.pdfbox.jbig2.image.Filter.Blackman, org.apache.pdfbox.jbig2.image.Filter.Box, org.apache.pdfbox.jbig2.image.Filter.Catrom, org.apache.pdfbox.jbig2.image.Filter.Cubic, org.apache.pdfbox.jbig2.image.Filter.Gaussian, org.apache.pdfbox.jbig2.image.Filter.Hamming, org.apache.pdfbox.jbig2.image.Filter.Hanning, org.apache.pdfbox.jbig2.image.Filter.Hermite, org.apache.pdfbox.jbig2.image.Filter.Lanczos, org.apache.pdfbox.jbig2.image.Filter.Mitchell, org.apache.pdfbox.jbig2.image.Filter.Quadratic, org.apache.pdfbox.jbig2.image.Filter.Sinc, org.apache.pdfbox.jbig2.image.Filter.Triangle

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class

Field Summary

Modifier and TypeField and Description
pack-priv double
blur

blur factor (1=normal)

pack-priv final boolean
cardinal

is this filter cardinal?

pack-priv double
support

radius of nonzero portion

Constructor Summary

AccessConstructor and Description
protected
protected
Filter(final boolean cardinal, final double support, final double blur)

Method Summary

Modifier and TypeMethod and Description
public static Filter

Returns:

the Filter
byType
(final FilterType
the filter type
type
)

Find a filter by its type.

public abstract double
f(double x)

public double
fWindowed(double x)

public double

Returns:

the blur
getBlur
()

public String

Returns:

the filter's name
getName
()

Return the filter name.

public double

Returns:

the support
getSupport
()

public static String

Returns:

filter name
nameByType
(final FilterType
the filter type
type
)

Find a filter name by its type.

public void
setBlur(final double
the blur to set
blur
)

public void
setSupport(final double
the support to set
support
)

public static FilterType

Returns:

filter type
typeByName
(final String
the filter name
name
)

Find a filter type by its name.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

blurback to summary
pack-priv double blur

blur factor (1=normal)

cardinalback to summary
pack-priv final boolean cardinal

is this filter cardinal? ie, does func(x) = (x==0) for integer x?

supportback to summary
pack-priv double support

radius of nonzero portion

Constructor Detail

Filterback to summary
protected Filter()
Filterback to summary
protected Filter(final boolean cardinal, final double support, final double blur)

Method Detail

byTypeback to summary
public static Filter byType(final FilterType type)

Find a filter by its type.

Parameters
type:FilterType

the filter type

Returns:Filter

the Filter

fback to summary
public abstract double f(double x)
fWindowedback to summary
public double fWindowed(double x)
getBlurback to summary
public double getBlur()
Returns:double

the blur

getNameback to summary
public String getName()

Return the filter name.

Returns:String

the filter's name

getSupportback to summary
public double getSupport()
Returns:double

the support

nameByTypeback to summary
public static String nameByType(final FilterType type)

Find a filter name by its type.

Parameters
type:FilterType

the filter type

Returns:String

filter name

setBlurback to summary
public void setBlur(final double blur)
Parameters
blur:double

the blur to set

setSupportback to summary
public void setSupport(final double support)
Parameters
support:double

the support to set

typeByNameback to summary
public static FilterType typeByName(final String name)

Find a filter type by its name.

Parameters
name:String

the filter name

Returns:FilterType

filter type

org.apache.pdfbox.jbig2.image back to summary

public final Class Filter.Bessel

extends Filter
Class Inheritance

Field Summary

Inherited from org.apache.pdfbox.jbig2.image.Filter:
blurcardinalsupport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private double
BesselOrderOne(double x)

public double
f(final double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

private double
J1(final double x)

private double
P1(final double x)

private double
Q1(final double x)

Inherited from org.apache.pdfbox.jbig2.image.Filter:
byTypefWindowedgetBlurgetNamegetSupportnameByTypesetBlursetSupporttypeByName

Constructor Detail

Besselback to summary
public Bessel()

Method Detail

BesselOrderOneback to summary
private double BesselOrderOne(double x)
fback to summary
public double f(final double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Annotations
@Override
J1back to summary
private double J1(final double x)
P1back to summary
private double P1(final double x)
Q1back to summary
private double Q1(final double x)
org.apache.pdfbox.jbig2.image back to summary

public final Class Filter.Blackman

extends Filter
Class Inheritance

Field Summary

Inherited from org.apache.pdfbox.jbig2.image.Filter:
blurcardinalsupport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public double
f(final double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Inherited from org.apache.pdfbox.jbig2.image.Filter:
byTypefWindowedgetBlurgetNamegetSupportnameByTypesetBlursetSupporttypeByName

Constructor Detail

Blackmanback to summary
public Blackman()

Method Detail

fback to summary
public double f(final double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Annotations
@Override
org.apache.pdfbox.jbig2.image back to summary

public Class Filter.Box

extends Filter
Class Inheritance
Known Direct Subclasses
org.apache.pdfbox.jbig2.image.Filter.Point

Field Summary

Inherited from org.apache.pdfbox.jbig2.image.Filter:
blurcardinalsupport

Constructor Summary

AccessConstructor and Description
public
Box()

public
Box(final double supp)

Method Summary

Modifier and TypeMethod and Description
public double
f(final double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Inherited from org.apache.pdfbox.jbig2.image.Filter:
byTypefWindowedgetBlurgetNamegetSupportnameByTypesetBlursetSupporttypeByName

Constructor Detail

Boxback to summary
public Box()
Boxback to summary
public Box(final double supp)

Method Detail

fback to summary
public double f(final double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Annotations
@Override
org.apache.pdfbox.jbig2.image back to summary

public final Class Filter.Catrom

extends Filter
Class Inheritance

Field Summary

Inherited from org.apache.pdfbox.jbig2.image.Filter:
blurcardinalsupport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public double
f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Inherited from org.apache.pdfbox.jbig2.image.Filter:
byTypefWindowedgetBlurgetNamegetSupportnameByTypesetBlursetSupporttypeByName

Constructor Detail

Catromback to summary
public Catrom()

Method Detail

fback to summary
public double f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Annotations
@Override
org.apache.pdfbox.jbig2.image back to summary

public final Class Filter.Cubic

extends Filter
Class Inheritance

Field Summary

Inherited from org.apache.pdfbox.jbig2.image.Filter:
blurcardinalsupport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public double
f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Inherited from org.apache.pdfbox.jbig2.image.Filter:
byTypefWindowedgetBlurgetNamegetSupportnameByTypesetBlursetSupporttypeByName

Constructor Detail

Cubicback to summary
public Cubic()

Method Detail

fback to summary
public double f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Annotations
@Override
org.apache.pdfbox.jbig2.image back to summary

public final Class Filter.Gaussian

extends Filter
Class Inheritance

Field Summary

Inherited from org.apache.pdfbox.jbig2.image.Filter:
blurcardinalsupport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public double
f(final double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Inherited from org.apache.pdfbox.jbig2.image.Filter:
byTypefWindowedgetBlurgetNamegetSupportnameByTypesetBlursetSupporttypeByName

Constructor Detail

Gaussianback to summary
public Gaussian()

Method Detail

fback to summary
public double f(final double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Annotations
@Override
org.apache.pdfbox.jbig2.image back to summary

public final Class Filter.Hamming

extends Filter
Class Inheritance

Field Summary

Inherited from org.apache.pdfbox.jbig2.image.Filter:
blurcardinalsupport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public double
f(final double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Inherited from org.apache.pdfbox.jbig2.image.Filter:
byTypefWindowedgetBlurgetNamegetSupportnameByTypesetBlursetSupporttypeByName

Constructor Detail

Hammingback to summary
public Hamming()

Method Detail

fback to summary
public double f(final double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Annotations
@Override
org.apache.pdfbox.jbig2.image back to summary

public final Class Filter.Hanning

extends Filter
Class Inheritance

Field Summary

Inherited from org.apache.pdfbox.jbig2.image.Filter:
blurcardinalsupport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public double
f(final double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Inherited from org.apache.pdfbox.jbig2.image.Filter:
byTypefWindowedgetBlurgetNamegetSupportnameByTypesetBlursetSupporttypeByName

Constructor Detail

Hanningback to summary
public Hanning()

Method Detail

fback to summary
public double f(final double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Annotations
@Override
org.apache.pdfbox.jbig2.image back to summary

public final Class Filter.Hermite

extends Filter
Class Inheritance

Field Summary

Inherited from org.apache.pdfbox.jbig2.image.Filter:
blurcardinalsupport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public double
f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Inherited from org.apache.pdfbox.jbig2.image.Filter:
byTypefWindowedgetBlurgetNamegetSupportnameByTypesetBlursetSupporttypeByName

Constructor Detail

Hermiteback to summary
public Hermite()

Method Detail

fback to summary
public double f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Annotations
@Override
org.apache.pdfbox.jbig2.image back to summary

public final Class Filter.Lanczos

extends Filter
Class Inheritance

Field Summary

Inherited from org.apache.pdfbox.jbig2.image.Filter:
blurcardinalsupport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public double
f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

private double
sinc(double value)

Inherited from org.apache.pdfbox.jbig2.image.Filter:
byTypefWindowedgetBlurgetNamegetSupportnameByTypesetBlursetSupporttypeByName

Constructor Detail

Lanczosback to summary
public Lanczos()

Method Detail

fback to summary
public double f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Annotations
@Override
sincback to summary
private double sinc(double value)
org.apache.pdfbox.jbig2.image back to summary

public final Class Filter.Mitchell

extends Filter
Class Inheritance

Field Summary

Inherited from org.apache.pdfbox.jbig2.image.Filter:
blurcardinalsupport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public double
f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Inherited from org.apache.pdfbox.jbig2.image.Filter:
byTypefWindowedgetBlurgetNamegetSupportnameByTypesetBlursetSupporttypeByName

Constructor Detail

Mitchellback to summary
public Mitchell()

Method Detail

fback to summary
public double f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Annotations
@Override
org.apache.pdfbox.jbig2.image back to summary

public final Class Filter.Point

extends Box
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public double
Inherited from org.apache.pdfbox.jbig2.image.Filter.Box:
f

Constructor Detail

Pointback to summary
public Point()

Method Detail

fWindowedback to summary
public double fWindowed(double x)

Overrides org.apache.pdfbox.jbig2.image.Filter.fWindowed.

Annotations
@Override
org.apache.pdfbox.jbig2.image back to summary

public final Class Filter.Quadratic

extends Filter
Class Inheritance

Field Summary

Inherited from org.apache.pdfbox.jbig2.image.Filter:
blurcardinalsupport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public double
f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Inherited from org.apache.pdfbox.jbig2.image.Filter:
byTypefWindowedgetBlurgetNamegetSupportnameByTypesetBlursetSupporttypeByName

Constructor Detail

Quadraticback to summary
public Quadratic()

Method Detail

fback to summary
public double f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Annotations
@Override
org.apache.pdfbox.jbig2.image back to summary

public final Class Filter.Sinc

extends Filter
Class Inheritance

Field Summary

Inherited from org.apache.pdfbox.jbig2.image.Filter:
blurcardinalsupport

Constructor Summary

AccessConstructor and Description
public
Sinc()

Method Summary

Modifier and TypeMethod and Description
public double
f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Inherited from org.apache.pdfbox.jbig2.image.Filter:
byTypefWindowedgetBlurgetNamegetSupportnameByTypesetBlursetSupporttypeByName

Constructor Detail

Sincback to summary
public Sinc()

Method Detail

fback to summary
public double f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Annotations
@Override
org.apache.pdfbox.jbig2.image back to summary

public final Class Filter.Triangle

extends Filter
Class Inheritance

Field Summary

Inherited from org.apache.pdfbox.jbig2.image.Filter:
blurcardinalsupport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public double
f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Inherited from org.apache.pdfbox.jbig2.image.Filter:
byTypefWindowedgetBlurgetNamegetSupportnameByTypesetBlursetSupporttypeByName

Constructor Detail

Triangleback to summary
public Triangle()

Method Detail

fback to summary
public double f(double x)

Implements abstract org.apache.pdfbox.jbig2.image.Filter.f.

Annotations
@Override