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 java.lang.Object implements InterpolatorFactory<T,RandomAccessible<T>>
TODO
-
-
Constructor Summary
Constructors Constructor Description LanczosInterpolatorFactory()Creates a newLanczosInterpolatorFactorywith standard parameters (do clipping, alpha=3)LanczosInterpolatorFactory(double min, double max)Creates a newLanczosInterpolatorFactoryusing the Lanczos (sinc) interpolation in a certain windowLanczosInterpolatorFactory(int alpha, boolean clipping)Creates a newLanczosInterpolatorFactoryusing the Lanczos (sinc) interpolation in a certain windowLanczosInterpolatorFactory(int alpha, double min, double max)Creates a newLanczosInterpolatorFactoryusing the Lanczos (sinc) interpolation in a certain window
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LanczosInterpolator<T>create(RandomAccessible<T> randomAccessible)LanczosInterpolator<T>create(RandomAccessible<T> randomAccessible, RealInterval interval)For now, ignore theRealIntervaland returncreate(RandomAccessible).intgetAlpha()booleangetClipping()voidsetAlpha(int alpha)Set the rectangular radius of the window for perfoming the lanczos interpolationvoidsetClipping(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 theRealTypeif wanted
-
-
-
Constructor Detail
-
LanczosInterpolatorFactory
public LanczosInterpolatorFactory(int alpha, boolean clipping)Creates a newLanczosInterpolatorFactoryusing 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 theTypeif wanted
-
LanczosInterpolatorFactory
public LanczosInterpolatorFactory(int alpha, double min, double max)Creates a newLanczosInterpolatorFactoryusing 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 newLanczosInterpolatorFactoryusing 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 newLanczosInterpolatorFactorywith standard parameters (do clipping, alpha=3)
-
-
Method Detail
-
create
public LanczosInterpolator<T> create(RandomAccessible<T> randomAccessible)
- Specified by:
createin interfaceInterpolatorFactory<T extends RealType<T>,RandomAccessible<T extends RealType<T>>>
-
create
public LanczosInterpolator<T> create(RandomAccessible<T> randomAccessible, RealInterval interval)
For now, ignore theRealIntervaland returncreate(RandomAccessible).- Specified by:
createin 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 theRealTypeif 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
RealTyperange will be performed
-
-