[chronojump] kneeAngle: black mode when !UseContour now uses outputTemp: data is ok all the time



commit 13c23fb9cff8a66870892c0cdb1b66e202f1d2ed
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon May 3 19:03:52 2010 +0800

    kneeAngle: black mode when !UseContour now uses outputTemp: data is ok all the time

 src/angle/kneeAngle.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/angle/kneeAngle.cpp b/src/angle/kneeAngle.cpp
index 66c5f43..835dc11 100644
--- a/src/angle/kneeAngle.cpp
+++ b/src/angle/kneeAngle.cpp
@@ -1456,8 +1456,8 @@ int main(int argc,char **argv)
 				rectVector.push_back(maxrect.height);
 
 				//knee visible points on black pants
-				CvPoint kneePointFront = findKneePointFront(output, maxrect, validationRectHMax);
-				CvPoint kneePointBack = findKneePointBack(output, maxrect, kneePointFront.x, validationRectHMax); 
+				CvPoint kneePointFront = findKneePointFront(outputTemp, maxrect, validationRectHMax);
+				CvPoint kneePointBack = findKneePointBack(outputTemp, maxrect, kneePointFront.x, validationRectHMax); 
 				crossPoint(frame_copy, kneePointFront, GREY, MID);
 				crossPoint(frame_copy, kneePointBack, GREY, MID);
 				kneePointFrontXVector.push_back(kneePointFront.x);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]