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 | |
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')
-rw-r--r-- | FTNoIR_Tracker_PT/FTNoIR_PT_Controls.ui | 13 | ||||
-rw-r--r-- | FTNoIR_Tracker_PT/FTNoIR_Tracker_PT_vc9.vcproj | 14 | ||||
-rw-r--r-- | FTNoIR_Tracker_PT/point_extractor.cpp | 8 |
3 files changed, 21 insertions, 14 deletions
diff --git a/FTNoIR_Tracker_PT/FTNoIR_PT_Controls.ui b/FTNoIR_Tracker_PT/FTNoIR_PT_Controls.ui index 38909013..77e412af 100644 --- a/FTNoIR_Tracker_PT/FTNoIR_PT_Controls.ui +++ b/FTNoIR_Tracker_PT/FTNoIR_PT_Controls.ui @@ -51,7 +51,7 @@ </size>
</property>
<property name="currentIndex">
- <number>0</number>
+ <number>2</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
@@ -730,18 +730,21 @@ <rect>
<x>30</x>
<y>30</y>
- <width>131</width>
- <height>81</height>
+ <width>161</width>
+ <height>111</height>
</rect>
</property>
<property name="text">
- <string><html><head/><body><p><span style=" font-weight:600;">PointTracker Plugin </span></p><p><span style=" font-weight:600;">Version 0.1</span></p><p><span style=" font-weight:600;">by Patrick Ruoff</span></p></body></html></string>
+ <string><html><head/><body><p><span style=" font-weight:600;">FTNoIR PointTracker Plugin<br/>Version 0.1</span></p><p><span style=" font-weight:600;">by Patrick Ruoff</span></p><p><a href="http://ftnoirpt.sourceforge.net/"><span style=" font-weight:600; text-decoration: underline; color:#0000ff;">Manual (external)</span></a></p></body></html></string>
+ </property>
+ <property name="openExternalLinks">
+ <bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="label_35">
<property name="geometry">
<rect>
- <x>170</x>
+ <x>200</x>
<y>30</y>
<width>141</width>
<height>141</height>
diff --git a/FTNoIR_Tracker_PT/FTNoIR_Tracker_PT_vc9.vcproj b/FTNoIR_Tracker_PT/FTNoIR_Tracker_PT_vc9.vcproj index b938173d..51d2a38a 100644 --- a/FTNoIR_Tracker_PT/FTNoIR_Tracker_PT_vc9.vcproj +++ b/FTNoIR_Tracker_PT/FTNoIR_Tracker_PT_vc9.vcproj @@ -38,6 +38,9 @@ />
<Tool
Name="VCCLCompilerTool"
+ Optimization="2"
+ FavorSizeOrSpeed="1"
+ WholeProgramOptimization="true"
AdditionalIncludeDirectories="".";".\GeneratedFiles";".\GeneratedFiles\$(ConfigurationName)";"$(QTDIR)\include";"$(QTDIR)\include\QtCore";"$(QTDIR)\include\QtGui";"$(OPENCV_DIR)\include";"$(BOOST_DIR)";"$(QTDIR)\include\QtOpenGL""
PreprocessorDefinitions="UNICODE;WIN32;QT_LARGEFILE_SUPPORT;QT_DLL;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;FTNOIR_TRACKER_BASE_LIB;QT_OPENGL_LIB"
RuntimeLibrary="2"
@@ -55,11 +58,12 @@ />
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="qtmain.lib QtCore4.lib QtGui4.lib QtOpenGL4.lib opengl32.lib glu32.lib opencv_core242.lib opencv_highgui242.lib opencv_imgproc242.lib"
+ AdditionalDependencies="qtmain.lib QtCore4.lib QtGui4.lib QtOpenGL4.lib opengl32.lib glu32.lib opencv_core242.lib opencv_highgui242.lib opencv_imgproc242.lib libjasper.lib libjpeg.lib libpng.lib libtiff.lib vfw32.lib"
OutputFile="$(OutDir)\$(ProjectName).dll"
- AdditionalLibraryDirectories=""$(QTDIR)\lib";"$(OPENCV_DIR)\x86\vc9\lib""
+ AdditionalLibraryDirectories=""$(QTDIR)\lib";"$(OPENCV_DIR)\x86\vc9\static_lib""
GenerateDebugInformation="false"
SubSystem="2"
+ LinkTimeCodeGeneration="1"
/>
<Tool
Name="VCALinkTool"
@@ -85,7 +89,7 @@ </Configuration>
<Configuration
Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)/bin_dbg"
+ OutputDirectory="$(SolutionDir)\bin"
IntermediateDirectory="$(SolutionDir)\$(ConfigurationName)"
ConfigurationType="2"
>
@@ -124,8 +128,8 @@ />
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="qtmaind.lib QtCored4.lib QtGuid4.lib QtOpenGLd4.lib opengl32.lib glu32.lib opencv_core242d.lib opencv_highgui242d.lib opencv_imgproc242d.lib opencv_calib3d242d.lib"
- OutputFile="$(OutDir)\$(ProjectName).dll"
+ AdditionalDependencies="qtmain.lib QtCore4.lib QtGui4.lib QtOpenGL4.lib opengl32.lib glu32.lib opencv_core242d.lib opencv_highgui242d.lib opencv_imgproc242d.lib opencv_calib3d242d.lib"
+ OutputFile="$(OutDir)\$(ProjectName)d.dll"
AdditionalLibraryDirectories=""$(QTDIR)\lib";"$(OPENCV_DIR)\x86\vc9\lib""
GenerateDebugInformation="true"
SubSystem="2"
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)
|