Commit 25bb2b8608eaaf15aad99a41f07dddfa5870840c

Authored by Scott Klum
1 parent e6f80e5e

Minor cleanup

openbr/openbr_plugin.h
@@ -1408,7 +1408,7 @@ public: @@ -1408,7 +1408,7 @@ public:
1408 virtual cv::Mat evaluate(const cv::Mat &image, const QList<int> &indices = QList<int>()) const = 0; 1408 virtual cv::Mat evaluate(const cv::Mat &image, const QList<int> &indices = QList<int>()) const = 0;
1409 1409
1410 virtual cv::Size windowSize(int *dx = NULL, int *dy = NULL) const = 0; // dx and dy should indicate the change to the original window size after preprocessing 1410 virtual cv::Size windowSize(int *dx = NULL, int *dy = NULL) const = 0; // dx and dy should indicate the change to the original window size after preprocessing
1411 - virtual int numChannels() const { return 1; }; 1411 + virtual int numChannels() const { return 1; }
1412 virtual int numFeatures() const = 0; 1412 virtual int numFeatures() const = 0;
1413 virtual int maxCatCount() const = 0; 1413 virtual int maxCatCount() const = 0;
1414 }; 1414 };
openbr/plugins/classification/boostedforest.cpp
@@ -88,7 +88,7 @@ class BoostedForestClassifier : public Classifier @@ -88,7 +88,7 @@ class BoostedForestClassifier : public Classifier
88 Q_OBJECT 88 Q_OBJECT
89 Q_ENUMS(Type) 89 Q_ENUMS(Type)
90 90
91 - Q_PROPERTY(br::Representation *representation READ get_representation WRITE set_representation RESET reset_representation STORED false) 91 + Q_PROPERTY(br::Representation* representation READ get_representation WRITE set_representation RESET reset_representation STORED false)
92 Q_PROPERTY(float minTAR READ get_minTAR WRITE set_minTAR RESET reset_minTAR STORED false) 92 Q_PROPERTY(float minTAR READ get_minTAR WRITE set_minTAR RESET reset_minTAR STORED false)
93 Q_PROPERTY(float maxFAR READ get_maxFAR WRITE set_maxFAR RESET reset_maxFAR STORED false) 93 Q_PROPERTY(float maxFAR READ get_maxFAR WRITE set_maxFAR RESET reset_maxFAR STORED false)
94 Q_PROPERTY(float trimRate READ get_trimRate WRITE set_trimRate RESET reset_trimRate STORED false) 94 Q_PROPERTY(float trimRate READ get_trimRate WRITE set_trimRate RESET reset_trimRate STORED false)
@@ -102,7 +102,7 @@ public: @@ -102,7 +102,7 @@ public:
102 Logit = CvBoost::LOGIT, 102 Logit = CvBoost::LOGIT,
103 Gentle = CvBoost::GENTLE}; 103 Gentle = CvBoost::GENTLE};
104 private: 104 private:
105 - BR_PROPERTY(br::Representation *, representation, NULL) 105 + BR_PROPERTY(br::Representation*, representation, NULL)
106 BR_PROPERTY(float, minTAR, 0.995) 106 BR_PROPERTY(float, minTAR, 0.995)
107 BR_PROPERTY(float, maxFAR, 0.5) 107 BR_PROPERTY(float, maxFAR, 0.5)
108 BR_PROPERTY(float, trimRate, 0.95) 108 BR_PROPERTY(float, trimRate, 0.95)
openbr/plugins/imgproc/slidingwindow.cpp
@@ -35,7 +35,7 @@ class SlidingWindowTransform : public MetaTransform @@ -35,7 +35,7 @@ class SlidingWindowTransform : public MetaTransform
35 { 35 {
36 Q_OBJECT 36 Q_OBJECT
37 37
38 - Q_PROPERTY(br::Classifier *classifier READ get_classifier WRITE set_classifier RESET reset_classifier STORED false) 38 + Q_PROPERTY(br::Classifier* classifier READ get_classifier WRITE set_classifier RESET reset_classifier STORED false)
39 39
40 Q_PROPERTY(int minSize READ get_minSize WRITE set_minSize RESET reset_minSize STORED false) 40 Q_PROPERTY(int minSize READ get_minSize WRITE set_minSize RESET reset_minSize STORED false)
41 Q_PROPERTY(int maxSize READ get_maxSize WRITE set_maxSize RESET reset_maxSize STORED false) 41 Q_PROPERTY(int maxSize READ get_maxSize WRITE set_maxSize RESET reset_maxSize STORED false)
@@ -44,7 +44,7 @@ class SlidingWindowTransform : public MetaTransform @@ -44,7 +44,7 @@ class SlidingWindowTransform : public MetaTransform
44 Q_PROPERTY(float confidenceThreshold READ get_confidenceThreshold WRITE set_confidenceThreshold RESET reset_confidenceThreshold STORED false) 44 Q_PROPERTY(float confidenceThreshold READ get_confidenceThreshold WRITE set_confidenceThreshold RESET reset_confidenceThreshold STORED false)
45 Q_PROPERTY(float eps READ get_eps WRITE set_eps RESET reset_eps STORED false) 45 Q_PROPERTY(float eps READ get_eps WRITE set_eps RESET reset_eps STORED false)
46 46
47 - BR_PROPERTY(br::Classifier *, classifier, NULL) 47 + BR_PROPERTY(br::Classifier*, classifier, NULL)
48 BR_PROPERTY(int, minSize, 20) 48 BR_PROPERTY(int, minSize, 20)
49 BR_PROPERTY(int, maxSize, -1) 49 BR_PROPERTY(int, maxSize, -1)
50 BR_PROPERTY(float, scaleFactor, 1.2) 50 BR_PROPERTY(float, scaleFactor, 1.2)