[chronojump] kneeAngle Fix threshold ROI updating
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] kneeAngle Fix threshold ROI updating
- Date: Wed, 24 Mar 2010 09:17:59 +0000 (UTC)
commit 522c7d743a9ab699de3aaffca2f19f2f5d637f81
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Mar 24 17:09:50 2010 +0800
kneeAngle Fix threshold ROI updating
src/angle/kneeAngle.cpp | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/angle/kneeAngle.cpp b/src/angle/kneeAngle.cpp
index 4ddbdc8..8e0fcab 100644
--- a/src/angle/kneeAngle.cpp
+++ b/src/angle/kneeAngle.cpp
@@ -1494,16 +1494,7 @@ int main(int argc,char **argv)
cvResetImageROI(gray);
cvResetImageROI(output);
-// sprintf(label, "frame: %d", framesCount);
-// imagePrint(output, cvPoint(10, frame->height-40), label, font, BLACK);
-
- cvRectangle(output, cvPoint(200, frame->height-30), cvPoint(frame->width, frame->height), WHITE,CV_FILLED,8,0);
- //sprintf(label, "T_ROI H,K,T: %d,%d,%d", thresholdROIH, thresholdROIK, thresholdROIT);
- //imagePrint(output, cvPoint(200, frame->height-20), label, font, BLACK);
- //cvShowImage("threshold", output);
-
if(programMode == skinOnlyMarkers) {
- cvThreshold(gray, output, threshold, thresholdMax,CV_THRESH_BINARY_INV);
sprintf(label,"Pause");
cvPutText(output, label,cvPoint(10, 25),&font,cvScalar(128,128,128));
sprintf(label, "frame: %d", framesCount);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]