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

Method InverseMapFeature

deps/tesseract/classify/intfeaturemap.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 return feature_space_.PositionFromIndex(index_feature);
58}
59INT_FEATURE_STRUCT IntFeatureMap::InverseMapFeature(int map_feature) const {
60 int index = feature_map_.CompactToSparse(map_feature);
61 return feature_space_.PositionFromIndex(index);
62}
63void IntFeatureMap::DeleteMapFeature(int map_feature) {
64 feature_map_.Merge(-1, map_feature);
65 mapping_changed_ = true;

Callers 1

DebugFeatureDistanceMethod · 0.80

Calls 2

CompactToSparseMethod · 0.80
PositionFromIndexMethod · 0.80

Tested by

no test coverage detected