public interface NearestNeighborSearch<T> extends EuclideanSpace
NearestNeighborSearch
.Modifier and Type | Method and Description |
---|---|
NearestNeighborSearch<T> |
copy()
Create a copy.
|
double |
getDistance()
Access the Euclidean distance between the reference location as used for
the last search and the nearest neighbor, ordered by square Euclidean
distance.
|
RealLocalizable |
getPosition()
Access the position of the nearest neighbor, ordered by square Euclidean
distance.
|
Sampler<T> |
getSampler()
Access the data of the nearest neighbor.
|
double |
getSquareDistance()
Access the square Euclidean distance between the reference location as
used for the last search and the nearest neighbor, ordered by square
Euclidean distance.
|
void |
search(RealLocalizable reference)
Perform nearest-neighbor search for a reference coordinate.
|
numDimensions
void search(RealLocalizable reference)
reference
- Sampler<T> getSampler()
Sampler
that guarantees write access if the underlying data set
is writable.RealLocalizable getPosition()
double getSquareDistance()
double getDistance()
NearestNeighborSearch<T> copy()
Copyright © 2015–2022 ImgLib2. All rights reserved.