diff options
-rw-r--r-- | README.markdown | 2 | ||||
-rw-r--r-- | fly-tools/FlyTrackingMain.cpp | 2 | ||||
-rw-r--r-- | fly-tools/FrameInfo.cpp | 12 | ||||
-rw-r--r-- | fly-tools/README.markdown | 11 |
4 files changed, 4 insertions, 23 deletions
diff --git a/README.markdown b/README.markdown index 3ca78c9..d3d631e 100644 --- a/README.markdown +++ b/README.markdown @@ -32,3 +32,5 @@ The programs that will be built are located here: * ./fly-tools/FilterFlyMask * ./fly-tools/FlyTracking * ./fly-tools/mask-generator +* ./fly-tools/standard-deviation +* ./fly-tools/derive-background diff --git a/fly-tools/FlyTrackingMain.cpp b/fly-tools/FlyTrackingMain.cpp index aa6a2b6..4a33178 100644 --- a/fly-tools/FlyTrackingMain.cpp +++ b/fly-tools/FlyTrackingMain.cpp @@ -970,7 +970,7 @@ int draw_line_bm(Image* maskImage, int x0, int y0, int x1, int y1) { x = x + 1; } - cout << "putpixel "<<x<<","<<y<<endl; + // cout << "putpixel "<<x<<","<<y<<endl; putPixel(maskImage,x, y, 8); if (isInFemaleBlob == true) return 1; diff --git a/fly-tools/FrameInfo.cpp b/fly-tools/FrameInfo.cpp index d00e4cd..4328611 100644 --- a/fly-tools/FrameInfo.cpp +++ b/fly-tools/FrameInfo.cpp @@ -39,18 +39,6 @@ void FrameInfo::setIsSingleBlob(bool isSingleBlob) { } void FrameInfo::setFOVector(vector<FlyObject > fov) { this->fOVector = fov; - -// cout << "setting fov \n"; -// FlyObject a = fOVector[0]; -// pair<double,double> av = a.getVelocityV(); -// cout << "velocity "<<av.first<<","<<av.second<<endl; -// -// FlyObject b = fOVector[1]; -// pair<double,double> bv = b.getVelocityV(); -// cout << "velocity "<<bv.first<<","<<bv.second<<endl; - - - } void FrameInfo ::swapTheFlyObject() { if (fOVector.size() > 1) { diff --git a/fly-tools/README.markdown b/fly-tools/README.markdown index abd37ea..d3c7a0c 100644 --- a/fly-tools/README.markdown +++ b/fly-tools/README.markdown @@ -4,7 +4,7 @@ fly-tools FlyTracking ------------ -The FlyTracking application does the bulk of the work. +The FlyTracking application does the bulk of the work. Usage: @@ -37,15 +37,6 @@ derive-background This tool will generate a common background image of a set of video frames (PNGs), based on the statistical mode of each pixel. -Warning: - - This will eat a huge chunk of memory. with 2,500 images at 173x174 pixels, it took almost 3Gb of ram. - Usage: derive-background -i <input-list> -s <sample-file> -o <output-filename> - -Todo: - -* reduce memory - zlib? less pointers? - |