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 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
Modifier and TypeMethodDescriptioncreate(RandomAccessible<T> randomAccessible) create(RandomAccessible<T> randomAccessible, RealInterval interval) For now, ignore theRealIntervaland returncreate(RandomAccessible).intgetAlpha()booleanvoidsetAlpha(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 Details
-
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 Details
-
create
- Specified by:
createin interfaceInterpolatorFactory<T extends RealType<T>,RandomAccessible<T extends RealType<T>>>
-
create
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
-