diff --git a/src/classify/adaptmatch.cpp b/src/classify/adaptmatch.cpp index ba7a922f..42132b99 100644 --- a/src/classify/adaptmatch.cpp +++ b/src/classify/adaptmatch.cpp @@ -1754,7 +1754,6 @@ int Classify::MakeNewTemporaryConfig(ADAPT_TEMPLATES Templates, int NumOldProtos; int NumBadFeatures; int MaxProtoId, OldMaxProtoId; - int BlobLength = 0; int MaskSize; int ConfigId; TEMP_CONFIG Config; @@ -1778,7 +1777,7 @@ int Classify::MakeNewTemporaryConfig(ADAPT_TEMPLATES Templates, OldMaxProtoId = IClass->NumProtos - 1; NumOldProtos = im_.FindGoodProtos(IClass, AllProtosOn, AllConfigsOff, - BlobLength, NumFeatures, Features, + NumFeatures, Features, OldProtos, classify_adapt_proto_threshold, debug_level); @@ -1788,7 +1787,7 @@ int Classify::MakeNewTemporaryConfig(ADAPT_TEMPLATES Templates, SET_BIT(TempProtoMask, OldProtos[i]); NumBadFeatures = im_.FindBadFeatures(IClass, TempProtoMask, AllConfigsOn, - BlobLength, NumFeatures, Features, + NumFeatures, Features, BadFeatures, classify_adapt_feature_threshold, debug_level); diff --git a/src/classify/intmatcher.cpp b/src/classify/intmatcher.cpp index 5db7120c..07903cb6 100644 --- a/src/classify/intmatcher.cpp +++ b/src/classify/intmatcher.cpp @@ -458,7 +458,6 @@ int Classify::PruneClasses(const INT_TEMPLATES_STRUCT* int_templates, * Globals: * - local_matcher_multiplier_ Normalization factor multiplier * param ClassTemplate Prototypes & tables for a class - * param BlobLength Length of unormalized blob * param NumFeatures Number of features in blob * param Features Array of features * param NormalizationFactor Fudge factor from blob normalization process @@ -537,7 +536,6 @@ void IntegerMatcher::Match(INT_CLASS ClassTemplate, * param ClassTemplate Prototypes & tables for a class * param ProtoMask AND Mask for proto word * param ConfigMask AND Mask for config word - * param BlobLength Length of unormalized blob * param NumFeatures Number of features in blob * param Features Array of features * param ProtoArray Array of good protos @@ -549,7 +547,6 @@ int IntegerMatcher::FindGoodProtos( INT_CLASS ClassTemplate, BIT_VECTOR ProtoMask, BIT_VECTOR ConfigMask, - uint16_t BlobLength, int16_t NumFeatures, INT_FEATURE_ARRAY Features, PROTO_ID *ProtoArray, @@ -606,7 +603,6 @@ int IntegerMatcher::FindGoodProtos( * @param ClassTemplate Prototypes & tables for a class * @param ProtoMask AND Mask for proto word * @param ConfigMask AND Mask for config word - * @param BlobLength Length of unormalized blob * @param NumFeatures Number of features in blob * @param Features Array of features * @param FeatureArray Array of bad features @@ -618,7 +614,6 @@ int IntegerMatcher::FindBadFeatures( INT_CLASS ClassTemplate, BIT_VECTOR ProtoMask, BIT_VECTOR ConfigMask, - uint16_t BlobLength, int16_t NumFeatures, INT_FEATURE_ARRAY Features, FEATURE_ID *FeatureArray, diff --git a/src/classify/intmatcher.h b/src/classify/intmatcher.h index 47c9248d..25c52697 100644 --- a/src/classify/intmatcher.h +++ b/src/classify/intmatcher.h @@ -113,7 +113,6 @@ class IntegerMatcher { int FindGoodProtos(INT_CLASS ClassTemplate, BIT_VECTOR ProtoMask, BIT_VECTOR ConfigMask, - uint16_t BlobLength, int16_t NumFeatures, INT_FEATURE_ARRAY Features, PROTO_ID *ProtoArray, @@ -123,7 +122,6 @@ class IntegerMatcher { int FindBadFeatures(INT_CLASS ClassTemplate, BIT_VECTOR ProtoMask, BIT_VECTOR ConfigMask, - uint16_t BlobLength, int16_t NumFeatures, INT_FEATURE_ARRAY Features, FEATURE_ID *FeatureArray,