public class BSplineCoefficientsInterpolatorFactory<T extends RealType<T>,S extends RealType<S>> extends Object implements InterpolatorFactory<S,RandomAccessible<T>>
Modifier and Type | Field and Description |
---|---|
protected boolean |
clipping |
protected RandomAccessibleInterval<S> |
coefficients |
protected OutOfBoundsFactory<?,?> |
oobFactory |
protected int |
order |
Modifier and Type | Method and Description |
---|---|
BSplineCoefficientsInterpolator<S> |
create(RandomAccessible<T> f) |
RealRandomAccess<S> |
create(RandomAccessible<T> f,
RealInterval interval) |
protected final int order
protected final boolean clipping
protected final RandomAccessibleInterval<S extends RealType<S>> coefficients
protected OutOfBoundsFactory<?,?> oobFactory
public BSplineCoefficientsInterpolatorFactory(RandomAccessible<T> img, Interval interval, int order, boolean clipping, ImgFactory<S> coefficientFactory, OutOfBoundsFactory<? extends RealType<?>,?> oobFactory)
BSplineCoefficientsInterpolatorFactory
using the BSpline
interpolation in a certain windowimg
- the random accessible to be interpolatedinterval
- the interval over which to do the interpolation and store
coefficientsorder
- the order of the bsplineclipping
- the bspline-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 wantedcoefficientFactory
- a factory used to create the coefficient imageoobFactory
- a factory specifying the out-of-bound policy to usepublic BSplineCoefficientsInterpolatorFactory(RandomAccessible<T> img, Interval interval, int order, boolean clipping, S coefficientType)
public BSplineCoefficientsInterpolatorFactory(RandomAccessible<T> img, Interval interval, int order, boolean clipping)
public BSplineCoefficientsInterpolatorFactory(RandomAccessible<T> img, Interval interval, int order)
public BSplineCoefficientsInterpolatorFactory(RandomAccessible<T> img, Interval interval)
public BSplineCoefficientsInterpolatorFactory(RandomAccessibleInterval<T> img)
public BSplineCoefficientsInterpolatorFactory(RandomAccessibleInterval<T> img, int order, boolean clipping, S coefficientType)
public BSplineCoefficientsInterpolatorFactory(RandomAccessibleInterval<T> img, int order, boolean clipping)
public BSplineCoefficientsInterpolatorFactory(RandomAccessibleInterval<T> img, int order)
public BSplineCoefficientsInterpolatorFactory(RandomAccessibleInterval<S> coefficients, int order, boolean clipping, OutOfBoundsFactory<? extends RealType<?>,?> oobFactory)
public BSplineCoefficientsInterpolator<S> create(RandomAccessible<T> f)
create
in interface InterpolatorFactory<S extends RealType<S>,RandomAccessible<T extends RealType<T>>>
public RealRandomAccess<S> create(RandomAccessible<T> f, RealInterval interval)
create
in interface InterpolatorFactory<S extends RealType<S>,RandomAccessible<T extends RealType<T>>>
Copyright © 2015–2022 ImgLib2. All rights reserved.