Class InverseDistanceWeightingInterpolatorFactory<T extends RealType<T>>
java.lang.Object
net.imglib2.interpolation.neighborsearch.InverseDistanceWeightingInterpolatorFactory<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
InterpolatorFactory<T,
KNearestNeighborSearch<T>>
public class InverseDistanceWeightingInterpolatorFactory<T extends RealType<T>>
extends Object
implements InterpolatorFactory<T,KNearestNeighborSearch<T>>
Factory for
InverseDistanceWeightingInterpolator
instances that work
on a KNearestNeighborSearch
.- Author:
- Tobias Pietzsch, Stephan Preibisch
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncreate
(KNearestNeighborSearch<T> search) Creates a newInverseDistanceWeightingInterpolator
using a copy of the passedKNearestNeighborSearch
.create
(KNearestNeighborSearch<T> search, RealInterval interval) Creates a newInverseDistanceWeightingInterpolator
using a copy of the passedKNearestNeighborSearch
.
-
Constructor Details
-
InverseDistanceWeightingInterpolatorFactory
public InverseDistanceWeightingInterpolatorFactory() -
InverseDistanceWeightingInterpolatorFactory
public InverseDistanceWeightingInterpolatorFactory(double p)
-
-
Method Details
-
create
Creates a newInverseDistanceWeightingInterpolator
using a copy of the passedKNearestNeighborSearch
.- Specified by:
create
in interfaceInterpolatorFactory<T extends RealType<T>,
KNearestNeighborSearch<T extends RealType<T>>>
-
create
public InverseDistanceWeightingInterpolator<T> create(KNearestNeighborSearch<T> search, RealInterval interval) Creates a new
InverseDistanceWeightingInterpolator
using a copy of the passedKNearestNeighborSearch
.For now, ignore the
RealInterval
and returncreate(KNearestNeighborSearch)
.- Specified by:
create
in interfaceInterpolatorFactory<T extends RealType<T>,
KNearestNeighborSearch<T extends RealType<T>>>
-