public class LanczosInterpolatorFactory<T extends RealType<T>> extends Object implements InterpolatorFactory<T,RandomAccessible<T>>
Constructor and Description |
---|
LanczosInterpolatorFactory()
Creates a new
LanczosInterpolatorFactory with standard parameters
(do clipping, alpha=3) |
LanczosInterpolatorFactory(double min,
double max)
Creates a new
LanczosInterpolatorFactory using the Lanczos (sinc)
interpolation in a certain window |
LanczosInterpolatorFactory(int alpha,
boolean clipping)
Creates a new
LanczosInterpolatorFactory using the Lanczos (sinc)
interpolation in a certain window |
LanczosInterpolatorFactory(int alpha,
double min,
double max)
Creates a new
LanczosInterpolatorFactory using the Lanczos (sinc)
interpolation in a certain window |
Modifier and Type | Method and Description |
---|---|
LanczosInterpolator<T> |
create(RandomAccessible<T> randomAccessible) |
LanczosInterpolator<T> |
create(RandomAccessible<T> randomAccessible,
RealInterval interval)
For now, ignore the
RealInterval and return
create(RandomAccessible) . |
int |
getAlpha() |
boolean |
getClipping() |
void |
setAlpha(int alpha)
Set the rectangular radius of the window for perfoming the lanczos
interpolation
|
void |
setClipping(boolean clipping)
The lanczos-interpolation can create values that are bigger or smaller
than the original values, so they can be clipped to the range of the
RealType if wanted |
public LanczosInterpolatorFactory(int alpha, boolean clipping)
LanczosInterpolatorFactory
using the Lanczos (sinc)
interpolation in a certain windowalpha
- the rectangular radius of the window for perfoming the lanczos
interpolationclipping
- the lanczos-interpolation can create values that are bigger or
smaller than the original values, so they can be clipped to
the range of the Type
if wantedpublic LanczosInterpolatorFactory(int alpha, double min, double max)
LanczosInterpolatorFactory
using the Lanczos (sinc)
interpolation in a certain windowalpha
- the rectangular radius of the window for perfoming the lanczos
interpolationmin
- the lanczos-interpolation can create values that are bigger or
smaller than the original values, so they can be clipped to
the range of the if wantedmax
- the lanczos-interpolation can create values that are bigger or
smaller than the original values, so they can be clipped to
the range of the if wantedpublic LanczosInterpolatorFactory(double min, double max)
LanczosInterpolatorFactory
using the Lanczos (sinc)
interpolation in a certain windowmin
- the lanczos-interpolation can create values that are bigger or
smaller than the original values, so they can be clipped to
the range of the if wantedmax
- the lanczos-interpolation can create values that are bigger or
smaller than the original values, so they can be clipped to
the range of the if wantedpublic LanczosInterpolatorFactory()
LanczosInterpolatorFactory
with standard parameters
(do clipping, alpha=3)public LanczosInterpolator<T> create(RandomAccessible<T> randomAccessible)
create
in interface InterpolatorFactory<T extends RealType<T>,RandomAccessible<T extends RealType<T>>>
public LanczosInterpolator<T> create(RandomAccessible<T> randomAccessible, RealInterval interval)
RealInterval
and return
create(RandomAccessible)
.create
in interface InterpolatorFactory<T extends RealType<T>,RandomAccessible<T extends RealType<T>>>
public void setAlpha(int alpha)
alpha
- radiuspublic void setClipping(boolean clipping)
RealType
if wantedclipping
- perform clipping (true)public int getAlpha()
public boolean getClipping()
RealType
range will be performedCopyright © 2015–2022 ImgLib2. All rights reserved.