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