Skip to content

Commit f523bc2

Browse files
committed
Fix slides and README.md
1 parent 4ed0c3d commit f523bc2

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,20 @@
22
_An Invitation to 3D Vision_ is an introductory tutorial on _3D computer vision_ (a.k.a. _geometric vision_ or _visual geometry_ or _multiple-view geometry_). It aims to make beginners understand basic theories on 3D vision and implement its applications using [OpenCV](https://opencv.org/).
33
In addition to tutorial slides, example codes are provided in the purpose of education. They include simple but interesting and practical applications. The example codes are written as short as possible (mostly __less than 100 lines__) to be clear and easy to understand.
44

5-
* Download [example codes and slides as a ZIP file](https://github.com/mint-lab/3dv_tutorial/archive/master.zip)
6-
* Read [how to run example codes in Python](https://github.com/mint-lab/3dv_tutorial/blob/master/HOWTO_RUN_PYTHON.md)
7-
* Read [how to run example codes in C++](https://github.com/mint-lab/3dv_tutorial/blob/master/HOWTO_RUN_CPP.md)
5+
* To clone this repository (codes and slides): `git clone https://github.com/mint-lab/3dv_tutorial.git`
6+
* To fork this repository to your Github: [Click here](https://github.com/mint-lab/3dv_tutorial/fork)
7+
* To download codes and slides as a ZIP file: [Click here](https://github.com/mint-lab/3dv_tutorial/archive/master.zip)
8+
* :memo: [How to run example codes in Python](https://github.com/mint-lab/3dv_tutorial/blob/master/HOWTO_RUN_PYTHON.md)
9+
* :memo: [How to run example codes in C++](https://github.com/mint-lab/3dv_tutorial/blob/master/HOWTO_RUN_CPP.md)
10+
11+
812

913
### What does its name come from?
1014
* The main title, _An Invitation to 3D Vision_, came from [a legendary book by Yi Ma, Stefano Soatto, Jana Kosecka, and Shankar S. Sastry](http://vision.ucla.edu/MASKS/). We wish that our tutorial will be the first gentle invitation card for beginners to 3D vision and its applications.
1115
* The subtitle, _for everyone_, was inspired from [Prof. Kim's online lecture](https://hunkim.github.io/ml/) (in Korean). Our tutorial is also intended not only for students and researchers in academia, but also for hobbyists and developers in industries. We tried to describe important and typical problems and their solutions in [OpenCV](https://opencv.org/). We hope readers understand it easily without serious mathematical background.
1216

17+
18+
1319
### Lecture Slides
1420
* [Section 1. Introduction](https://github.com/mint-lab/3dv_tutorial/blob/master/slides/01_introduction.pdf)
1521
* [Section 2. Single-view Geometry](https://github.com/mint-lab/3dv_tutorial/blob/master/slides/02_single-view_geometry.pdf)
@@ -20,6 +26,8 @@ In addition to tutorial slides, example codes are provided in the purpose of edu
2026
* Special Topic) [Bayesian Filtering](https://github.com/mint-lab/filtering_tutorial)
2127
* Section 7. Visual SLAM and Odometry
2228

29+
30+
2331
### Example Codes
2432
* **Section 1. Introduction** [[slides]](https://github.com/mint-lab/3dv_tutorial/blob/master/slides/01_introduction.pdf)
2533
* **Section 2. Single-view Geometry** [[slides]](https://github.com/mint-lab/3dv_tutorial/blob/master/slides/02_single-view_geometry.pdf)

examples/camera_calibration_implement.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ def fcxcy_to_K(f, cx, cy):
88
def reproject_error_calib(unknown, Xs, xs):
99
K = fcxcy_to_K(*unknown[0:3])
1010
err = []
11-
for i in range(len(xs)):
12-
offset = 3 + 6 * i
11+
for j in range(len(xs)):
12+
offset = 3 + 6 * j
1313
rvec, tvec = unknown[offset:offset+3], unknown[offset+3:offset+6]
14-
xp = project_no_distort(Xs[i], rvec, tvec, K)
15-
err.append(xs[i] - xp)
14+
xp = project_no_distort(Xs[j], rvec, tvec, K)
15+
err.append(xs[j] - xp)
1616
return np.vstack(err).ravel()
1717

1818
def calibrateCamera(obj_pts, img_pts, img_size):

slides/01_introduction.pdf

-1.66 KB
Binary file not shown.

slides/03_two-view_geometry.pdf

-212 Bytes
Binary file not shown.

slides/04_solving_problems.pdf

-693 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)