Skip to content

Commit fb4b9b6

Browse files
committed
Rename mono_visual_odometry
1 parent 91816c9 commit fb4b9b6

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

msvs/3dv_tutorial.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VisualStudioVersion = 12.0.40629.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "video_stabilization", "video_stabilization\video_stabilization.vcxproj", "{5CCD570B-06A1-48B8-A7EF-756587CA45C0}"
77
EndProject
8-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mono_visual_odometry", "mono_visual_odometry\mono_visual_odometry.vcxproj", "{5549C427-BA0F-48AF-B3A0-029A8B57E71F}"
8+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "visual_odometry_epipolar", "visual_odometry_epipolar\visual_odometry_epipolar.vcxproj", "{5549C427-BA0F-48AF-B3A0-029A8B57E71F}"
99
EndProject
1010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "image_generation", "image_generation\image_generation.vcxproj", "{27C07F93-22C6-4ACD-A55B-B449F2212937}"
1111
EndProject

msvs/mono_visual_odometry/mono_visual_odometry.vcxproj renamed to msvs/visual_odometry_epipolar/visual_odometry_epipolar.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
</Link>
8585
</ItemDefinitionGroup>
8686
<ItemGroup>
87-
<ClCompile Include="..\..\src\mono_visual_odometry.cpp" />
87+
<ClCompile Include="..\..\src\visual_odometry_epipolar.cpp" />
8888
</ItemGroup>
8989
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
9090
<ImportGroup Label="ExtensionTargets">

msvs/mono_visual_odometry/mono_visual_odometry.vcxproj.user renamed to msvs/visual_odometry_epipolar/visual_odometry_epipolar.vcxproj.user

File renamed without changes.

src/bundle_adjustment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ int main(void)
88
int n_views = 5;
99

1010
// Load multiple views of 'box.xyz'
11-
// c.f. You need to run 'image_generation.cpp' to generate point observation.
11+
// c.f. You need to run 'image_generation%02d.cpp' to generate point observation.
1212
// You can apply Gaussian noise by change value of 'camera_noise' if necessay.
1313
std::vector<std::vector<cv::Point2d> > xs;
1414
for (int i = 0; i < n_views; i++)

src/triangulation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ int main(void)
66
cv::Point2d camera_center(320, 240);
77

88
// Load two views of 'box.xyz'
9-
// c.f. You need to run 'image_generation.cpp' to generate point observation.
9+
// c.f. You need to run 'image_generation%02d.cpp' to generate point observation.
1010
// You can apply Gaussian noise by change value of 'camera_noise' if necessay.
1111
std::vector<cv::Point2d> points0, points1;
1212
FILE* fin0 = fopen("image_generation0.xyz", "rt");
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ int main(void)
77
cv::Point2d camera_center(607.1928, 185.2157);
88

99
// Open a file to write camera trajectory
10-
FILE* camera_traj = fopen("mono_visual_odometry.xyz", "wt");
10+
FILE* camera_traj = fopen("visual_odometry_epipolar.xyz", "wt");
1111
if (camera_traj == NULL) return -1;
1212

1313
// Open an video and get the initial image
@@ -70,7 +70,7 @@ int main(void)
7070
if (inlier_mask.at<uchar>(i) > 0) cv::line(image, point_prev[i], point[i], cv::Scalar(0, 0, 255));
7171
else cv::line(image, point_prev[i], point[i], cv::Scalar(0, 255, 0));
7272
}
73-
cv::imshow("3DV Tutorial: Monocular Visual Odometry", image);
73+
cv::imshow("3DV Tutorial: Visual Odometry (Epipolar)", image);
7474
fprintf(camera_traj, "%.6f %.6f %.6f\n", camera_pose.at<double>(0, 3), camera_pose.at<double>(1, 3), camera_pose.at<double>(2, 3));
7575
if (cv::waitKey(1) == 27) break; // 'ESC' key: Exit
7676
}

0 commit comments

Comments
 (0)