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

Method Clear

deps/tesseract/classify/intmatcher.cpp:709–714  ·  view source on GitHub ↗

---------------------------------------------------------------------------- Private Code ----------------------------------------------------------------------------*/

Source from the content-addressed store, hash-verified

707 Private Code
708----------------------------------------------------------------------------*/
709void ScratchEvidence::Clear(const INT_CLASS class_template) {
710 memset(sum_feature_evidence_, 0,
711 class_template->NumConfigs * sizeof(sum_feature_evidence_[0]));
712 memset(proto_evidence_, 0,
713 class_template->NumProtos * sizeof(proto_evidence_[0]));
714}
715
716void ScratchEvidence::ClearFeatureEvidence(const INT_CLASS class_template) {
717 memset(feature_evidence_, 0,

Callers 8

DisplaySamplesMethod · 0.45
RefreshDebugWindowMethod · 0.45
MatchMethod · 0.45
FindGoodProtosMethod · 0.45
FindBadFeaturesMethod · 0.45
ShowMatchDisplayMethod · 0.45
ClearFeatureSpaceWindowFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected