aboutsummaryrefslogtreecommitdiff
path: root/fly-tools/FlyTrackingMain.cpp
diff options
context:
space:
mode:
authormutantturkey <mutantturke@gmail.com>2012-09-24 17:17:48 -0400
committermutantturkey <mutantturke@gmail.com>2012-09-24 17:17:48 -0400
commit02f1528ce4e443e5ce78eb8020e78e5ade976882 (patch)
tree577e1726d7d0161b6e4f7a64c929dbdeb9fbfeab /fly-tools/FlyTrackingMain.cpp
parent4b3f87cc931202d1948eef870bfb12d0349fa6f4 (diff)
removed unused barrier variable and it's commented calls, removed unused commented methods from FlyObject
Diffstat (limited to 'fly-tools/FlyTrackingMain.cpp')
-rw-r--r--fly-tools/FlyTrackingMain.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/fly-tools/FlyTrackingMain.cpp b/fly-tools/FlyTrackingMain.cpp
index 7f7e77e..ce8980b 100644
--- a/fly-tools/FlyTrackingMain.cpp
+++ b/fly-tools/FlyTrackingMain.cpp
@@ -62,6 +62,7 @@ vector<string> fnVector;
string inputFileName;
bool writeFinalImages = false;
+
// GLOBAL PATHS
string maskImagePath;
string origImagePath;
@@ -90,7 +91,6 @@ map<unsigned int, unsigned int> centroidDistanceMap;
map<unsigned int, unsigned int> headDirAngleMap;
map<unsigned int, unsigned int> speedMap;
-int barrier = 1000;
void initSequence(){
startOfATrackSequence = -1;
@@ -2815,10 +2815,6 @@ void fourConnObj(Image* img, int x, int y, vector<pair<int, int> > & obj, bool c
p.second = y;
obj.push_back(p);
- // if (obj.size() > barrier) {
- // //*output<<obj.size()<<endl;
- // barrier = barrier + 1000;
- // }
// setting the residual image at pixel(x,y) to white.
residual->pixelColor(x,y, ColorMono(true));
@@ -2860,10 +2856,6 @@ void eightConnObj(Image* img, int x, int y, vector<pair<int, int> > & obj, bool
p.second = y;
obj.push_back(p);
- // if (obj.size() > barrier) {
- // //*output<<obj.size()<<endl;
- // barrier = barrier + 1000;
- // }
// setting the residual image at pixel(x,y) to white.
residual->pixelColor(x,y, ColorMono(true));