[chronojump] kneeAngle Fixed recent bug on ROI knee & toe
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] kneeAngle Fixed recent bug on ROI knee & toe
- Date: Wed, 24 Mar 2010 15:49:06 +0000 (UTC)
commit b67bb3ca04ec4e372fa50a8741d912ec3b542616
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Mar 24 23:48:25 2010 +0800
kneeAngle Fixed recent bug on ROI knee & toe
src/angle/kneeAngle.cpp | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/angle/kneeAngle.cpp b/src/angle/kneeAngle.cpp
index 5ae2605..26fd22e 100644
--- a/src/angle/kneeAngle.cpp
+++ b/src/angle/kneeAngle.cpp
@@ -503,10 +503,10 @@ int main(int argc,char **argv)
output = changeROIThreshold(gray, output, hipMarked, thresholdROIH, thresholdMax);
}
if(thresholdROIK != -1) {
- output = changeROIThreshold(gray, output, hipMarked, thresholdROIK, thresholdMax);
+ output = changeROIThreshold(gray, output, kneeMarked, thresholdROIK, thresholdMax);
}
if(thresholdROIT != -1) {
- output = changeROIThreshold(gray, output, hipMarked, thresholdROIT, thresholdMax);
+ output = changeROIThreshold(gray, output, toeMarked, thresholdROIT, thresholdMax);
}
cvShowImage("threshold", output);
@@ -1402,7 +1402,6 @@ int main(int argc,char **argv)
if(thresholdROIH < 0)
thresholdROIH = 0;
}
- //thresholdROIChanged = TOGGLEHIP;
thresholdROIHChanged = true;
}
}
@@ -1422,7 +1421,6 @@ int main(int argc,char **argv)
if(thresholdROIK < 0)
thresholdROIK = 0;
}
- //thresholdROIChanged = TOGGLEKNEE;
thresholdROIKChanged = true;
}
}
@@ -1442,7 +1440,6 @@ int main(int argc,char **argv)
if(thresholdROIT < 0)
thresholdROIT = 0;
}
- //thresholdROIChanged = TOGGLETOE;
thresholdROITChanged = true;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]