Modifier and Type | Field and Description |
---|---|
int |
k |
NIVision.NearestNeighborMethod |
method |
NIVision.NearestNeighborMetric |
metric |
Modifier | Constructor and Description |
---|---|
|
NearestNeighborOptions() |
protected |
NearestNeighborOptions(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(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(ByteBuffer backing, int offset)
protected NearestNeighborOptions(long nativeObj, boolean owned)
protected void setBuffer(ByteBuffer backing, int offset)
public void read()
public void write()
public int size()
Copyright © 2015. All rights reserved.