MCPcopy Create free account
hub / github.com/creatale/node-dv / MapFeature

Method MapFeature

deps/tesseract/classify/intfeaturemap.cpp:50–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 return feature_space_.Index(f);
49}
50int IntFeatureMap::MapFeature(const INT_FEATURE_STRUCT& f) const {
51 return feature_map_.SparseToCompact(feature_space_.Index(f));
52}
53int IntFeatureMap::MapIndexFeature(int index_feature) const {
54 return feature_map_.SparseToCompact(index_feature);
55}

Callers

nothing calls this directly

Calls 1

SparseToCompactMethod · 0.45

Tested by

no test coverage detected