removed some unnecessary ERStat members as they are easily computable from others

This commit is contained in:
lluis
2013-07-23 15:04:01 +02:00
parent 43e7e6e475
commit c4f88b0687
2 changed files with 13 additions and 15 deletions

View File

@@ -79,13 +79,8 @@ public:
Rect rect;
double raw_moments[2]; //!< order 1 raw moments to derive the centroid
double central_moments[3]; //!< order 2 central moments to construct the covariance matrix
std::deque<int> *crossings;//!< horizontal crossings
//! 1st stage features
float aspect_ratio;
float compactness;
float num_holes;
float med_crossings;
std::deque<int> *crossings;//!< horizontal crossings
float med_crossings; //!< median of the crossings at three different height levels
//! 2nd stage features
float hole_area_ratio;