public static class NIVision.NearestNeighborOptions extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
k |
NIVision.NearestNeighborMethod |
method |
NIVision.NearestNeighborMetric |
metric |
Modifier | Constructor and Description |
---|---|
|
NearestNeighborOptions() |
protected |
NearestNeighborOptions(java.nio.ByteBuffer backing,
int offset) |
protected |
NearestNeighborOptions(long nativeObj,
boolean owned) |
|
NearestNeighborOptions(NIVision.NearestNeighborMethod method,
NIVision.NearestNeighborMetric metric,
int k) |
Modifier and Type | Method and Description |
---|---|
void |
read() |
protected void |
setBuffer(java.nio.ByteBuffer backing,
int offset) |
int |
size() |
void |
write() |
public NIVision.NearestNeighborMethod method
public NIVision.NearestNeighborMetric metric
public int k
public NearestNeighborOptions()
public NearestNeighborOptions(NIVision.NearestNeighborMethod method, NIVision.NearestNeighborMetric metric, int k)
protected NearestNeighborOptions(java.nio.ByteBuffer backing, int offset)
protected NearestNeighborOptions(long nativeObj, boolean owned)