Commit 089aef651253b400dda75ad7d539fb315b3411dc

Authored by Scott Klum
1 parent 7d0ecc36

Not a convenience function

openbr/plugins/representation/random.cpp
@@ -39,9 +39,7 @@ class RandomRepresentation : public Representation @@ -39,9 +39,7 @@ class RandomRepresentation : public Representation
39 39
40 float evaluate(const Mat &image, int idx) const 40 float evaluate(const Mat &image, int idx) const
41 { 41 {
42 - Q_UNUSED(image)  
43 - Q_UNUSED(idx)  
44 - return 0; 42 + return representation->evaluate(image,features[idx]);
45 } 43 }
46 44
47 Mat evaluate(const Mat &image, const QList<int> &indices) const 45 Mat evaluate(const Mat &image, const QList<int> &indices) const