public class EdgeHistogram extends EdgeHistogramImplementation implements GlobalFeature
BIN_COUNT, edgeHistogram| 构造器和说明 |
|---|
EdgeHistogram() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
getByteArrayRepresentation()
Creates a 40 byte array from an edge histogram descriptor.
|
java.lang.String |
getFeatureName()
Gives a descriptive name of the feature, i.e. a name to show up in benchmarks, menus, UIs, etc.
|
double[] |
getFeatureVector()
Convenience method to get the feature vector as double[] array.
|
java.lang.String |
getFieldName()
Returns the preferred field name for indexing.
|
void |
setByteArrayRepresentation(byte[] in)
Reads descriptor from a byte array.
|
void |
setByteArrayRepresentation(byte[] in,
int offset,
int length)
Sets the feature vector values based on the byte[] data.
|
calculateDistance, extract, extractFeature, getBinCounts, getDistance, getThreshold, makeGreyLevel, setBinCounts, setEdgeHistogram, setThresholdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDistancepublic byte[] getByteArrayRepresentation()
getByteArrayRepresentation 在接口中 LireFeatureLireFeature.setByteArrayRepresentation(byte[])public void setByteArrayRepresentation(byte[] in)
setByteArrayRepresentation 在接口中 LireFeaturein - byte array from corresponding methodCEDD.getByteArrayRepresentation()public void setByteArrayRepresentation(byte[] in,
int offset,
int length)
LireFeatureLireFeature.getByteArrayRepresentation()
to generate a compatible byte[] array.setByteArrayRepresentation 在接口中 LireFeaturein - the byte[] array containing the data.offset - the offset, i.e. where the feature vector starts.length - the length of the data representing the feature vector.LireFeature.getByteArrayRepresentation()public double[] getFeatureVector()
FeatureVectorgetFeatureVector 在接口中 FeatureVectorpublic java.lang.String getFeatureName()
LireFeaturegetFeatureName 在接口中 LireFeaturepublic java.lang.String getFieldName()
LireFeaturegetFieldName 在接口中 LireFeature