public class KNearestNeighborSearchImpl extends Object
KDTreeImpl.
Results are node indices.| Constructor and Description |
|---|
KNearestNeighborSearchImpl(KDTreeImpl tree,
int k) |
| Modifier and Type | Method and Description |
|---|---|
int |
bestIndex(int i) |
double |
bestSquDistance(int i) |
KNearestNeighborSearchImpl |
copy() |
int |
k() |
void |
search(RealLocalizable p) |
public KNearestNeighborSearchImpl(KDTreeImpl tree, int k)
public void search(RealLocalizable p)
public int k()
public int bestIndex(int i)
public double bestSquDistance(int i)
public KNearestNeighborSearchImpl copy()
Copyright © 2009–2024 ImgLib2. All rights reserved.