using Rect for storing the bounding box instead of an integer array

This commit is contained in:
lluis
2013-07-23 13:58:52 +02:00
parent ca6b30a568
commit 2087d4602b
2 changed files with 38 additions and 32 deletions

View File

@@ -76,7 +76,7 @@ public:
int area;
int perimeter;
int euler; //!< euler number
int bbox[4];
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