diff options
author | Patrick Ruoff <c14-radioactive@19e81ba0-9b1a-49c3-bd6c-561e1906d5fb> | 2012-09-23 16:16:17 +0000 |
---|---|---|
committer | Patrick Ruoff <c14-radioactive@19e81ba0-9b1a-49c3-bd6c-561e1906d5fb> | 2012-09-23 16:16:17 +0000 |
commit | f9ba1d99cbc8018e8ecdb5ef5aad84dcb8719b57 (patch) | |
tree | 881628efef0546ce148fadde83d3ee13ff8d8cc0 /FTNoIR_Tracker_PT/point_extractor.cpp | |
parent | b61c4a2af5218ced1f75af7183d1acc11fbd7944 (diff) |
PT: added reference to help
updated vc9 project files
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@161 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Tracker_PT/point_extractor.cpp')
-rw-r--r-- | FTNoIR_Tracker_PT/point_extractor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/FTNoIR_Tracker_PT/point_extractor.cpp b/FTNoIR_Tracker_PT/point_extractor.cpp index b26f7068..cdb9d3f1 100644 --- a/FTNoIR_Tracker_PT/point_extractor.cpp +++ b/FTNoIR_Tracker_PT/point_extractor.cpp @@ -40,7 +40,7 @@ const vector<Vec2f>& PointExtractor::extract_points(Mat frame, float dt, bool dr // find connected components...
// Method 1: contours
- //*
+ /*
// find contours
vector< vector<Point> > contours;
findContours(frame_bw.clone(), contours, CV_RETR_EXTERNAL, CV_CHAIN_APPROX_SIMPLE);
@@ -64,10 +64,10 @@ const vector<Vec2f>& PointExtractor::extract_points(Mat frame, float dt, bool dr c[1] = -(m.m01/m.m00 - frame.rows/2)/frame.cols;
points.push_back(c);
}
- //*/
+ */
// Method 2: floodfill
- /*
+ //*
// extract blobs
struct BlobInfo
{
@@ -115,7 +115,7 @@ const vector<Vec2f>& PointExtractor::extract_points(Mat frame, float dt, bool dr c[1] = -(m.m01/float(m.m00) - frame.rows/2)/frame.cols;
points.push_back(c);
}
- */
+ //*/
// draw output image
if (draw_output)
|