Class LanczosInterpolatorFactory<T extends RealType<T>>
java.lang.Object
net.imglib2.interpolation.randomaccess.LanczosInterpolatorFactory<T>
- All Implemented Interfaces:
InterpolatorFactory<T,
RandomAccessible<T>>
public class LanczosInterpolatorFactory<T extends RealType<T>>
extends Object
implements InterpolatorFactory<T,RandomAccessible<T>>
TODO
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newLanczosInterpolatorFactory
with standard parameters (do clipping, alpha=3)LanczosInterpolatorFactory
(double min, double max) Creates a newLanczosInterpolatorFactory
using the Lanczos (sinc) interpolation in a certain windowLanczosInterpolatorFactory
(int alpha, boolean clipping) Creates a newLanczosInterpolatorFactory
using the Lanczos (sinc) interpolation in a certain windowLanczosInterpolatorFactory
(int alpha, double min, double max) Creates a newLanczosInterpolatorFactory
using the Lanczos (sinc) interpolation in a certain window -
Method Summary
Modifier and TypeMethodDescriptioncreate
(RandomAccessible<T> randomAccessible) create
(RandomAccessible<T> randomAccessible, RealInterval interval) For now, ignore theRealInterval
and returncreate(RandomAccessible)
.int
getAlpha()
boolean
void
setAlpha
(int alpha) Set the rectangular radius of the window for perfoming the lanczos interpolationvoid
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 theRealType
if wanted
-
Constructor Details
-
LanczosInterpolatorFactory
public LanczosInterpolatorFactory(int alpha, boolean clipping) Creates a newLanczosInterpolatorFactory
using the Lanczos (sinc) interpolation in a certain window- Parameters:
alpha
- 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 theType
if wanted
-
LanczosInterpolatorFactory
public LanczosInterpolatorFactory(int alpha, double min, double max) Creates a newLanczosInterpolatorFactory
using the Lanczos (sinc) interpolation in a certain window- Parameters:
alpha
- 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 wanted
-
LanczosInterpolatorFactory
public LanczosInterpolatorFactory(double min, double max) Creates a newLanczosInterpolatorFactory
using the Lanczos (sinc) interpolation in a certain window- Parameters:
min
- 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 wanted
-
LanczosInterpolatorFactory
public LanczosInterpolatorFactory()Creates a newLanczosInterpolatorFactory
with standard parameters (do clipping, alpha=3)
-
-
Method Details
-
create
- Specified by:
create
in interfaceInterpolatorFactory<T extends RealType<T>,
RandomAccessible<T extends RealType<T>>>
-
create
For now, ignore theRealInterval
and returncreate(RandomAccessible)
.- Specified by:
create
in interfaceInterpolatorFactory<T extends RealType<T>,
RandomAccessible<T extends RealType<T>>>
-
setAlpha
public void setAlpha(int alpha) Set the rectangular radius of the window for perfoming the lanczos interpolation- Parameters:
alpha
- radius
-
setClipping
public 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 theRealType
if wanted- Parameters:
clipping
- perform clipping (true)
-
getAlpha
public int getAlpha()- Returns:
- rectangular radius of the window for perfoming the lanczos interpolation
-
getClipping
public boolean getClipping()- Returns:
- if clipping to the
RealType
range will be performed
-