├── .camera.cpp.swp
├── .gitignore
├── CMakeCache.txt
├── CMakeFiles
├── 2.8.12.2
│ ├── CMakeCCompiler.cmake
│ ├── CMakeCXXCompiler.cmake
│ ├── CMakeDetermineCompilerABI_C.bin
│ ├── CMakeDetermineCompilerABI_CXX.bin
│ ├── CMakeSystem.cmake
│ ├── CompilerIdC
│ │ ├── CMakeCCompilerId.c
│ │ └── a.out
│ └── CompilerIdCXX
│ │ ├── CMakeCXXCompilerId.cpp
│ │ └── a.out
├── CMakeDirectoryInformation.cmake
├── CMakeOutput.log
├── Makefile.cmake
├── Makefile2
├── TargetDirectories.txt
├── camera.dir
│ ├── CXX.includecache
│ ├── DependInfo.cmake
│ ├── build.make
│ ├── camera.cpp.o
│ ├── cmake_clean.cmake
│ ├── depend.internal
│ ├── depend.make
│ ├── flags.make
│ ├── link.txt
│ └── progress.make
├── cmake.check_cache
└── progress.marks
├── CMakeLists.txt
├── Distortion.xml
├── H.xml
├── Intrinsics.xml
├── Makefile
├── README.md
├── Resource
└── bird-eye.jpg
├── camera
├── camera.cpp
├── cmake_install.cmake
└── pic
├── 31.tiff
├── 32.tiff
├── 33.tiff
├── 34.tiff
├── 35.tiff
├── avatar.jpg
├── bird-eye.jpg
├── get1.tiff
├── get2.tiff
├── get3.tiff
├── get4.tiff
├── get5.tiff
├── result1.tiff
├── result2.tiff
└── result3.tiff
/.camera.cpp.swp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/.camera.cpp.swp
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 |
--------------------------------------------------------------------------------
/CMakeCache.txt:
--------------------------------------------------------------------------------
1 | # This is the CMakeCache file.
2 | # For build in directory: /home/aprilwang/Documents/HW4/book
3 | # It was generated by CMake: /usr/bin/cmake
4 | # You can edit this file to change values found and used by cmake.
5 | # If you do not want to change any of the values, simply exit the editor.
6 | # If you do want to change a value, simply edit, save, and exit the editor.
7 | # The syntax for the file is as follows:
8 | # KEY:TYPE=VALUE
9 | # KEY is the name of a variable in the cache.
10 | # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
11 | # VALUE is the current value for the KEY.
12 |
13 | ########################
14 | # EXTERNAL cache entries
15 | ########################
16 |
17 | //Path to a program.
18 | CMAKE_AR:FILEPATH=/usr/bin/ar
19 |
20 | //Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
21 | // CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
22 | CMAKE_BUILD_TYPE:STRING=
23 |
24 | //Enable/Disable color output during build.
25 | CMAKE_COLOR_MAKEFILE:BOOL=ON
26 |
27 | //CXX compiler.
28 | CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
29 |
30 | //Flags used by the compiler during all build types.
31 | CMAKE_CXX_FLAGS:STRING=
32 |
33 | //Flags used by the compiler during debug builds.
34 | CMAKE_CXX_FLAGS_DEBUG:STRING=-g
35 |
36 | //Flags used by the compiler during release minsize builds.
37 | CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
38 |
39 | //Flags used by the compiler during release builds (/MD /Ob1 /Oi
40 | // /Ot /Oy /Gs will produce slightly less optimized but smaller
41 | // files).
42 | CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
43 |
44 | //Flags used by the compiler during Release with Debug Info builds.
45 | CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
46 |
47 | //C compiler.
48 | CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
49 |
50 | //Flags used by the compiler during all build types.
51 | CMAKE_C_FLAGS:STRING=
52 |
53 | //Flags used by the compiler during debug builds.
54 | CMAKE_C_FLAGS_DEBUG:STRING=-g
55 |
56 | //Flags used by the compiler during release minsize builds.
57 | CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
58 |
59 | //Flags used by the compiler during release builds (/MD /Ob1 /Oi
60 | // /Ot /Oy /Gs will produce slightly less optimized but smaller
61 | // files).
62 | CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
63 |
64 | //Flags used by the compiler during Release with Debug Info builds.
65 | CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
66 |
67 | //Flags used by the linker.
68 | CMAKE_EXE_LINKER_FLAGS:STRING=' '
69 |
70 | //Flags used by the linker during debug builds.
71 | CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
72 |
73 | //Flags used by the linker during release minsize builds.
74 | CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
75 |
76 | //Flags used by the linker during release builds.
77 | CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
78 |
79 | //Flags used by the linker during Release with Debug Info builds.
80 | CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
81 |
82 | //Enable/Disable output of compile commands during generation.
83 | CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
84 |
85 | //Install path prefix, prepended onto install directories.
86 | CMAKE_INSTALL_PREFIX:PATH=/usr/local
87 |
88 | //Path to a program.
89 | CMAKE_LINKER:FILEPATH=/usr/bin/ld
90 |
91 | //Path to a program.
92 | CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
93 |
94 | //Flags used by the linker during the creation of modules.
95 | CMAKE_MODULE_LINKER_FLAGS:STRING=' '
96 |
97 | //Flags used by the linker during debug builds.
98 | CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
99 |
100 | //Flags used by the linker during release minsize builds.
101 | CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
102 |
103 | //Flags used by the linker during release builds.
104 | CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
105 |
106 | //Flags used by the linker during Release with Debug Info builds.
107 | CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
108 |
109 | //Path to a program.
110 | CMAKE_NM:FILEPATH=/usr/bin/nm
111 |
112 | //Path to a program.
113 | CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
114 |
115 | //Path to a program.
116 | CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
117 |
118 | //Value Computed by CMake
119 | CMAKE_PROJECT_NAME:STATIC=camera
120 |
121 | //Path to a program.
122 | CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
123 |
124 | //Flags used by the linker during the creation of dll's.
125 | CMAKE_SHARED_LINKER_FLAGS:STRING=' '
126 |
127 | //Flags used by the linker during debug builds.
128 | CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
129 |
130 | //Flags used by the linker during release minsize builds.
131 | CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
132 |
133 | //Flags used by the linker during release builds.
134 | CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
135 |
136 | //Flags used by the linker during Release with Debug Info builds.
137 | CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
138 |
139 | //If set, runtime paths are not added when installing shared libraries,
140 | // but are added when building.
141 | CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
142 |
143 | //If set, runtime paths are not added when using shared libraries.
144 | CMAKE_SKIP_RPATH:BOOL=NO
145 |
146 | //Flags used by the linker during the creation of static libraries.
147 | CMAKE_STATIC_LINKER_FLAGS:STRING=
148 |
149 | //Flags used by the linker during debug builds.
150 | CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
151 |
152 | //Flags used by the linker during release minsize builds.
153 | CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
154 |
155 | //Flags used by the linker during release builds.
156 | CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
157 |
158 | //Flags used by the linker during Release with Debug Info builds.
159 | CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
160 |
161 | //Path to a program.
162 | CMAKE_STRIP:FILEPATH=/usr/bin/strip
163 |
164 | //If true, cmake will use relative paths in makefiles and projects.
165 | CMAKE_USE_RELATIVE_PATHS:BOOL=OFF
166 |
167 | //If this value is on, makefiles will be generated without the
168 | // .SILENT directive, and all commands will be echoed to the console
169 | // during the make. This is useful for debugging only. With Visual
170 | // Studio IDE projects all commands are done without /nologo.
171 | CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
172 |
173 | //Path where debug 3rdparty OpenCV dependencies are located
174 | OpenCV_3RDPARTY_LIB_DIR_DBG:PATH=/usr/local/share/OpenCV/3rdparty/lib
175 |
176 | //Path where release 3rdparty OpenCV dependencies are located
177 | OpenCV_3RDPARTY_LIB_DIR_OPT:PATH=/usr/local/share/OpenCV/3rdparty/lib
178 |
179 | OpenCV_CONFIG_PATH:FILEPATH=/usr/local/share/OpenCV
180 |
181 | //The directory containing a CMake configuration file for OpenCV.
182 | OpenCV_DIR:PATH=/usr/local/share/OpenCV
183 |
184 | //Path where debug OpenCV libraries are located
185 | OpenCV_LIB_DIR_DBG:PATH=
186 |
187 | //Path where release OpenCV libraries are located
188 | OpenCV_LIB_DIR_OPT:PATH=
189 |
190 | //Value Computed by CMake
191 | calibration_BINARY_DIR:STATIC=/home/aprilwang/Documents/HW4/book
192 |
193 | //Value Computed by CMake
194 | calibration_SOURCE_DIR:STATIC=/home/aprilwang/Documents/HW4/book
195 |
196 | //Value Computed by CMake
197 | camera_BINARY_DIR:STATIC=/home/aprilwang/Documents/HW4/book
198 |
199 | //Value Computed by CMake
200 | camera_SOURCE_DIR:STATIC=/home/aprilwang/Documents/HW4/book
201 |
202 |
203 | ########################
204 | # INTERNAL cache entries
205 | ########################
206 |
207 | //ADVANCED property for variable: CMAKE_AR
208 | CMAKE_AR-ADVANCED:INTERNAL=1
209 | //ADVANCED property for variable: CMAKE_BUILD_TOOL
210 | CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
211 | //What is the target build tool cmake is generating for.
212 | CMAKE_BUILD_TOOL:INTERNAL=/usr/bin/make
213 | //This is the directory where this CMakeCache.txt was created
214 | CMAKE_CACHEFILE_DIR:INTERNAL=/home/aprilwang/Documents/HW4/book
215 | //Major version of cmake used to create the current loaded cache
216 | CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2
217 | //Minor version of cmake used to create the current loaded cache
218 | CMAKE_CACHE_MINOR_VERSION:INTERNAL=8
219 | //Patch version of cmake used to create the current loaded cache
220 | CMAKE_CACHE_PATCH_VERSION:INTERNAL=12
221 | //ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
222 | CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
223 | //Path to CMake executable.
224 | CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
225 | //Path to cpack program executable.
226 | CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
227 | //Path to ctest program executable.
228 | CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
229 | //ADVANCED property for variable: CMAKE_CXX_COMPILER
230 | CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
231 | //ADVANCED property for variable: CMAKE_CXX_FLAGS
232 | CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
233 | //ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
234 | CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
235 | //ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
236 | CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
237 | //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
238 | CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
239 | //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
240 | CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
241 | //ADVANCED property for variable: CMAKE_C_COMPILER
242 | CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
243 | //ADVANCED property for variable: CMAKE_C_FLAGS
244 | CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
245 | //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
246 | CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
247 | //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
248 | CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
249 | //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
250 | CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
251 | //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
252 | CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
253 | //Executable file format
254 | CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
255 | //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
256 | CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
257 | //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
258 | CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
259 | //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
260 | CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
261 | //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
262 | CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
263 | //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
264 | CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
265 | //ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
266 | CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
267 | //Name of generator.
268 | CMAKE_GENERATOR:INTERNAL=Unix Makefiles
269 | //Name of generator toolset.
270 | CMAKE_GENERATOR_TOOLSET:INTERNAL=
271 | //Start directory with the top level CMakeLists.txt file for this
272 | // project
273 | CMAKE_HOME_DIRECTORY:INTERNAL=/home/aprilwang/Documents/HW4/book
274 | //Install .so files without execute permission.
275 | CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
276 | //ADVANCED property for variable: CMAKE_LINKER
277 | CMAKE_LINKER-ADVANCED:INTERNAL=1
278 | //ADVANCED property for variable: CMAKE_MAKE_PROGRAM
279 | CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
280 | //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
281 | CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
282 | //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
283 | CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
284 | //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
285 | CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
286 | //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
287 | CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
288 | //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
289 | CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
290 | //ADVANCED property for variable: CMAKE_NM
291 | CMAKE_NM-ADVANCED:INTERNAL=1
292 | //number of local generators
293 | CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=1
294 | //ADVANCED property for variable: CMAKE_OBJCOPY
295 | CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
296 | //ADVANCED property for variable: CMAKE_OBJDUMP
297 | CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
298 | //ADVANCED property for variable: CMAKE_RANLIB
299 | CMAKE_RANLIB-ADVANCED:INTERNAL=1
300 | //Path to CMake installation.
301 | CMAKE_ROOT:INTERNAL=/usr/share/cmake-2.8
302 | //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
303 | CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
304 | //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
305 | CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
306 | //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
307 | CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
308 | //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
309 | CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
310 | //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
311 | CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
312 | //ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
313 | CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
314 | //ADVANCED property for variable: CMAKE_SKIP_RPATH
315 | CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
316 | //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
317 | CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
318 | //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
319 | CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
320 | //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
321 | CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
322 | //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
323 | CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
324 | //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
325 | CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
326 | //ADVANCED property for variable: CMAKE_STRIP
327 | CMAKE_STRIP-ADVANCED:INTERNAL=1
328 | //uname command
329 | CMAKE_UNAME:INTERNAL=/bin/uname
330 | //ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS
331 | CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
332 | //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
333 | CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
334 | //ADVANCED property for variable: OpenCV_3RDPARTY_LIB_DIR_DBG
335 | OpenCV_3RDPARTY_LIB_DIR_DBG-ADVANCED:INTERNAL=1
336 | //ADVANCED property for variable: OpenCV_3RDPARTY_LIB_DIR_OPT
337 | OpenCV_3RDPARTY_LIB_DIR_OPT-ADVANCED:INTERNAL=1
338 | //ADVANCED property for variable: OpenCV_CONFIG_PATH
339 | OpenCV_CONFIG_PATH-ADVANCED:INTERNAL=1
340 | //ADVANCED property for variable: OpenCV_LIB_DIR_DBG
341 | OpenCV_LIB_DIR_DBG-ADVANCED:INTERNAL=1
342 | //ADVANCED property for variable: OpenCV_LIB_DIR_OPT
343 | OpenCV_LIB_DIR_OPT-ADVANCED:INTERNAL=1
344 |
345 |
--------------------------------------------------------------------------------
/CMakeFiles/2.8.12.2/CMakeCCompiler.cmake:
--------------------------------------------------------------------------------
1 | set(CMAKE_C_COMPILER "/usr/bin/cc")
2 | set(CMAKE_C_COMPILER_ARG1 "")
3 | set(CMAKE_C_COMPILER_ID "GNU")
4 | set(CMAKE_C_COMPILER_VERSION "4.8.4")
5 | set(CMAKE_C_PLATFORM_ID "Linux")
6 |
7 | set(CMAKE_AR "/usr/bin/ar")
8 | set(CMAKE_RANLIB "/usr/bin/ranlib")
9 | set(CMAKE_LINKER "/usr/bin/ld")
10 | set(CMAKE_COMPILER_IS_GNUCC 1)
11 | set(CMAKE_C_COMPILER_LOADED 1)
12 | set(CMAKE_C_COMPILER_WORKS TRUE)
13 | set(CMAKE_C_ABI_COMPILED TRUE)
14 | set(CMAKE_COMPILER_IS_MINGW )
15 | set(CMAKE_COMPILER_IS_CYGWIN )
16 | if(CMAKE_COMPILER_IS_CYGWIN)
17 | set(CYGWIN 1)
18 | set(UNIX 1)
19 | endif()
20 |
21 | set(CMAKE_C_COMPILER_ENV_VAR "CC")
22 |
23 | if(CMAKE_COMPILER_IS_MINGW)
24 | set(MINGW 1)
25 | endif()
26 | set(CMAKE_C_COMPILER_ID_RUN 1)
27 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c)
28 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
29 | set(CMAKE_C_LINKER_PREFERENCE 10)
30 |
31 | # Save compiler ABI information.
32 | set(CMAKE_C_SIZEOF_DATA_PTR "8")
33 | set(CMAKE_C_COMPILER_ABI "ELF")
34 | set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
35 |
36 | if(CMAKE_C_SIZEOF_DATA_PTR)
37 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
38 | endif()
39 |
40 | if(CMAKE_C_COMPILER_ABI)
41 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
42 | endif()
43 |
44 | if(CMAKE_C_LIBRARY_ARCHITECTURE)
45 | set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
46 | endif()
47 |
48 |
49 |
50 |
51 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "c")
52 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/4.8;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
53 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/CMakeFiles/2.8.12.2/CMakeCXXCompiler.cmake:
--------------------------------------------------------------------------------
1 | set(CMAKE_CXX_COMPILER "/usr/bin/c++")
2 | set(CMAKE_CXX_COMPILER_ARG1 "")
3 | set(CMAKE_CXX_COMPILER_ID "GNU")
4 | set(CMAKE_CXX_COMPILER_VERSION "4.8.4")
5 | set(CMAKE_CXX_PLATFORM_ID "Linux")
6 |
7 | set(CMAKE_AR "/usr/bin/ar")
8 | set(CMAKE_RANLIB "/usr/bin/ranlib")
9 | set(CMAKE_LINKER "/usr/bin/ld")
10 | set(CMAKE_COMPILER_IS_GNUCXX 1)
11 | set(CMAKE_CXX_COMPILER_LOADED 1)
12 | set(CMAKE_CXX_COMPILER_WORKS TRUE)
13 | set(CMAKE_CXX_ABI_COMPILED TRUE)
14 | set(CMAKE_COMPILER_IS_MINGW )
15 | set(CMAKE_COMPILER_IS_CYGWIN )
16 | if(CMAKE_COMPILER_IS_CYGWIN)
17 | set(CYGWIN 1)
18 | set(UNIX 1)
19 | endif()
20 |
21 | set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
22 |
23 | if(CMAKE_COMPILER_IS_MINGW)
24 | set(MINGW 1)
25 | endif()
26 | set(CMAKE_CXX_COMPILER_ID_RUN 1)
27 | set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
28 | set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)
29 | set(CMAKE_CXX_LINKER_PREFERENCE 30)
30 | set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
31 |
32 | # Save compiler ABI information.
33 | set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
34 | set(CMAKE_CXX_COMPILER_ABI "ELF")
35 | set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
36 |
37 | if(CMAKE_CXX_SIZEOF_DATA_PTR)
38 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
39 | endif()
40 |
41 | if(CMAKE_CXX_COMPILER_ABI)
42 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
43 | endif()
44 |
45 | if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
46 | set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
47 | endif()
48 |
49 |
50 |
51 |
52 | set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;c")
53 | set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/4.8;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
54 | set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/CMakeFiles/2.8.12.2/CMakeDetermineCompilerABI_C.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/CMakeFiles/2.8.12.2/CMakeDetermineCompilerABI_C.bin
--------------------------------------------------------------------------------
/CMakeFiles/2.8.12.2/CMakeDetermineCompilerABI_CXX.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/CMakeFiles/2.8.12.2/CMakeDetermineCompilerABI_CXX.bin
--------------------------------------------------------------------------------
/CMakeFiles/2.8.12.2/CMakeSystem.cmake:
--------------------------------------------------------------------------------
1 | set(CMAKE_HOST_SYSTEM "Linux-3.16.0-43-generic")
2 | set(CMAKE_HOST_SYSTEM_NAME "Linux")
3 | set(CMAKE_HOST_SYSTEM_VERSION "3.16.0-43-generic")
4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
5 |
6 |
7 |
8 | set(CMAKE_SYSTEM "Linux-3.16.0-43-generic")
9 | set(CMAKE_SYSTEM_NAME "Linux")
10 | set(CMAKE_SYSTEM_VERSION "3.16.0-43-generic")
11 | set(CMAKE_SYSTEM_PROCESSOR "x86_64")
12 |
13 | set(CMAKE_CROSSCOMPILING "FALSE")
14 |
15 | set(CMAKE_SYSTEM_LOADED 1)
16 |
--------------------------------------------------------------------------------
/CMakeFiles/2.8.12.2/CompilerIdC/CMakeCCompilerId.c:
--------------------------------------------------------------------------------
1 | #ifdef __cplusplus
2 | # error "A C++ compiler has been selected for C."
3 | #endif
4 |
5 | /* Version number components: V=Version, R=Revision, P=Patch
6 | Version date components: YYYY=Year, MM=Month, DD=Day */
7 |
8 | #if defined(__18CXX)
9 | # define ID_VOID_MAIN
10 | #endif
11 |
12 | #if defined(__INTEL_COMPILER) || defined(__ICC)
13 | # define COMPILER_ID "Intel"
14 | /* __INTEL_COMPILER = VRP */
15 | # define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
16 | # define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
17 | # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
18 | # if defined(__INTEL_COMPILER_BUILD_DATE)
19 | /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
20 | # define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
21 | # endif
22 |
23 | #elif defined(__PATHCC__)
24 | # define COMPILER_ID "PathScale"
25 | # define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
26 | # define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
27 | # if defined(__PATHCC_PATCHLEVEL__)
28 | # define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
29 | # endif
30 |
31 | #elif defined(__clang__)
32 | # define COMPILER_ID "Clang"
33 | # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
34 | # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
35 | # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
36 |
37 | #elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
38 | # define COMPILER_ID "Embarcadero"
39 | # define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
40 | # define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
41 | # define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF)
42 |
43 | #elif defined(__BORLANDC__)
44 | # define COMPILER_ID "Borland"
45 | /* __BORLANDC__ = 0xVRR */
46 | # define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
47 | # define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
48 |
49 | #elif defined(__WATCOMC__)
50 | # define COMPILER_ID "Watcom"
51 | /* __WATCOMC__ = VVRR */
52 | # define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
53 | # define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100)
54 |
55 | #elif defined(__SUNPRO_C)
56 | # define COMPILER_ID "SunPro"
57 | # if __SUNPRO_C >= 0x5100
58 | /* __SUNPRO_C = 0xVRRP */
59 | # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
60 | # define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
61 | # define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
62 | # else
63 | /* __SUNPRO_C = 0xVRP */
64 | # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
65 | # define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
66 | # define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
67 | # endif
68 |
69 | #elif defined(__HP_cc)
70 | # define COMPILER_ID "HP"
71 | /* __HP_cc = VVRRPP */
72 | # define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
73 | # define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
74 | # define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
75 |
76 | #elif defined(__DECC)
77 | # define COMPILER_ID "Compaq"
78 | /* __DECC_VER = VVRRTPPPP */
79 | # define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
80 | # define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
81 | # define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
82 |
83 | #elif defined(__IBMC__)
84 | # if defined(__COMPILER_VER__)
85 | # define COMPILER_ID "zOS"
86 | # else
87 | # if __IBMC__ >= 800
88 | # define COMPILER_ID "XL"
89 | # else
90 | # define COMPILER_ID "VisualAge"
91 | # endif
92 | /* __IBMC__ = VRP */
93 | # define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
94 | # define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
95 | # define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
96 | # endif
97 |
98 | #elif defined(__PGI)
99 | # define COMPILER_ID "PGI"
100 | # define COMPILER_VERSION_MAJOR DEC(__PGIC__)
101 | # define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
102 | # if defined(__PGIC_PATCHLEVEL__)
103 | # define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
104 | # endif
105 |
106 | #elif defined(_CRAYC)
107 | # define COMPILER_ID "Cray"
108 | # define COMPILER_VERSION_MAJOR DEC(_RELEASE)
109 | # define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
110 |
111 | #elif defined(__TI_COMPILER_VERSION__)
112 | # define COMPILER_ID "TI"
113 | /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
114 | # define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
115 | # define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
116 | # define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
117 |
118 | #elif defined(__TINYC__)
119 | # define COMPILER_ID "TinyCC"
120 |
121 | #elif defined(__SCO_VERSION__)
122 | # define COMPILER_ID "SCO"
123 |
124 | #elif defined(__GNUC__)
125 | # define COMPILER_ID "GNU"
126 | # define COMPILER_VERSION_MAJOR DEC(__GNUC__)
127 | # define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
128 | # if defined(__GNUC_PATCHLEVEL__)
129 | # define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
130 | # endif
131 |
132 | #elif defined(_MSC_VER)
133 | # define COMPILER_ID "MSVC"
134 | /* _MSC_VER = VVRR */
135 | # define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
136 | # define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
137 | # if defined(_MSC_FULL_VER)
138 | # if _MSC_VER >= 1400
139 | /* _MSC_FULL_VER = VVRRPPPPP */
140 | # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
141 | # else
142 | /* _MSC_FULL_VER = VVRRPPPP */
143 | # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
144 | # endif
145 | # endif
146 | # if defined(_MSC_BUILD)
147 | # define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
148 | # endif
149 |
150 | /* Analog VisualDSP++ >= 4.5.6 */
151 | #elif defined(__VISUALDSPVERSION__)
152 | # define COMPILER_ID "ADSP"
153 | /* __VISUALDSPVERSION__ = 0xVVRRPP00 */
154 | # define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
155 | # define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
156 | # define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
157 |
158 | /* Analog VisualDSP++ < 4.5.6 */
159 | #elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
160 | # define COMPILER_ID "ADSP"
161 |
162 | /* IAR Systems compiler for embedded systems.
163 | http://www.iar.com */
164 | #elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
165 | # define COMPILER_ID "IAR"
166 |
167 | /* sdcc, the small devices C compiler for embedded systems,
168 | http://sdcc.sourceforge.net */
169 | #elif defined(SDCC)
170 | # define COMPILER_ID "SDCC"
171 | /* SDCC = VRP */
172 | # define COMPILER_VERSION_MAJOR DEC(SDCC/100)
173 | # define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
174 | # define COMPILER_VERSION_PATCH DEC(SDCC % 10)
175 |
176 | #elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
177 | # define COMPILER_ID "MIPSpro"
178 | # if defined(_SGI_COMPILER_VERSION)
179 | /* _SGI_COMPILER_VERSION = VRP */
180 | # define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
181 | # define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
182 | # define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
183 | # else
184 | /* _COMPILER_VERSION = VRP */
185 | # define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
186 | # define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
187 | # define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
188 | # endif
189 |
190 | /* This compiler is either not known or is too old to define an
191 | identification macro. Try to identify the platform and guess that
192 | it is the native compiler. */
193 | #elif defined(__sgi)
194 | # define COMPILER_ID "MIPSpro"
195 |
196 | #elif defined(__hpux) || defined(__hpua)
197 | # define COMPILER_ID "HP"
198 |
199 | #else /* unknown compiler */
200 | # define COMPILER_ID ""
201 |
202 | #endif
203 |
204 | /* Construct the string literal in pieces to prevent the source from
205 | getting matched. Store it in a pointer rather than an array
206 | because some compilers will just produce instructions to fill the
207 | array rather than assigning a pointer to a static array. */
208 | char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
209 |
210 | /* Identify known platforms by name. */
211 | #if defined(__linux) || defined(__linux__) || defined(linux)
212 | # define PLATFORM_ID "Linux"
213 |
214 | #elif defined(__CYGWIN__)
215 | # define PLATFORM_ID "Cygwin"
216 |
217 | #elif defined(__MINGW32__)
218 | # define PLATFORM_ID "MinGW"
219 |
220 | #elif defined(__APPLE__)
221 | # define PLATFORM_ID "Darwin"
222 |
223 | #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
224 | # define PLATFORM_ID "Windows"
225 |
226 | #elif defined(__FreeBSD__) || defined(__FreeBSD)
227 | # define PLATFORM_ID "FreeBSD"
228 |
229 | #elif defined(__NetBSD__) || defined(__NetBSD)
230 | # define PLATFORM_ID "NetBSD"
231 |
232 | #elif defined(__OpenBSD__) || defined(__OPENBSD)
233 | # define PLATFORM_ID "OpenBSD"
234 |
235 | #elif defined(__sun) || defined(sun)
236 | # define PLATFORM_ID "SunOS"
237 |
238 | #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
239 | # define PLATFORM_ID "AIX"
240 |
241 | #elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
242 | # define PLATFORM_ID "IRIX"
243 |
244 | #elif defined(__hpux) || defined(__hpux__)
245 | # define PLATFORM_ID "HP-UX"
246 |
247 | #elif defined(__HAIKU__)
248 | # define PLATFORM_ID "Haiku"
249 |
250 | #elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
251 | # define PLATFORM_ID "BeOS"
252 |
253 | #elif defined(__QNX__) || defined(__QNXNTO__)
254 | # define PLATFORM_ID "QNX"
255 |
256 | #elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
257 | # define PLATFORM_ID "Tru64"
258 |
259 | #elif defined(__riscos) || defined(__riscos__)
260 | # define PLATFORM_ID "RISCos"
261 |
262 | #elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
263 | # define PLATFORM_ID "SINIX"
264 |
265 | #elif defined(__UNIX_SV__)
266 | # define PLATFORM_ID "UNIX_SV"
267 |
268 | #elif defined(__bsdos__)
269 | # define PLATFORM_ID "BSDOS"
270 |
271 | #elif defined(_MPRAS) || defined(MPRAS)
272 | # define PLATFORM_ID "MP-RAS"
273 |
274 | #elif defined(__osf) || defined(__osf__)
275 | # define PLATFORM_ID "OSF1"
276 |
277 | #elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
278 | # define PLATFORM_ID "SCO_SV"
279 |
280 | #elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
281 | # define PLATFORM_ID "ULTRIX"
282 |
283 | #elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
284 | # define PLATFORM_ID "Xenix"
285 |
286 | #else /* unknown platform */
287 | # define PLATFORM_ID ""
288 |
289 | #endif
290 |
291 | /* For windows compilers MSVC and Intel we can determine
292 | the architecture of the compiler being used. This is because
293 | the compilers do not have flags that can change the architecture,
294 | but rather depend on which compiler is being used
295 | */
296 | #if defined(_WIN32) && defined(_MSC_VER)
297 | # if defined(_M_IA64)
298 | # define ARCHITECTURE_ID "IA64"
299 |
300 | # elif defined(_M_X64) || defined(_M_AMD64)
301 | # define ARCHITECTURE_ID "x64"
302 |
303 | # elif defined(_M_IX86)
304 | # define ARCHITECTURE_ID "X86"
305 |
306 | # elif defined(_M_ARM)
307 | # define ARCHITECTURE_ID "ARM"
308 |
309 | # elif defined(_M_MIPS)
310 | # define ARCHITECTURE_ID "MIPS"
311 |
312 | # elif defined(_M_SH)
313 | # define ARCHITECTURE_ID "SHx"
314 |
315 | # else /* unknown architecture */
316 | # define ARCHITECTURE_ID ""
317 | # endif
318 |
319 | #else
320 | # define ARCHITECTURE_ID ""
321 | #endif
322 |
323 | /* Convert integer to decimal digit literals. */
324 | #define DEC(n) \
325 | ('0' + (((n) / 10000000)%10)), \
326 | ('0' + (((n) / 1000000)%10)), \
327 | ('0' + (((n) / 100000)%10)), \
328 | ('0' + (((n) / 10000)%10)), \
329 | ('0' + (((n) / 1000)%10)), \
330 | ('0' + (((n) / 100)%10)), \
331 | ('0' + (((n) / 10)%10)), \
332 | ('0' + ((n) % 10))
333 |
334 | /* Convert integer to hex digit literals. */
335 | #define HEX(n) \
336 | ('0' + ((n)>>28 & 0xF)), \
337 | ('0' + ((n)>>24 & 0xF)), \
338 | ('0' + ((n)>>20 & 0xF)), \
339 | ('0' + ((n)>>16 & 0xF)), \
340 | ('0' + ((n)>>12 & 0xF)), \
341 | ('0' + ((n)>>8 & 0xF)), \
342 | ('0' + ((n)>>4 & 0xF)), \
343 | ('0' + ((n) & 0xF))
344 |
345 | /* Construct a string literal encoding the version number components. */
346 | #ifdef COMPILER_VERSION_MAJOR
347 | char const info_version[] = {
348 | 'I', 'N', 'F', 'O', ':',
349 | 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
350 | COMPILER_VERSION_MAJOR,
351 | # ifdef COMPILER_VERSION_MINOR
352 | '.', COMPILER_VERSION_MINOR,
353 | # ifdef COMPILER_VERSION_PATCH
354 | '.', COMPILER_VERSION_PATCH,
355 | # ifdef COMPILER_VERSION_TWEAK
356 | '.', COMPILER_VERSION_TWEAK,
357 | # endif
358 | # endif
359 | # endif
360 | ']','\0'};
361 | #endif
362 |
363 | /* Construct the string literal in pieces to prevent the source from
364 | getting matched. Store it in a pointer rather than an array
365 | because some compilers will just produce instructions to fill the
366 | array rather than assigning a pointer to a static array. */
367 | char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
368 | char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
369 |
370 |
371 |
372 | /*--------------------------------------------------------------------------*/
373 |
374 | #ifdef ID_VOID_MAIN
375 | void main() {}
376 | #else
377 | int main(int argc, char* argv[])
378 | {
379 | int require = 0;
380 | require += info_compiler[argc];
381 | require += info_platform[argc];
382 | require += info_arch[argc];
383 | #ifdef COMPILER_VERSION_MAJOR
384 | require += info_version[argc];
385 | #endif
386 | (void)argv;
387 | return require;
388 | }
389 | #endif
390 |
--------------------------------------------------------------------------------
/CMakeFiles/2.8.12.2/CompilerIdC/a.out:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/CMakeFiles/2.8.12.2/CompilerIdC/a.out
--------------------------------------------------------------------------------
/CMakeFiles/2.8.12.2/CompilerIdCXX/CMakeCXXCompilerId.cpp:
--------------------------------------------------------------------------------
1 | /* This source file must have a .cpp extension so that all C++ compilers
2 | recognize the extension without flags. Borland does not know .cxx for
3 | example. */
4 | #ifndef __cplusplus
5 | # error "A C compiler has been selected for C++."
6 | #endif
7 |
8 | /* Version number components: V=Version, R=Revision, P=Patch
9 | Version date components: YYYY=Year, MM=Month, DD=Day */
10 |
11 | #if defined(__COMO__)
12 | # define COMPILER_ID "Comeau"
13 | /* __COMO_VERSION__ = VRR */
14 | # define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
15 | # define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
16 |
17 | #elif defined(__INTEL_COMPILER) || defined(__ICC)
18 | # define COMPILER_ID "Intel"
19 | /* __INTEL_COMPILER = VRP */
20 | # define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
21 | # define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
22 | # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
23 | # if defined(__INTEL_COMPILER_BUILD_DATE)
24 | /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
25 | # define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
26 | # endif
27 |
28 | #elif defined(__PATHCC__)
29 | # define COMPILER_ID "PathScale"
30 | # define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
31 | # define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
32 | # if defined(__PATHCC_PATCHLEVEL__)
33 | # define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
34 | # endif
35 |
36 | #elif defined(__clang__)
37 | # define COMPILER_ID "Clang"
38 | # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
39 | # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
40 | # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
41 |
42 | #elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
43 | # define COMPILER_ID "Embarcadero"
44 | # define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
45 | # define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
46 | # define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF)
47 |
48 | #elif defined(__BORLANDC__)
49 | # define COMPILER_ID "Borland"
50 | /* __BORLANDC__ = 0xVRR */
51 | # define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
52 | # define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
53 |
54 | #elif defined(__WATCOMC__)
55 | # define COMPILER_ID "Watcom"
56 | /* __WATCOMC__ = VVRR */
57 | # define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
58 | # define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100)
59 |
60 | #elif defined(__SUNPRO_CC)
61 | # define COMPILER_ID "SunPro"
62 | # if __SUNPRO_CC >= 0x5100
63 | /* __SUNPRO_CC = 0xVRRP */
64 | # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
65 | # define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
66 | # define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
67 | # else
68 | /* __SUNPRO_CC = 0xVRP */
69 | # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
70 | # define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
71 | # define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
72 | # endif
73 |
74 | #elif defined(__HP_aCC)
75 | # define COMPILER_ID "HP"
76 | /* __HP_aCC = VVRRPP */
77 | # define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
78 | # define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
79 | # define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
80 |
81 | #elif defined(__DECCXX)
82 | # define COMPILER_ID "Compaq"
83 | /* __DECCXX_VER = VVRRTPPPP */
84 | # define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
85 | # define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
86 | # define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
87 |
88 | #elif defined(__IBMCPP__)
89 | # if defined(__COMPILER_VER__)
90 | # define COMPILER_ID "zOS"
91 | # else
92 | # if __IBMCPP__ >= 800
93 | # define COMPILER_ID "XL"
94 | # else
95 | # define COMPILER_ID "VisualAge"
96 | # endif
97 | /* __IBMCPP__ = VRP */
98 | # define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
99 | # define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
100 | # define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
101 | # endif
102 |
103 | #elif defined(__PGI)
104 | # define COMPILER_ID "PGI"
105 | # define COMPILER_VERSION_MAJOR DEC(__PGIC__)
106 | # define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
107 | # if defined(__PGIC_PATCHLEVEL__)
108 | # define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
109 | # endif
110 |
111 | #elif defined(_CRAYC)
112 | # define COMPILER_ID "Cray"
113 | # define COMPILER_VERSION_MAJOR DEC(_RELEASE)
114 | # define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
115 |
116 | #elif defined(__TI_COMPILER_VERSION__)
117 | # define COMPILER_ID "TI"
118 | /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
119 | # define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
120 | # define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
121 | # define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
122 |
123 | #elif defined(__SCO_VERSION__)
124 | # define COMPILER_ID "SCO"
125 |
126 | #elif defined(__GNUC__)
127 | # define COMPILER_ID "GNU"
128 | # define COMPILER_VERSION_MAJOR DEC(__GNUC__)
129 | # define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
130 | # if defined(__GNUC_PATCHLEVEL__)
131 | # define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
132 | # endif
133 |
134 | #elif defined(_MSC_VER)
135 | # define COMPILER_ID "MSVC"
136 | /* _MSC_VER = VVRR */
137 | # define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
138 | # define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
139 | # if defined(_MSC_FULL_VER)
140 | # if _MSC_VER >= 1400
141 | /* _MSC_FULL_VER = VVRRPPPPP */
142 | # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
143 | # else
144 | /* _MSC_FULL_VER = VVRRPPPP */
145 | # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
146 | # endif
147 | # endif
148 | # if defined(_MSC_BUILD)
149 | # define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
150 | # endif
151 |
152 | /* Analog VisualDSP++ >= 4.5.6 */
153 | #elif defined(__VISUALDSPVERSION__)
154 | # define COMPILER_ID "ADSP"
155 | /* __VISUALDSPVERSION__ = 0xVVRRPP00 */
156 | # define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
157 | # define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
158 | # define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
159 |
160 | /* Analog VisualDSP++ < 4.5.6 */
161 | #elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
162 | # define COMPILER_ID "ADSP"
163 |
164 | /* IAR Systems compiler for embedded systems.
165 | http://www.iar.com */
166 | #elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
167 | # define COMPILER_ID "IAR"
168 |
169 | #elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
170 | # define COMPILER_ID "MIPSpro"
171 | # if defined(_SGI_COMPILER_VERSION)
172 | /* _SGI_COMPILER_VERSION = VRP */
173 | # define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
174 | # define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
175 | # define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
176 | # else
177 | /* _COMPILER_VERSION = VRP */
178 | # define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
179 | # define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
180 | # define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
181 | # endif
182 |
183 | /* This compiler is either not known or is too old to define an
184 | identification macro. Try to identify the platform and guess that
185 | it is the native compiler. */
186 | #elif defined(__sgi)
187 | # define COMPILER_ID "MIPSpro"
188 |
189 | #elif defined(__hpux) || defined(__hpua)
190 | # define COMPILER_ID "HP"
191 |
192 | #else /* unknown compiler */
193 | # define COMPILER_ID ""
194 |
195 | #endif
196 |
197 | /* Construct the string literal in pieces to prevent the source from
198 | getting matched. Store it in a pointer rather than an array
199 | because some compilers will just produce instructions to fill the
200 | array rather than assigning a pointer to a static array. */
201 | char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
202 |
203 | /* Identify known platforms by name. */
204 | #if defined(__linux) || defined(__linux__) || defined(linux)
205 | # define PLATFORM_ID "Linux"
206 |
207 | #elif defined(__CYGWIN__)
208 | # define PLATFORM_ID "Cygwin"
209 |
210 | #elif defined(__MINGW32__)
211 | # define PLATFORM_ID "MinGW"
212 |
213 | #elif defined(__APPLE__)
214 | # define PLATFORM_ID "Darwin"
215 |
216 | #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
217 | # define PLATFORM_ID "Windows"
218 |
219 | #elif defined(__FreeBSD__) || defined(__FreeBSD)
220 | # define PLATFORM_ID "FreeBSD"
221 |
222 | #elif defined(__NetBSD__) || defined(__NetBSD)
223 | # define PLATFORM_ID "NetBSD"
224 |
225 | #elif defined(__OpenBSD__) || defined(__OPENBSD)
226 | # define PLATFORM_ID "OpenBSD"
227 |
228 | #elif defined(__sun) || defined(sun)
229 | # define PLATFORM_ID "SunOS"
230 |
231 | #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
232 | # define PLATFORM_ID "AIX"
233 |
234 | #elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
235 | # define PLATFORM_ID "IRIX"
236 |
237 | #elif defined(__hpux) || defined(__hpux__)
238 | # define PLATFORM_ID "HP-UX"
239 |
240 | #elif defined(__HAIKU__)
241 | # define PLATFORM_ID "Haiku"
242 |
243 | #elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
244 | # define PLATFORM_ID "BeOS"
245 |
246 | #elif defined(__QNX__) || defined(__QNXNTO__)
247 | # define PLATFORM_ID "QNX"
248 |
249 | #elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
250 | # define PLATFORM_ID "Tru64"
251 |
252 | #elif defined(__riscos) || defined(__riscos__)
253 | # define PLATFORM_ID "RISCos"
254 |
255 | #elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
256 | # define PLATFORM_ID "SINIX"
257 |
258 | #elif defined(__UNIX_SV__)
259 | # define PLATFORM_ID "UNIX_SV"
260 |
261 | #elif defined(__bsdos__)
262 | # define PLATFORM_ID "BSDOS"
263 |
264 | #elif defined(_MPRAS) || defined(MPRAS)
265 | # define PLATFORM_ID "MP-RAS"
266 |
267 | #elif defined(__osf) || defined(__osf__)
268 | # define PLATFORM_ID "OSF1"
269 |
270 | #elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
271 | # define PLATFORM_ID "SCO_SV"
272 |
273 | #elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
274 | # define PLATFORM_ID "ULTRIX"
275 |
276 | #elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
277 | # define PLATFORM_ID "Xenix"
278 |
279 | #else /* unknown platform */
280 | # define PLATFORM_ID ""
281 |
282 | #endif
283 |
284 | /* For windows compilers MSVC and Intel we can determine
285 | the architecture of the compiler being used. This is because
286 | the compilers do not have flags that can change the architecture,
287 | but rather depend on which compiler is being used
288 | */
289 | #if defined(_WIN32) && defined(_MSC_VER)
290 | # if defined(_M_IA64)
291 | # define ARCHITECTURE_ID "IA64"
292 |
293 | # elif defined(_M_X64) || defined(_M_AMD64)
294 | # define ARCHITECTURE_ID "x64"
295 |
296 | # elif defined(_M_IX86)
297 | # define ARCHITECTURE_ID "X86"
298 |
299 | # elif defined(_M_ARM)
300 | # define ARCHITECTURE_ID "ARM"
301 |
302 | # elif defined(_M_MIPS)
303 | # define ARCHITECTURE_ID "MIPS"
304 |
305 | # elif defined(_M_SH)
306 | # define ARCHITECTURE_ID "SHx"
307 |
308 | # else /* unknown architecture */
309 | # define ARCHITECTURE_ID ""
310 | # endif
311 |
312 | #else
313 | # define ARCHITECTURE_ID ""
314 | #endif
315 |
316 | /* Convert integer to decimal digit literals. */
317 | #define DEC(n) \
318 | ('0' + (((n) / 10000000)%10)), \
319 | ('0' + (((n) / 1000000)%10)), \
320 | ('0' + (((n) / 100000)%10)), \
321 | ('0' + (((n) / 10000)%10)), \
322 | ('0' + (((n) / 1000)%10)), \
323 | ('0' + (((n) / 100)%10)), \
324 | ('0' + (((n) / 10)%10)), \
325 | ('0' + ((n) % 10))
326 |
327 | /* Convert integer to hex digit literals. */
328 | #define HEX(n) \
329 | ('0' + ((n)>>28 & 0xF)), \
330 | ('0' + ((n)>>24 & 0xF)), \
331 | ('0' + ((n)>>20 & 0xF)), \
332 | ('0' + ((n)>>16 & 0xF)), \
333 | ('0' + ((n)>>12 & 0xF)), \
334 | ('0' + ((n)>>8 & 0xF)), \
335 | ('0' + ((n)>>4 & 0xF)), \
336 | ('0' + ((n) & 0xF))
337 |
338 | /* Construct a string literal encoding the version number components. */
339 | #ifdef COMPILER_VERSION_MAJOR
340 | char const info_version[] = {
341 | 'I', 'N', 'F', 'O', ':',
342 | 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
343 | COMPILER_VERSION_MAJOR,
344 | # ifdef COMPILER_VERSION_MINOR
345 | '.', COMPILER_VERSION_MINOR,
346 | # ifdef COMPILER_VERSION_PATCH
347 | '.', COMPILER_VERSION_PATCH,
348 | # ifdef COMPILER_VERSION_TWEAK
349 | '.', COMPILER_VERSION_TWEAK,
350 | # endif
351 | # endif
352 | # endif
353 | ']','\0'};
354 | #endif
355 |
356 | /* Construct the string literal in pieces to prevent the source from
357 | getting matched. Store it in a pointer rather than an array
358 | because some compilers will just produce instructions to fill the
359 | array rather than assigning a pointer to a static array. */
360 | char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
361 | char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
362 |
363 |
364 |
365 | /*--------------------------------------------------------------------------*/
366 |
367 | int main(int argc, char* argv[])
368 | {
369 | int require = 0;
370 | require += info_compiler[argc];
371 | require += info_platform[argc];
372 | #ifdef COMPILER_VERSION_MAJOR
373 | require += info_version[argc];
374 | #endif
375 | (void)argv;
376 | return require;
377 | }
378 |
--------------------------------------------------------------------------------
/CMakeFiles/2.8.12.2/CompilerIdCXX/a.out:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/CMakeFiles/2.8.12.2/CompilerIdCXX/a.out
--------------------------------------------------------------------------------
/CMakeFiles/CMakeDirectoryInformation.cmake:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 2.8
3 |
4 | # Relative path conversion top directories.
5 | SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/aprilwang/Documents/HW4/book")
6 | SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/aprilwang/Documents/HW4/book")
7 |
8 | # Force unix paths in dependencies.
9 | SET(CMAKE_FORCE_UNIX_PATHS 1)
10 |
11 |
12 | # The C and CXX include file regular expressions for this directory.
13 | SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
14 | SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
15 | SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
16 | SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
17 |
--------------------------------------------------------------------------------
/CMakeFiles/CMakeOutput.log:
--------------------------------------------------------------------------------
1 | The system is: Linux - 3.16.0-43-generic - x86_64
2 | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
3 | Compiler: /usr/bin/cc
4 | Build flags:
5 | Id flags:
6 |
7 | The output was:
8 | 0
9 |
10 |
11 | Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
12 |
13 | The C compiler identification is GNU, found in "/home/aprilwang/Documents/HW4/book/CMakeFiles/2.8.12.2/CompilerIdC/a.out"
14 |
15 | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
16 | Compiler: /usr/bin/c++
17 | Build flags:
18 | Id flags:
19 |
20 | The output was:
21 | 0
22 |
23 |
24 | Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
25 |
26 | The CXX compiler identification is GNU, found in "/home/aprilwang/Documents/HW4/book/CMakeFiles/2.8.12.2/CompilerIdCXX/a.out"
27 |
28 | Determining if the C compiler works passed with the following output:
29 | Change Dir: /home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp
30 |
31 | Run Build Command:/usr/bin/make "cmTryCompileExec667829783/fast"
32 | /usr/bin/make -f CMakeFiles/cmTryCompileExec667829783.dir/build.make CMakeFiles/cmTryCompileExec667829783.dir/build
33 | make[1]: Entering directory `/home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp'
34 | /usr/bin/cmake -E cmake_progress_report /home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp/CMakeFiles 1
35 | Building C object CMakeFiles/cmTryCompileExec667829783.dir/testCCompiler.c.o
36 | /usr/bin/cc -o CMakeFiles/cmTryCompileExec667829783.dir/testCCompiler.c.o -c /home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp/testCCompiler.c
37 | Linking C executable cmTryCompileExec667829783
38 | /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec667829783.dir/link.txt --verbose=1
39 | /usr/bin/cc CMakeFiles/cmTryCompileExec667829783.dir/testCCompiler.c.o -o cmTryCompileExec667829783 -rdynamic
40 | make[1]: Leaving directory `/home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp'
41 |
42 |
43 | Detecting C compiler ABI info compiled with the following output:
44 | Change Dir: /home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp
45 |
46 | Run Build Command:/usr/bin/make "cmTryCompileExec614085321/fast"
47 | /usr/bin/make -f CMakeFiles/cmTryCompileExec614085321.dir/build.make CMakeFiles/cmTryCompileExec614085321.dir/build
48 | make[1]: Entering directory `/home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp'
49 | /usr/bin/cmake -E cmake_progress_report /home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp/CMakeFiles 1
50 | Building C object CMakeFiles/cmTryCompileExec614085321.dir/CMakeCCompilerABI.c.o
51 | /usr/bin/cc -o CMakeFiles/cmTryCompileExec614085321.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c
52 | Linking C executable cmTryCompileExec614085321
53 | /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec614085321.dir/link.txt --verbose=1
54 | /usr/bin/cc -v CMakeFiles/cmTryCompileExec614085321.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec614085321 -rdynamic
55 | Using built-in specs.
56 | COLLECT_GCC=/usr/bin/cc
57 | COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
58 | Target: x86_64-linux-gnu
59 | Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
60 | Thread model: posix
61 | gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)
62 | COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/
63 | LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../:/lib/:/usr/lib/
64 | COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec614085321' '-rdynamic' '-mtune=generic' '-march=x86-64'
65 | /usr/lib/gcc/x86_64-linux-gnu/4.8/collect2 --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec614085321 /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. CMakeFiles/cmTryCompileExec614085321.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.8/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o
66 | make[1]: Leaving directory `/home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp'
67 |
68 |
69 | Parsed C implicit link information from above output:
70 | link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
71 | ignore line: [Change Dir: /home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp]
72 | ignore line: []
73 | ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec614085321/fast"]
74 | ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec614085321.dir/build.make CMakeFiles/cmTryCompileExec614085321.dir/build]
75 | ignore line: [make[1]: Entering directory `/home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp']
76 | ignore line: [/usr/bin/cmake -E cmake_progress_report /home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp/CMakeFiles 1]
77 | ignore line: [Building C object CMakeFiles/cmTryCompileExec614085321.dir/CMakeCCompilerABI.c.o]
78 | ignore line: [/usr/bin/cc -o CMakeFiles/cmTryCompileExec614085321.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c]
79 | ignore line: [Linking C executable cmTryCompileExec614085321]
80 | ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec614085321.dir/link.txt --verbose=1]
81 | ignore line: [/usr/bin/cc -v CMakeFiles/cmTryCompileExec614085321.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec614085321 -rdynamic ]
82 | ignore line: [Using built-in specs.]
83 | ignore line: [COLLECT_GCC=/usr/bin/cc]
84 | ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper]
85 | ignore line: [Target: x86_64-linux-gnu]
86 | ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
87 | ignore line: [Thread model: posix]
88 | ignore line: [gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) ]
89 | ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/]
90 | ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../:/lib/:/usr/lib/]
91 | ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec614085321' '-rdynamic' '-mtune=generic' '-march=x86-64']
92 | link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.8/collect2 --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec614085321 /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. CMakeFiles/cmTryCompileExec614085321.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.8/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o]
93 | arg [/usr/lib/gcc/x86_64-linux-gnu/4.8/collect2] ==> ignore
94 | arg [--sysroot=/] ==> ignore
95 | arg [--build-id] ==> ignore
96 | arg [--eh-frame-hdr] ==> ignore
97 | arg [-m] ==> ignore
98 | arg [elf_x86_64] ==> ignore
99 | arg [--hash-style=gnu] ==> ignore
100 | arg [--as-needed] ==> ignore
101 | arg [-export-dynamic] ==> ignore
102 | arg [-dynamic-linker] ==> ignore
103 | arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
104 | arg [-zrelro] ==> ignore
105 | arg [-o] ==> ignore
106 | arg [cmTryCompileExec614085321] ==> ignore
107 | arg [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o] ==> ignore
108 | arg [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o] ==> ignore
109 | arg [/usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o] ==> ignore
110 | arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.8] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.8]
111 | arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu]
112 | arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib]
113 | arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
114 | arg [-L/lib/../lib] ==> dir [/lib/../lib]
115 | arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
116 | arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
117 | arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../..]
118 | arg [CMakeFiles/cmTryCompileExec614085321.dir/CMakeCCompilerABI.c.o] ==> ignore
119 | arg [-lgcc] ==> lib [gcc]
120 | arg [--as-needed] ==> ignore
121 | arg [-lgcc_s] ==> lib [gcc_s]
122 | arg [--no-as-needed] ==> ignore
123 | arg [-lc] ==> lib [c]
124 | arg [-lgcc] ==> lib [gcc]
125 | arg [--as-needed] ==> ignore
126 | arg [-lgcc_s] ==> lib [gcc_s]
127 | arg [--no-as-needed] ==> ignore
128 | arg [/usr/lib/gcc/x86_64-linux-gnu/4.8/crtend.o] ==> ignore
129 | arg [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o] ==> ignore
130 | remove lib [gcc]
131 | remove lib [gcc_s]
132 | remove lib [gcc]
133 | remove lib [gcc_s]
134 | collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.8] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.8]
135 | collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
136 | collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib] ==> [/usr/lib]
137 | collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
138 | collapse library dir [/lib/../lib] ==> [/lib]
139 | collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
140 | collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
141 | collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../..] ==> [/usr/lib]
142 | implicit libs: [c]
143 | implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.8;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
144 | implicit fwks: []
145 |
146 |
147 | Determining if the CXX compiler works passed with the following output:
148 | Change Dir: /home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp
149 |
150 | Run Build Command:/usr/bin/make "cmTryCompileExec2981827570/fast"
151 | /usr/bin/make -f CMakeFiles/cmTryCompileExec2981827570.dir/build.make CMakeFiles/cmTryCompileExec2981827570.dir/build
152 | make[1]: Entering directory `/home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp'
153 | /usr/bin/cmake -E cmake_progress_report /home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp/CMakeFiles 1
154 | Building CXX object CMakeFiles/cmTryCompileExec2981827570.dir/testCXXCompiler.cxx.o
155 | /usr/bin/c++ -o CMakeFiles/cmTryCompileExec2981827570.dir/testCXXCompiler.cxx.o -c /home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
156 | Linking CXX executable cmTryCompileExec2981827570
157 | /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2981827570.dir/link.txt --verbose=1
158 | /usr/bin/c++ CMakeFiles/cmTryCompileExec2981827570.dir/testCXXCompiler.cxx.o -o cmTryCompileExec2981827570 -rdynamic
159 | make[1]: Leaving directory `/home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp'
160 |
161 |
162 | Detecting CXX compiler ABI info compiled with the following output:
163 | Change Dir: /home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp
164 |
165 | Run Build Command:/usr/bin/make "cmTryCompileExec2716574009/fast"
166 | /usr/bin/make -f CMakeFiles/cmTryCompileExec2716574009.dir/build.make CMakeFiles/cmTryCompileExec2716574009.dir/build
167 | make[1]: Entering directory `/home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp'
168 | /usr/bin/cmake -E cmake_progress_report /home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp/CMakeFiles 1
169 | Building CXX object CMakeFiles/cmTryCompileExec2716574009.dir/CMakeCXXCompilerABI.cpp.o
170 | /usr/bin/c++ -o CMakeFiles/cmTryCompileExec2716574009.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp
171 | Linking CXX executable cmTryCompileExec2716574009
172 | /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2716574009.dir/link.txt --verbose=1
173 | /usr/bin/c++ -v CMakeFiles/cmTryCompileExec2716574009.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec2716574009 -rdynamic
174 | Using built-in specs.
175 | COLLECT_GCC=/usr/bin/c++
176 | COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
177 | Target: x86_64-linux-gnu
178 | Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
179 | Thread model: posix
180 | gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)
181 | COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/
182 | LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../:/lib/:/usr/lib/
183 | COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2716574009' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
184 | /usr/lib/gcc/x86_64-linux-gnu/4.8/collect2 --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec2716574009 /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. CMakeFiles/cmTryCompileExec2716574009.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.8/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o
185 | make[1]: Leaving directory `/home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp'
186 |
187 |
188 | Parsed CXX implicit link information from above output:
189 | link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
190 | ignore line: [Change Dir: /home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp]
191 | ignore line: []
192 | ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec2716574009/fast"]
193 | ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec2716574009.dir/build.make CMakeFiles/cmTryCompileExec2716574009.dir/build]
194 | ignore line: [make[1]: Entering directory `/home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp']
195 | ignore line: [/usr/bin/cmake -E cmake_progress_report /home/aprilwang/Documents/HW4/book/CMakeFiles/CMakeTmp/CMakeFiles 1]
196 | ignore line: [Building CXX object CMakeFiles/cmTryCompileExec2716574009.dir/CMakeCXXCompilerABI.cpp.o]
197 | ignore line: [/usr/bin/c++ -o CMakeFiles/cmTryCompileExec2716574009.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp]
198 | ignore line: [Linking CXX executable cmTryCompileExec2716574009]
199 | ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2716574009.dir/link.txt --verbose=1]
200 | ignore line: [/usr/bin/c++ -v CMakeFiles/cmTryCompileExec2716574009.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec2716574009 -rdynamic ]
201 | ignore line: [Using built-in specs.]
202 | ignore line: [COLLECT_GCC=/usr/bin/c++]
203 | ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper]
204 | ignore line: [Target: x86_64-linux-gnu]
205 | ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
206 | ignore line: [Thread model: posix]
207 | ignore line: [gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) ]
208 | ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/]
209 | ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../:/lib/:/usr/lib/]
210 | ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2716574009' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
211 | link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.8/collect2 --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec2716574009 /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. CMakeFiles/cmTryCompileExec2716574009.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.8/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o]
212 | arg [/usr/lib/gcc/x86_64-linux-gnu/4.8/collect2] ==> ignore
213 | arg [--sysroot=/] ==> ignore
214 | arg [--build-id] ==> ignore
215 | arg [--eh-frame-hdr] ==> ignore
216 | arg [-m] ==> ignore
217 | arg [elf_x86_64] ==> ignore
218 | arg [--hash-style=gnu] ==> ignore
219 | arg [--as-needed] ==> ignore
220 | arg [-export-dynamic] ==> ignore
221 | arg [-dynamic-linker] ==> ignore
222 | arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
223 | arg [-zrelro] ==> ignore
224 | arg [-o] ==> ignore
225 | arg [cmTryCompileExec2716574009] ==> ignore
226 | arg [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o] ==> ignore
227 | arg [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o] ==> ignore
228 | arg [/usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o] ==> ignore
229 | arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.8] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.8]
230 | arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu]
231 | arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib]
232 | arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
233 | arg [-L/lib/../lib] ==> dir [/lib/../lib]
234 | arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
235 | arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
236 | arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../..]
237 | arg [CMakeFiles/cmTryCompileExec2716574009.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
238 | arg [-lstdc++] ==> lib [stdc++]
239 | arg [-lm] ==> lib [m]
240 | arg [-lgcc_s] ==> lib [gcc_s]
241 | arg [-lgcc] ==> lib [gcc]
242 | arg [-lc] ==> lib [c]
243 | arg [-lgcc_s] ==> lib [gcc_s]
244 | arg [-lgcc] ==> lib [gcc]
245 | arg [/usr/lib/gcc/x86_64-linux-gnu/4.8/crtend.o] ==> ignore
246 | arg [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o] ==> ignore
247 | remove lib [gcc_s]
248 | remove lib [gcc]
249 | remove lib [gcc_s]
250 | remove lib [gcc]
251 | collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.8] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.8]
252 | collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
253 | collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib] ==> [/usr/lib]
254 | collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
255 | collapse library dir [/lib/../lib] ==> [/lib]
256 | collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
257 | collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
258 | collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.8/../../..] ==> [/usr/lib]
259 | implicit libs: [stdc++;m;c]
260 | implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.8;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
261 | implicit fwks: []
262 |
263 |
264 |
--------------------------------------------------------------------------------
/CMakeFiles/Makefile.cmake:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 2.8
3 |
4 | # The generator used is:
5 | SET(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
6 |
7 | # The top level Makefile was generated from the following files:
8 | SET(CMAKE_MAKEFILE_DEPENDS
9 | "CMakeCache.txt"
10 | "CMakeFiles/2.8.12.2/CMakeCCompiler.cmake"
11 | "CMakeFiles/2.8.12.2/CMakeCXXCompiler.cmake"
12 | "CMakeFiles/2.8.12.2/CMakeSystem.cmake"
13 | "CMakeLists.txt"
14 | "/usr/local/share/OpenCV/OpenCVConfig-version.cmake"
15 | "/usr/local/share/OpenCV/OpenCVConfig.cmake"
16 | "/usr/local/share/OpenCV/OpenCVModules-release.cmake"
17 | "/usr/local/share/OpenCV/OpenCVModules.cmake"
18 | "/usr/share/cmake-2.8/Modules/CMakeCInformation.cmake"
19 | "/usr/share/cmake-2.8/Modules/CMakeCXXInformation.cmake"
20 | "/usr/share/cmake-2.8/Modules/CMakeCommonLanguageInclude.cmake"
21 | "/usr/share/cmake-2.8/Modules/CMakeGenericSystem.cmake"
22 | "/usr/share/cmake-2.8/Modules/CMakeSystemSpecificInformation.cmake"
23 | "/usr/share/cmake-2.8/Modules/Compiler/GNU-C.cmake"
24 | "/usr/share/cmake-2.8/Modules/Compiler/GNU-CXX.cmake"
25 | "/usr/share/cmake-2.8/Modules/Compiler/GNU.cmake"
26 | "/usr/share/cmake-2.8/Modules/Platform/Linux-GNU-C.cmake"
27 | "/usr/share/cmake-2.8/Modules/Platform/Linux-GNU-CXX.cmake"
28 | "/usr/share/cmake-2.8/Modules/Platform/Linux-GNU.cmake"
29 | "/usr/share/cmake-2.8/Modules/Platform/Linux.cmake"
30 | "/usr/share/cmake-2.8/Modules/Platform/UnixPaths.cmake"
31 | )
32 |
33 | # The corresponding makefile is:
34 | SET(CMAKE_MAKEFILE_OUTPUTS
35 | "Makefile"
36 | "CMakeFiles/cmake.check_cache"
37 | )
38 |
39 | # Byproducts of CMake generate step:
40 | SET(CMAKE_MAKEFILE_PRODUCTS
41 | "CMakeFiles/CMakeDirectoryInformation.cmake"
42 | )
43 |
44 | # Dependency information for all targets:
45 | SET(CMAKE_DEPEND_INFO_FILES
46 | "CMakeFiles/camera.dir/DependInfo.cmake"
47 | )
48 |
--------------------------------------------------------------------------------
/CMakeFiles/Makefile2:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 2.8
3 |
4 | # Default target executed when no arguments are given to make.
5 | default_target: all
6 | .PHONY : default_target
7 |
8 | # The main recursive all target
9 | all:
10 | .PHONY : all
11 |
12 | # The main recursive preinstall target
13 | preinstall:
14 | .PHONY : preinstall
15 |
16 | #=============================================================================
17 | # Special targets provided by cmake.
18 |
19 | # Disable implicit rules so canonical targets will work.
20 | .SUFFIXES:
21 |
22 | # Remove some rules from gmake that .SUFFIXES does not remove.
23 | SUFFIXES =
24 |
25 | .SUFFIXES: .hpux_make_needs_suffix_list
26 |
27 | # Suppress display of executed commands.
28 | $(VERBOSE).SILENT:
29 |
30 | # A target that is always out of date.
31 | cmake_force:
32 | .PHONY : cmake_force
33 |
34 | #=============================================================================
35 | # Set environment variables for the build.
36 |
37 | # The shell in which to execute make rules.
38 | SHELL = /bin/sh
39 |
40 | # The CMake executable.
41 | CMAKE_COMMAND = /usr/bin/cmake
42 |
43 | # The command to remove a file.
44 | RM = /usr/bin/cmake -E remove -f
45 |
46 | # Escaping for special characters.
47 | EQUALS = =
48 |
49 | # The top-level source directory on which CMake was run.
50 | CMAKE_SOURCE_DIR = /home/aprilwang/Documents/HW4/book
51 |
52 | # The top-level build directory on which CMake was run.
53 | CMAKE_BINARY_DIR = /home/aprilwang/Documents/HW4/book
54 |
55 | #=============================================================================
56 | # Target rules for target CMakeFiles/camera.dir
57 |
58 | # All Build rule for target.
59 | CMakeFiles/camera.dir/all:
60 | $(MAKE) -f CMakeFiles/camera.dir/build.make CMakeFiles/camera.dir/depend
61 | $(MAKE) -f CMakeFiles/camera.dir/build.make CMakeFiles/camera.dir/build
62 | $(CMAKE_COMMAND) -E cmake_progress_report /home/aprilwang/Documents/HW4/book/CMakeFiles 1
63 | @echo "Built target camera"
64 | .PHONY : CMakeFiles/camera.dir/all
65 |
66 | # Include target in all.
67 | all: CMakeFiles/camera.dir/all
68 | .PHONY : all
69 |
70 | # Build rule for subdir invocation for target.
71 | CMakeFiles/camera.dir/rule: cmake_check_build_system
72 | $(CMAKE_COMMAND) -E cmake_progress_start /home/aprilwang/Documents/HW4/book/CMakeFiles 1
73 | $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/camera.dir/all
74 | $(CMAKE_COMMAND) -E cmake_progress_start /home/aprilwang/Documents/HW4/book/CMakeFiles 0
75 | .PHONY : CMakeFiles/camera.dir/rule
76 |
77 | # Convenience name for target.
78 | camera: CMakeFiles/camera.dir/rule
79 | .PHONY : camera
80 |
81 | # clean rule for target.
82 | CMakeFiles/camera.dir/clean:
83 | $(MAKE) -f CMakeFiles/camera.dir/build.make CMakeFiles/camera.dir/clean
84 | .PHONY : CMakeFiles/camera.dir/clean
85 |
86 | # clean rule for target.
87 | clean: CMakeFiles/camera.dir/clean
88 | .PHONY : clean
89 |
90 | #=============================================================================
91 | # Special targets to cleanup operation of make.
92 |
93 | # Special rule to run CMake to check the build system integrity.
94 | # No rule that depends on this can have commands that come from listfiles
95 | # because they might be regenerated.
96 | cmake_check_build_system:
97 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
98 | .PHONY : cmake_check_build_system
99 |
100 |
--------------------------------------------------------------------------------
/CMakeFiles/TargetDirectories.txt:
--------------------------------------------------------------------------------
1 | /home/aprilwang/Documents/HW4/book/CMakeFiles/camera.dir
2 |
--------------------------------------------------------------------------------
/CMakeFiles/camera.dir/CXX.includecache:
--------------------------------------------------------------------------------
1 | #IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
2 |
3 | #IncludeRegexScan: ^.*$
4 |
5 | #IncludeRegexComplain: ^$
6 |
7 | #IncludeRegexTransform:
8 |
9 | /home/aprilwang/Documents/HW4/book/camera.cpp
10 | opencv2/core.hpp
11 | -
12 | opencv2/core/utility.hpp
13 | -
14 | opencv2/highgui.hpp
15 | -
16 | opencv2/imgproc.hpp
17 | -
18 | opencv2/calib3d.hpp
19 | -
20 | opencv2/imgcodecs.hpp
21 | -
22 | opencv2/videoio.hpp
23 | -
24 | stdio.h
25 | -
26 | stdlib.h
27 | -
28 |
29 | /usr/local/include/opencv/cxcore.h
30 | opencv2/core/core_c.h
31 | /usr/local/include/opencv/opencv2/core/core_c.h
32 |
33 | /usr/local/include/opencv2/calib3d.hpp
34 | opencv2/core.hpp
35 | /usr/local/include/opencv2/opencv2/core.hpp
36 | opencv2/features2d.hpp
37 | /usr/local/include/opencv2/opencv2/features2d.hpp
38 | opencv2/core/affine.hpp
39 | /usr/local/include/opencv2/opencv2/core/affine.hpp
40 | opencv2/calib3d/calib3d_c.h
41 | /usr/local/include/opencv2/opencv2/calib3d/calib3d_c.h
42 |
43 | /usr/local/include/opencv2/calib3d/calib3d_c.h
44 | opencv2/core/core_c.h
45 | /usr/local/include/opencv2/calib3d/opencv2/core/core_c.h
46 |
47 | /usr/local/include/opencv2/core.hpp
48 | opencv2/core/cvdef.h
49 | /usr/local/include/opencv2/opencv2/core/cvdef.h
50 | opencv2/core/version.hpp
51 | /usr/local/include/opencv2/opencv2/core/version.hpp
52 | opencv2/core/base.hpp
53 | /usr/local/include/opencv2/opencv2/core/base.hpp
54 | opencv2/core/cvstd.hpp
55 | /usr/local/include/opencv2/opencv2/core/cvstd.hpp
56 | opencv2/core/traits.hpp
57 | /usr/local/include/opencv2/opencv2/core/traits.hpp
58 | opencv2/core/matx.hpp
59 | /usr/local/include/opencv2/opencv2/core/matx.hpp
60 | opencv2/core/types.hpp
61 | /usr/local/include/opencv2/opencv2/core/types.hpp
62 | opencv2/core/mat.hpp
63 | /usr/local/include/opencv2/opencv2/core/mat.hpp
64 | opencv2/core/persistence.hpp
65 | /usr/local/include/opencv2/opencv2/core/persistence.hpp
66 | opencv2/opencv.hpp
67 | /usr/local/include/opencv2/opencv2/opencv.hpp
68 | opencv2/xfeatures2d.hpp
69 | /usr/local/include/opencv2/opencv2/xfeatures2d.hpp
70 | opencv2/core/operations.hpp
71 | /usr/local/include/opencv2/opencv2/core/operations.hpp
72 | opencv2/core/cvstd.inl.hpp
73 | /usr/local/include/opencv2/opencv2/core/cvstd.inl.hpp
74 | opencv2/core/utility.hpp
75 | /usr/local/include/opencv2/opencv2/core/utility.hpp
76 | opencv2/core/optim.hpp
77 | /usr/local/include/opencv2/opencv2/core/optim.hpp
78 |
79 | /usr/local/include/opencv2/core/affine.hpp
80 | opencv2/core.hpp
81 | -
82 |
83 | /usr/local/include/opencv2/core/base.hpp
84 | climits
85 | -
86 | opencv2/core/cvdef.h
87 | /usr/local/include/opencv2/core/opencv2/core/cvdef.h
88 | opencv2/core/cvstd.hpp
89 | /usr/local/include/opencv2/core/opencv2/core/cvstd.hpp
90 | opencv2/hal.hpp
91 | /usr/local/include/opencv2/core/opencv2/hal.hpp
92 | sse_utils.hpp
93 | /usr/local/include/opencv2/core/sse_utils.hpp
94 |
95 | /usr/local/include/opencv2/core/bufferpool.hpp
96 |
97 | /usr/local/include/opencv2/core/core_c.h
98 | opencv2/core/types_c.h
99 | /usr/local/include/opencv2/core/opencv2/core/types_c.h
100 | cxcore.h
101 | /usr/local/include/opencv2/core/cxcore.h
102 | cxcore.h
103 | /usr/local/include/opencv2/core/cxcore.h
104 | opencv2/core/utility.hpp
105 | /usr/local/include/opencv2/core/opencv2/core/utility.hpp
106 |
107 | /usr/local/include/opencv2/core/cvdef.h
108 | opencv2/hal/defs.h
109 | /usr/local/include/opencv2/core/opencv2/hal/defs.h
110 | intrin.h
111 | -
112 |
113 | /usr/local/include/opencv2/core/cvstd.hpp
114 | opencv2/core/cvdef.h
115 | /usr/local/include/opencv2/core/opencv2/core/cvdef.h
116 | cstddef
117 | -
118 | cstring
119 | -
120 | cctype
121 | -
122 | string
123 | -
124 | algorithm
125 | -
126 | utility
127 | -
128 | cstdlib
129 | -
130 | cmath
131 | -
132 | opencv2/core/ptr.inl.hpp
133 | /usr/local/include/opencv2/core/opencv2/core/ptr.inl.hpp
134 |
135 | /usr/local/include/opencv2/core/cvstd.inl.hpp
136 | complex
137 | -
138 | ostream
139 | -
140 |
141 | /usr/local/include/opencv2/core/mat.hpp
142 | opencv2/core/matx.hpp
143 | /usr/local/include/opencv2/core/opencv2/core/matx.hpp
144 | opencv2/core/types.hpp
145 | /usr/local/include/opencv2/core/opencv2/core/types.hpp
146 | opencv2/core/bufferpool.hpp
147 | /usr/local/include/opencv2/core/opencv2/core/bufferpool.hpp
148 | opencv2/core/mat.inl.hpp
149 | /usr/local/include/opencv2/core/opencv2/core/mat.inl.hpp
150 |
151 | /usr/local/include/opencv2/core/mat.inl.hpp
152 |
153 | /usr/local/include/opencv2/core/matx.hpp
154 | opencv2/core/cvdef.h
155 | /usr/local/include/opencv2/core/opencv2/core/cvdef.h
156 | opencv2/core/base.hpp
157 | /usr/local/include/opencv2/core/opencv2/core/base.hpp
158 | opencv2/core/traits.hpp
159 | /usr/local/include/opencv2/core/opencv2/core/traits.hpp
160 |
161 | /usr/local/include/opencv2/core/operations.hpp
162 | cstdio
163 | -
164 |
165 | /usr/local/include/opencv2/core/optim.hpp
166 | opencv2/core.hpp
167 | /usr/local/include/opencv2/core/opencv2/core.hpp
168 |
169 | /usr/local/include/opencv2/core/persistence.hpp
170 | opencv2/core/types.hpp
171 | /usr/local/include/opencv2/core/opencv2/core/types.hpp
172 | opencv2/core/mat.hpp
173 | /usr/local/include/opencv2/core/opencv2/core/mat.hpp
174 | opencv2/opencv.hpp
175 | /usr/local/include/opencv2/core/opencv2/opencv.hpp
176 | time.h
177 | -
178 |
179 | /usr/local/include/opencv2/core/ptr.inl.hpp
180 | algorithm
181 | -
182 |
183 | /usr/local/include/opencv2/core/sse_utils.hpp
184 |
185 | /usr/local/include/opencv2/core/traits.hpp
186 | opencv2/core/cvdef.h
187 | /usr/local/include/opencv2/core/opencv2/core/cvdef.h
188 |
189 | /usr/local/include/opencv2/core/types.hpp
190 | climits
191 | -
192 | cfloat
193 | -
194 | vector
195 | -
196 | opencv2/core/cvdef.h
197 | /usr/local/include/opencv2/core/opencv2/core/cvdef.h
198 | opencv2/core/cvstd.hpp
199 | /usr/local/include/opencv2/core/opencv2/core/cvstd.hpp
200 | opencv2/core/matx.hpp
201 | /usr/local/include/opencv2/core/opencv2/core/matx.hpp
202 |
203 | /usr/local/include/opencv2/core/types_c.h
204 | ipl.h
205 | -
206 | ipl/ipl.h
207 | -
208 | opencv2/core/cvdef.h
209 | /usr/local/include/opencv2/core/opencv2/core/cvdef.h
210 | assert.h
211 | -
212 | stdlib.h
213 | -
214 | string.h
215 | -
216 | float.h
217 | -
218 | opencv2/core.hpp
219 | /usr/local/include/opencv2/core/opencv2/core.hpp
220 |
221 | /usr/local/include/opencv2/core/utility.hpp
222 | opencv2/core.hpp
223 | /usr/local/include/opencv2/core/opencv2/core.hpp
224 | opencv2/core/core_c.h
225 | /usr/local/include/opencv2/core/opencv2/core/core_c.h
226 |
227 | /usr/local/include/opencv2/core/version.hpp
228 |
229 | /usr/local/include/opencv2/features2d.hpp
230 | opencv2/core.hpp
231 | /usr/local/include/opencv2/opencv2/core.hpp
232 | opencv2/flann/miniflann.hpp
233 | /usr/local/include/opencv2/opencv2/flann/miniflann.hpp
234 |
235 | /usr/local/include/opencv2/flann/config.h
236 |
237 | /usr/local/include/opencv2/flann/defines.h
238 | config.h
239 | /usr/local/include/opencv2/flann/config.h
240 |
241 | /usr/local/include/opencv2/flann/miniflann.hpp
242 | opencv2/core.hpp
243 | /usr/local/include/opencv2/flann/opencv2/core.hpp
244 | opencv2/flann/defines.h
245 | /usr/local/include/opencv2/flann/opencv2/flann/defines.h
246 |
247 | /usr/local/include/opencv2/hal.hpp
248 | opencv2/hal/defs.h
249 | /usr/local/include/opencv2/opencv2/hal/defs.h
250 |
251 | /usr/local/include/opencv2/hal/defs.h
252 | limits.h
253 | -
254 | emmintrin.h
255 | -
256 | pmmintrin.h
257 | -
258 | tmmintrin.h
259 | -
260 | smmintrin.h
261 | -
262 | nmmintrin.h
263 | -
264 | nmmintrin.h
265 | -
266 | popcntintrin.h
267 | -
268 | immintrin.h
269 | -
270 | immintrin.h
271 | -
272 | Intrin.h
273 | -
274 | arm_neon.h
275 | /usr/local/include/opencv2/hal/arm_neon.h
276 | arm_neon.h
277 | -
278 | cstdint
279 | -
280 | stdint.h
281 | -
282 | fastmath.h
283 | -
284 | cmath
285 | -
286 | math.h
287 | -
288 | tegra_round.hpp
289 | /usr/local/include/opencv2/hal/tegra_round.hpp
290 | algorithm
291 | -
292 |
293 | /usr/local/include/opencv2/highgui.hpp
294 | opencv2/core.hpp
295 | /usr/local/include/opencv2/opencv2/core.hpp
296 | opencv2/imgcodecs.hpp
297 | /usr/local/include/opencv2/opencv2/imgcodecs.hpp
298 | opencv2/videoio.hpp
299 | /usr/local/include/opencv2/opencv2/videoio.hpp
300 | opencv2/highgui/highgui_c.h
301 | /usr/local/include/opencv2/opencv2/highgui/highgui_c.h
302 |
303 | /usr/local/include/opencv2/highgui/highgui_c.h
304 | opencv2/core/core_c.h
305 | /usr/local/include/opencv2/highgui/opencv2/core/core_c.h
306 | opencv2/imgproc/imgproc_c.h
307 | /usr/local/include/opencv2/highgui/opencv2/imgproc/imgproc_c.h
308 | opencv2/imgcodecs/imgcodecs_c.h
309 | /usr/local/include/opencv2/highgui/opencv2/imgcodecs/imgcodecs_c.h
310 | opencv2/videoio/videoio_c.h
311 | /usr/local/include/opencv2/highgui/opencv2/videoio/videoio_c.h
312 |
313 | /usr/local/include/opencv2/imgcodecs.hpp
314 | opencv2/core.hpp
315 | /usr/local/include/opencv2/opencv2/core.hpp
316 | vector
317 | -
318 | stdio.h
319 | -
320 | opencv2/opencv.hpp
321 | -
322 |
323 | /usr/local/include/opencv2/imgcodecs/imgcodecs_c.h
324 | opencv2/core/core_c.h
325 | /usr/local/include/opencv2/imgcodecs/opencv2/core/core_c.h
326 |
327 | /usr/local/include/opencv2/imgproc.hpp
328 | opencv2/core.hpp
329 | /usr/local/include/opencv2/opencv2/core.hpp
330 | opencv2/core.hpp
331 | -
332 | opencv2/imgproc.hpp
333 | -
334 | opencv2/imgcodecs.hpp
335 | -
336 | opencv2/highgui.hpp
337 | -
338 | iostream
339 | -
340 | opencv2/imgproc.hpp
341 | -
342 | opencv2/highgui.hpp
343 | -
344 | opencv2/imgproc.hpp
345 | -
346 | opencv2/highgui.hpp
347 | -
348 | math.h
349 | -
350 | opencv2/imgproc.hpp
351 | -
352 | opencv2/highgui.hpp
353 | -
354 | opencv2/imgproc.hpp
355 | /usr/local/include/opencv2/opencv2/imgproc.hpp
356 | opencv2/highgui.hpp
357 | /usr/local/include/opencv2/opencv2/highgui.hpp
358 | opencv2/imgproc/imgproc_c.h
359 | /usr/local/include/opencv2/opencv2/imgproc/imgproc_c.h
360 |
361 | /usr/local/include/opencv2/imgproc/imgproc_c.h
362 | opencv2/imgproc/types_c.h
363 | /usr/local/include/opencv2/imgproc/opencv2/imgproc/types_c.h
364 |
365 | /usr/local/include/opencv2/imgproc/types_c.h
366 | opencv2/core/core_c.h
367 | /usr/local/include/opencv2/imgproc/opencv2/core/core_c.h
368 |
369 | /usr/local/include/opencv2/ml.hpp
370 | opencv2/core.hpp
371 | /usr/local/include/opencv2/opencv2/core.hpp
372 | float.h
373 | -
374 | map
375 | -
376 | iostream
377 | -
378 |
379 | /usr/local/include/opencv2/objdetect.hpp
380 | opencv2/core.hpp
381 | /usr/local/include/opencv2/opencv2/core.hpp
382 | opencv2/objdetect/detection_based_tracker.hpp
383 | /usr/local/include/opencv2/opencv2/objdetect/detection_based_tracker.hpp
384 | opencv2/objdetect/objdetect_c.h
385 | /usr/local/include/opencv2/opencv2/objdetect/objdetect_c.h
386 |
387 | /usr/local/include/opencv2/objdetect/detection_based_tracker.hpp
388 | vector
389 | -
390 |
391 | /usr/local/include/opencv2/objdetect/objdetect_c.h
392 | opencv2/core/core_c.h
393 | /usr/local/include/opencv2/objdetect/opencv2/core/core_c.h
394 | deque
395 | -
396 | vector
397 | -
398 |
399 | /usr/local/include/opencv2/opencv.hpp
400 | opencv2/core.hpp
401 | /usr/local/include/opencv2/opencv2/core.hpp
402 | opencv2/imgproc.hpp
403 | /usr/local/include/opencv2/opencv2/imgproc.hpp
404 | opencv2/photo.hpp
405 | /usr/local/include/opencv2/opencv2/photo.hpp
406 | opencv2/video.hpp
407 | /usr/local/include/opencv2/opencv2/video.hpp
408 | opencv2/features2d.hpp
409 | /usr/local/include/opencv2/opencv2/features2d.hpp
410 | opencv2/objdetect.hpp
411 | /usr/local/include/opencv2/opencv2/objdetect.hpp
412 | opencv2/calib3d.hpp
413 | /usr/local/include/opencv2/opencv2/calib3d.hpp
414 | opencv2/imgcodecs.hpp
415 | /usr/local/include/opencv2/opencv2/imgcodecs.hpp
416 | opencv2/videoio.hpp
417 | /usr/local/include/opencv2/opencv2/videoio.hpp
418 | opencv2/highgui.hpp
419 | /usr/local/include/opencv2/opencv2/highgui.hpp
420 | opencv2/ml.hpp
421 | /usr/local/include/opencv2/opencv2/ml.hpp
422 |
423 | /usr/local/include/opencv2/photo.hpp
424 | opencv2/core.hpp
425 | /usr/local/include/opencv2/opencv2/core.hpp
426 | opencv2/imgproc.hpp
427 | /usr/local/include/opencv2/opencv2/imgproc.hpp
428 | opencv2/photo/photo_c.h
429 | /usr/local/include/opencv2/opencv2/photo/photo_c.h
430 |
431 | /usr/local/include/opencv2/photo/photo_c.h
432 | opencv2/core/core_c.h
433 | /usr/local/include/opencv2/photo/opencv2/core/core_c.h
434 |
435 | /usr/local/include/opencv2/video.hpp
436 | opencv2/video/tracking.hpp
437 | /usr/local/include/opencv2/opencv2/video/tracking.hpp
438 | opencv2/video/background_segm.hpp
439 | /usr/local/include/opencv2/opencv2/video/background_segm.hpp
440 | opencv2/video/tracking_c.h
441 | /usr/local/include/opencv2/opencv2/video/tracking_c.h
442 |
443 | /usr/local/include/opencv2/video/background_segm.hpp
444 | opencv2/core.hpp
445 | /usr/local/include/opencv2/video/opencv2/core.hpp
446 |
447 | /usr/local/include/opencv2/video/tracking.hpp
448 | opencv2/core.hpp
449 | /usr/local/include/opencv2/video/opencv2/core.hpp
450 | opencv2/imgproc.hpp
451 | /usr/local/include/opencv2/video/opencv2/imgproc.hpp
452 |
453 | /usr/local/include/opencv2/video/tracking_c.h
454 | opencv2/imgproc/types_c.h
455 | /usr/local/include/opencv2/video/opencv2/imgproc/types_c.h
456 |
457 | /usr/local/include/opencv2/videoio.hpp
458 | opencv2/core.hpp
459 | /usr/local/include/opencv2/opencv2/core.hpp
460 | opencv2/opencv.hpp
461 | /usr/local/include/opencv2/opencv2/opencv.hpp
462 |
463 | /usr/local/include/opencv2/videoio/videoio_c.h
464 | opencv2/core/core_c.h
465 | /usr/local/include/opencv2/videoio/opencv2/core/core_c.h
466 |
467 |
--------------------------------------------------------------------------------
/CMakeFiles/camera.dir/DependInfo.cmake:
--------------------------------------------------------------------------------
1 | # The set of languages for which implicit dependencies are needed:
2 | SET(CMAKE_DEPENDS_LANGUAGES
3 | "CXX"
4 | )
5 | # The set of files for implicit dependencies of each language:
6 | SET(CMAKE_DEPENDS_CHECK_CXX
7 | "/home/aprilwang/Documents/HW4/book/camera.cpp" "/home/aprilwang/Documents/HW4/book/CMakeFiles/camera.dir/camera.cpp.o"
8 | )
9 | SET(CMAKE_CXX_COMPILER_ID "GNU")
10 |
11 | # Targets to which this target links.
12 | SET(CMAKE_TARGET_LINKED_INFO_FILES
13 | )
14 |
15 | # The include file search paths:
16 | SET(CMAKE_C_TARGET_INCLUDE_PATH
17 | "/usr/local/include/opencv"
18 | "/usr/local/include"
19 | )
20 | SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
21 | SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
22 | SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
23 |
--------------------------------------------------------------------------------
/CMakeFiles/camera.dir/build.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 2.8
3 |
4 | #=============================================================================
5 | # Special targets provided by cmake.
6 |
7 | # Disable implicit rules so canonical targets will work.
8 | .SUFFIXES:
9 |
10 | # Remove some rules from gmake that .SUFFIXES does not remove.
11 | SUFFIXES =
12 |
13 | .SUFFIXES: .hpux_make_needs_suffix_list
14 |
15 | # Suppress display of executed commands.
16 | $(VERBOSE).SILENT:
17 |
18 | # A target that is always out of date.
19 | cmake_force:
20 | .PHONY : cmake_force
21 |
22 | #=============================================================================
23 | # Set environment variables for the build.
24 |
25 | # The shell in which to execute make rules.
26 | SHELL = /bin/sh
27 |
28 | # The CMake executable.
29 | CMAKE_COMMAND = /usr/bin/cmake
30 |
31 | # The command to remove a file.
32 | RM = /usr/bin/cmake -E remove -f
33 |
34 | # Escaping for special characters.
35 | EQUALS = =
36 |
37 | # The top-level source directory on which CMake was run.
38 | CMAKE_SOURCE_DIR = /home/aprilwang/Documents/HW4/book
39 |
40 | # The top-level build directory on which CMake was run.
41 | CMAKE_BINARY_DIR = /home/aprilwang/Documents/HW4/book
42 |
43 | # Include any dependencies generated for this target.
44 | include CMakeFiles/camera.dir/depend.make
45 |
46 | # Include the progress variables for this target.
47 | include CMakeFiles/camera.dir/progress.make
48 |
49 | # Include the compile flags for this target's objects.
50 | include CMakeFiles/camera.dir/flags.make
51 |
52 | CMakeFiles/camera.dir/camera.cpp.o: CMakeFiles/camera.dir/flags.make
53 | CMakeFiles/camera.dir/camera.cpp.o: camera.cpp
54 | $(CMAKE_COMMAND) -E cmake_progress_report /home/aprilwang/Documents/HW4/book/CMakeFiles $(CMAKE_PROGRESS_1)
55 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/camera.dir/camera.cpp.o"
56 | /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/camera.dir/camera.cpp.o -c /home/aprilwang/Documents/HW4/book/camera.cpp
57 |
58 | CMakeFiles/camera.dir/camera.cpp.i: cmake_force
59 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/camera.dir/camera.cpp.i"
60 | /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/aprilwang/Documents/HW4/book/camera.cpp > CMakeFiles/camera.dir/camera.cpp.i
61 |
62 | CMakeFiles/camera.dir/camera.cpp.s: cmake_force
63 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/camera.dir/camera.cpp.s"
64 | /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/aprilwang/Documents/HW4/book/camera.cpp -o CMakeFiles/camera.dir/camera.cpp.s
65 |
66 | CMakeFiles/camera.dir/camera.cpp.o.requires:
67 | .PHONY : CMakeFiles/camera.dir/camera.cpp.o.requires
68 |
69 | CMakeFiles/camera.dir/camera.cpp.o.provides: CMakeFiles/camera.dir/camera.cpp.o.requires
70 | $(MAKE) -f CMakeFiles/camera.dir/build.make CMakeFiles/camera.dir/camera.cpp.o.provides.build
71 | .PHONY : CMakeFiles/camera.dir/camera.cpp.o.provides
72 |
73 | CMakeFiles/camera.dir/camera.cpp.o.provides.build: CMakeFiles/camera.dir/camera.cpp.o
74 |
75 | # Object files for target camera
76 | camera_OBJECTS = \
77 | "CMakeFiles/camera.dir/camera.cpp.o"
78 |
79 | # External object files for target camera
80 | camera_EXTERNAL_OBJECTS =
81 |
82 | camera: CMakeFiles/camera.dir/camera.cpp.o
83 | camera: CMakeFiles/camera.dir/build.make
84 | camera: /usr/local/lib/libopencv_videostab.so.3.0.0
85 | camera: /usr/local/lib/libopencv_videoio.so.3.0.0
86 | camera: /usr/local/lib/libopencv_video.so.3.0.0
87 | camera: /usr/local/lib/libopencv_superres.so.3.0.0
88 | camera: /usr/local/lib/libopencv_stitching.so.3.0.0
89 | camera: /usr/local/lib/libopencv_shape.so.3.0.0
90 | camera: /usr/local/lib/libopencv_photo.so.3.0.0
91 | camera: /usr/local/lib/libopencv_objdetect.so.3.0.0
92 | camera: /usr/local/lib/libopencv_ml.so.3.0.0
93 | camera: /usr/local/lib/libopencv_imgproc.so.3.0.0
94 | camera: /usr/local/lib/libopencv_imgcodecs.so.3.0.0
95 | camera: /usr/local/lib/libopencv_highgui.so.3.0.0
96 | camera: /usr/local/lib/libopencv_hal.a
97 | camera: /usr/local/lib/libopencv_flann.so.3.0.0
98 | camera: /usr/local/lib/libopencv_features2d.so.3.0.0
99 | camera: /usr/local/lib/libopencv_core.so.3.0.0
100 | camera: /usr/local/lib/libopencv_calib3d.so.3.0.0
101 | camera: /usr/local/lib/libopencv_features2d.so.3.0.0
102 | camera: /usr/local/lib/libopencv_ml.so.3.0.0
103 | camera: /usr/local/lib/libopencv_highgui.so.3.0.0
104 | camera: /usr/local/lib/libopencv_videoio.so.3.0.0
105 | camera: /usr/local/lib/libopencv_imgcodecs.so.3.0.0
106 | camera: /usr/local/lib/libopencv_flann.so.3.0.0
107 | camera: /usr/local/lib/libopencv_video.so.3.0.0
108 | camera: /usr/local/lib/libopencv_imgproc.so.3.0.0
109 | camera: /usr/local/lib/libopencv_core.so.3.0.0
110 | camera: /usr/local/lib/libopencv_hal.a
111 | camera: /usr/local/share/OpenCV/3rdparty/lib/libippicv.a
112 | camera: CMakeFiles/camera.dir/link.txt
113 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable camera"
114 | $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/camera.dir/link.txt --verbose=$(VERBOSE)
115 |
116 | # Rule to build all files generated by this target.
117 | CMakeFiles/camera.dir/build: camera
118 | .PHONY : CMakeFiles/camera.dir/build
119 |
120 | CMakeFiles/camera.dir/requires: CMakeFiles/camera.dir/camera.cpp.o.requires
121 | .PHONY : CMakeFiles/camera.dir/requires
122 |
123 | CMakeFiles/camera.dir/clean:
124 | $(CMAKE_COMMAND) -P CMakeFiles/camera.dir/cmake_clean.cmake
125 | .PHONY : CMakeFiles/camera.dir/clean
126 |
127 | CMakeFiles/camera.dir/depend:
128 | cd /home/aprilwang/Documents/HW4/book && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/aprilwang/Documents/HW4/book /home/aprilwang/Documents/HW4/book /home/aprilwang/Documents/HW4/book /home/aprilwang/Documents/HW4/book /home/aprilwang/Documents/HW4/book/CMakeFiles/camera.dir/DependInfo.cmake --color=$(COLOR)
129 | .PHONY : CMakeFiles/camera.dir/depend
130 |
131 |
--------------------------------------------------------------------------------
/CMakeFiles/camera.dir/camera.cpp.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/CMakeFiles/camera.dir/camera.cpp.o
--------------------------------------------------------------------------------
/CMakeFiles/camera.dir/cmake_clean.cmake:
--------------------------------------------------------------------------------
1 | FILE(REMOVE_RECURSE
2 | "CMakeFiles/camera.dir/camera.cpp.o"
3 | "camera.pdb"
4 | "camera"
5 | )
6 |
7 | # Per-language clean rules from dependency scanning.
8 | FOREACH(lang CXX)
9 | INCLUDE(CMakeFiles/camera.dir/cmake_clean_${lang}.cmake OPTIONAL)
10 | ENDFOREACH(lang)
11 |
--------------------------------------------------------------------------------
/CMakeFiles/camera.dir/depend.internal:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 2.8
3 |
4 | CMakeFiles/camera.dir/camera.cpp.o
5 | /home/aprilwang/Documents/HW4/book/camera.cpp
6 | /usr/local/include/opencv/cxcore.h
7 | /usr/local/include/opencv2/calib3d.hpp
8 | /usr/local/include/opencv2/calib3d/calib3d_c.h
9 | /usr/local/include/opencv2/core.hpp
10 | /usr/local/include/opencv2/core/affine.hpp
11 | /usr/local/include/opencv2/core/base.hpp
12 | /usr/local/include/opencv2/core/bufferpool.hpp
13 | /usr/local/include/opencv2/core/core_c.h
14 | /usr/local/include/opencv2/core/cvdef.h
15 | /usr/local/include/opencv2/core/cvstd.hpp
16 | /usr/local/include/opencv2/core/cvstd.inl.hpp
17 | /usr/local/include/opencv2/core/mat.hpp
18 | /usr/local/include/opencv2/core/mat.inl.hpp
19 | /usr/local/include/opencv2/core/matx.hpp
20 | /usr/local/include/opencv2/core/operations.hpp
21 | /usr/local/include/opencv2/core/optim.hpp
22 | /usr/local/include/opencv2/core/persistence.hpp
23 | /usr/local/include/opencv2/core/ptr.inl.hpp
24 | /usr/local/include/opencv2/core/sse_utils.hpp
25 | /usr/local/include/opencv2/core/traits.hpp
26 | /usr/local/include/opencv2/core/types.hpp
27 | /usr/local/include/opencv2/core/types_c.h
28 | /usr/local/include/opencv2/core/utility.hpp
29 | /usr/local/include/opencv2/core/version.hpp
30 | /usr/local/include/opencv2/features2d.hpp
31 | /usr/local/include/opencv2/flann/config.h
32 | /usr/local/include/opencv2/flann/defines.h
33 | /usr/local/include/opencv2/flann/miniflann.hpp
34 | /usr/local/include/opencv2/hal.hpp
35 | /usr/local/include/opencv2/hal/defs.h
36 | /usr/local/include/opencv2/highgui.hpp
37 | /usr/local/include/opencv2/highgui/highgui_c.h
38 | /usr/local/include/opencv2/imgcodecs.hpp
39 | /usr/local/include/opencv2/imgcodecs/imgcodecs_c.h
40 | /usr/local/include/opencv2/imgproc.hpp
41 | /usr/local/include/opencv2/imgproc/imgproc_c.h
42 | /usr/local/include/opencv2/imgproc/types_c.h
43 | /usr/local/include/opencv2/ml.hpp
44 | /usr/local/include/opencv2/objdetect.hpp
45 | /usr/local/include/opencv2/objdetect/detection_based_tracker.hpp
46 | /usr/local/include/opencv2/objdetect/objdetect_c.h
47 | /usr/local/include/opencv2/opencv.hpp
48 | /usr/local/include/opencv2/photo.hpp
49 | /usr/local/include/opencv2/photo/photo_c.h
50 | /usr/local/include/opencv2/video.hpp
51 | /usr/local/include/opencv2/video/background_segm.hpp
52 | /usr/local/include/opencv2/video/tracking.hpp
53 | /usr/local/include/opencv2/video/tracking_c.h
54 | /usr/local/include/opencv2/videoio.hpp
55 | /usr/local/include/opencv2/videoio/videoio_c.h
56 |
--------------------------------------------------------------------------------
/CMakeFiles/camera.dir/depend.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 2.8
3 |
4 | CMakeFiles/camera.dir/camera.cpp.o: camera.cpp
5 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv/cxcore.h
6 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/calib3d.hpp
7 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/calib3d/calib3d_c.h
8 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core.hpp
9 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/affine.hpp
10 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/base.hpp
11 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/bufferpool.hpp
12 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/core_c.h
13 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/cvdef.h
14 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/cvstd.hpp
15 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/cvstd.inl.hpp
16 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/mat.hpp
17 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/mat.inl.hpp
18 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/matx.hpp
19 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/operations.hpp
20 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/optim.hpp
21 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/persistence.hpp
22 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/ptr.inl.hpp
23 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/sse_utils.hpp
24 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/traits.hpp
25 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/types.hpp
26 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/types_c.h
27 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/utility.hpp
28 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/core/version.hpp
29 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/features2d.hpp
30 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/flann/config.h
31 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/flann/defines.h
32 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/flann/miniflann.hpp
33 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/hal.hpp
34 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/hal/defs.h
35 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/highgui.hpp
36 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/highgui/highgui_c.h
37 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/imgcodecs.hpp
38 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/imgcodecs/imgcodecs_c.h
39 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/imgproc.hpp
40 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/imgproc/imgproc_c.h
41 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/imgproc/types_c.h
42 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/ml.hpp
43 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/objdetect.hpp
44 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/objdetect/detection_based_tracker.hpp
45 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/objdetect/objdetect_c.h
46 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/opencv.hpp
47 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/photo.hpp
48 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/photo/photo_c.h
49 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/video.hpp
50 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/video/background_segm.hpp
51 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/video/tracking.hpp
52 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/video/tracking_c.h
53 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/videoio.hpp
54 | CMakeFiles/camera.dir/camera.cpp.o: /usr/local/include/opencv2/videoio/videoio_c.h
55 |
56 |
--------------------------------------------------------------------------------
/CMakeFiles/camera.dir/flags.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 2.8
3 |
4 | # compile CXX with /usr/bin/c++
5 | CXX_FLAGS = -I/usr/local/include/opencv -I/usr/local/include
6 |
7 | CXX_DEFINES =
8 |
9 |
--------------------------------------------------------------------------------
/CMakeFiles/camera.dir/link.txt:
--------------------------------------------------------------------------------
1 | /usr/bin/c++ CMakeFiles/camera.dir/camera.cpp.o -o camera -rdynamic /usr/local/lib/libopencv_videostab.so.3.0.0 /usr/local/lib/libopencv_videoio.so.3.0.0 /usr/local/lib/libopencv_video.so.3.0.0 /usr/local/lib/libopencv_superres.so.3.0.0 /usr/local/lib/libopencv_stitching.so.3.0.0 /usr/local/lib/libopencv_shape.so.3.0.0 /usr/local/lib/libopencv_photo.so.3.0.0 /usr/local/lib/libopencv_objdetect.so.3.0.0 /usr/local/lib/libopencv_ml.so.3.0.0 /usr/local/lib/libopencv_imgproc.so.3.0.0 /usr/local/lib/libopencv_imgcodecs.so.3.0.0 /usr/local/lib/libopencv_highgui.so.3.0.0 /usr/local/lib/libopencv_hal.a /usr/local/lib/libopencv_flann.so.3.0.0 /usr/local/lib/libopencv_features2d.so.3.0.0 /usr/local/lib/libopencv_core.so.3.0.0 /usr/local/lib/libopencv_calib3d.so.3.0.0 /usr/local/lib/libopencv_features2d.so.3.0.0 /usr/local/lib/libopencv_ml.so.3.0.0 /usr/local/lib/libopencv_highgui.so.3.0.0 /usr/local/lib/libopencv_videoio.so.3.0.0 /usr/local/lib/libopencv_imgcodecs.so.3.0.0 /usr/local/lib/libopencv_flann.so.3.0.0 /usr/local/lib/libopencv_video.so.3.0.0 /usr/local/lib/libopencv_imgproc.so.3.0.0 /usr/local/lib/libopencv_core.so.3.0.0 /usr/local/lib/libopencv_hal.a -ldl -lm -lpthread -lrt /usr/local/share/OpenCV/3rdparty/lib/libippicv.a -Wl,-rpath,/usr/local/lib
2 |
--------------------------------------------------------------------------------
/CMakeFiles/camera.dir/progress.make:
--------------------------------------------------------------------------------
1 | CMAKE_PROGRESS_1 = 1
2 |
3 |
--------------------------------------------------------------------------------
/CMakeFiles/cmake.check_cache:
--------------------------------------------------------------------------------
1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file
2 |
--------------------------------------------------------------------------------
/CMakeFiles/progress.marks:
--------------------------------------------------------------------------------
1 | 1
2 |
--------------------------------------------------------------------------------
/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # cmake needs this line
2 | cmake_minimum_required(VERSION 2.8)
3 |
4 | # Define project name
5 | project(camera)
6 |
7 | # Find OpenCV, you may need to set OpenCV_DIR variable
8 | # to the absolute path to the directory containing OpenCVConfig.cmake file
9 | # via the command line or GUI
10 | find_package(OpenCV REQUIRED)
11 |
12 | # If the package has been found, several variables will
13 | # be set, you can find the full list with descriptions
14 | # in the OpenCVConfig.cmake file.
15 | # Print some message showing some of them
16 | message(STATUS "OpenCV library status:")
17 | message(STATUS " version: ${OpenCV_VERSION}")
18 | message(STATUS " libraries: ${OpenCV_LIBS}")
19 | message(STATUS " include path: ${OpenCV_INCLUDE_DIRS}")
20 |
21 | # Add OpenCV headers location to your include paths
22 | include_directories(${OpenCV_INCLUDE_DIRS})
23 |
24 | # Declare the executable target built from your sources
25 | add_executable(camera camera.cpp)
26 |
27 | # Link your application with OpenCV libraries
28 | target_link_libraries(camera ${OpenCV_LIBS})
29 |
--------------------------------------------------------------------------------
/Distortion.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 5
5 | 1
6 | f
7 |
8 | 1.28884494e-01 -1.99160263e-01 2.61924416e-03 -5.54078910e-03
9 | 5.11777811e-02
10 |
11 |
--------------------------------------------------------------------------------
/H.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 3
5 | 3
6 | f
7 |
8 | -6.30311203e+00 -1.87739906e+01 3.81114716e+02 3.53278470e+00
9 | -2.20483947e+00 2.62430756e+02 -1.96613707e-02 -8.08556005e-03
10 | -8.50000000e+00
11 |
12 |
--------------------------------------------------------------------------------
/Intrinsics.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 3
5 | 3
6 | f
7 |
8 | 6.93822510e+02 0. 3.23436920e+02 0. 6.90465698e+02 2.35367035e+02 0.
9 | 0. 1.
10 |
11 |
--------------------------------------------------------------------------------
/Makefile:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 2.8
3 |
4 | # Default target executed when no arguments are given to make.
5 | default_target: all
6 | .PHONY : default_target
7 |
8 | #=============================================================================
9 | # Special targets provided by cmake.
10 |
11 | # Disable implicit rules so canonical targets will work.
12 | .SUFFIXES:
13 |
14 | # Remove some rules from gmake that .SUFFIXES does not remove.
15 | SUFFIXES =
16 |
17 | .SUFFIXES: .hpux_make_needs_suffix_list
18 |
19 | # Suppress display of executed commands.
20 | $(VERBOSE).SILENT:
21 |
22 | # A target that is always out of date.
23 | cmake_force:
24 | .PHONY : cmake_force
25 |
26 | #=============================================================================
27 | # Set environment variables for the build.
28 |
29 | # The shell in which to execute make rules.
30 | SHELL = /bin/sh
31 |
32 | # The CMake executable.
33 | CMAKE_COMMAND = /usr/bin/cmake
34 |
35 | # The command to remove a file.
36 | RM = /usr/bin/cmake -E remove -f
37 |
38 | # Escaping for special characters.
39 | EQUALS = =
40 |
41 | # The top-level source directory on which CMake was run.
42 | CMAKE_SOURCE_DIR = /home/aprilwang/Documents/HW4/book
43 |
44 | # The top-level build directory on which CMake was run.
45 | CMAKE_BINARY_DIR = /home/aprilwang/Documents/HW4/book
46 |
47 | #=============================================================================
48 | # Targets provided globally by CMake.
49 |
50 | # Special rule for the target edit_cache
51 | edit_cache:
52 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
53 | /usr/bin/cmake -i .
54 | .PHONY : edit_cache
55 |
56 | # Special rule for the target edit_cache
57 | edit_cache/fast: edit_cache
58 | .PHONY : edit_cache/fast
59 |
60 | # Special rule for the target rebuild_cache
61 | rebuild_cache:
62 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
63 | /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
64 | .PHONY : rebuild_cache
65 |
66 | # Special rule for the target rebuild_cache
67 | rebuild_cache/fast: rebuild_cache
68 | .PHONY : rebuild_cache/fast
69 |
70 | # The main all target
71 | all: cmake_check_build_system
72 | $(CMAKE_COMMAND) -E cmake_progress_start /home/aprilwang/Documents/HW4/book/CMakeFiles /home/aprilwang/Documents/HW4/book/CMakeFiles/progress.marks
73 | $(MAKE) -f CMakeFiles/Makefile2 all
74 | $(CMAKE_COMMAND) -E cmake_progress_start /home/aprilwang/Documents/HW4/book/CMakeFiles 0
75 | .PHONY : all
76 |
77 | # The main clean target
78 | clean:
79 | $(MAKE) -f CMakeFiles/Makefile2 clean
80 | .PHONY : clean
81 |
82 | # The main clean target
83 | clean/fast: clean
84 | .PHONY : clean/fast
85 |
86 | # Prepare targets for installation.
87 | preinstall: all
88 | $(MAKE) -f CMakeFiles/Makefile2 preinstall
89 | .PHONY : preinstall
90 |
91 | # Prepare targets for installation.
92 | preinstall/fast:
93 | $(MAKE) -f CMakeFiles/Makefile2 preinstall
94 | .PHONY : preinstall/fast
95 |
96 | # clear depends
97 | depend:
98 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
99 | .PHONY : depend
100 |
101 | #=============================================================================
102 | # Target rules for targets named camera
103 |
104 | # Build rule for target.
105 | camera: cmake_check_build_system
106 | $(MAKE) -f CMakeFiles/Makefile2 camera
107 | .PHONY : camera
108 |
109 | # fast build rule for target.
110 | camera/fast:
111 | $(MAKE) -f CMakeFiles/camera.dir/build.make CMakeFiles/camera.dir/build
112 | .PHONY : camera/fast
113 |
114 | camera.o: camera.cpp.o
115 | .PHONY : camera.o
116 |
117 | # target to build an object file
118 | camera.cpp.o:
119 | $(MAKE) -f CMakeFiles/camera.dir/build.make CMakeFiles/camera.dir/camera.cpp.o
120 | .PHONY : camera.cpp.o
121 |
122 | camera.i: camera.cpp.i
123 | .PHONY : camera.i
124 |
125 | # target to preprocess a source file
126 | camera.cpp.i:
127 | $(MAKE) -f CMakeFiles/camera.dir/build.make CMakeFiles/camera.dir/camera.cpp.i
128 | .PHONY : camera.cpp.i
129 |
130 | camera.s: camera.cpp.s
131 | .PHONY : camera.s
132 |
133 | # target to generate assembly for a file
134 | camera.cpp.s:
135 | $(MAKE) -f CMakeFiles/camera.dir/build.make CMakeFiles/camera.dir/camera.cpp.s
136 | .PHONY : camera.cpp.s
137 |
138 | # Help Target
139 | help:
140 | @echo "The following are some of the valid targets for this Makefile:"
141 | @echo "... all (the default if no target is provided)"
142 | @echo "... clean"
143 | @echo "... depend"
144 | @echo "... camera"
145 | @echo "... edit_cache"
146 | @echo "... rebuild_cache"
147 | @echo "... camera.o"
148 | @echo "... camera.i"
149 | @echo "... camera.s"
150 | .PHONY : help
151 |
152 |
153 |
154 | #=============================================================================
155 | # Special targets to cleanup operation of make.
156 |
157 | # Special rule to run CMake to check the build system integrity.
158 | # No rule that depends on this can have commands that come from listfiles
159 | # because they might be regenerated.
160 | cmake_check_build_system:
161 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
162 | .PHONY : cmake_check_build_system
163 |
164 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | #摄像机标定与俯瞰视角变换
2 |
3 | #### 摄像机标定及俯瞰视角变换
4 |
5 | > 1. Camera calibration
> 2. Bird's-eye view transformation
6 | ## 一、开发软件说明
7 | ### 开发环境
8 | - Ubuntu 14.04
9 | - cmake 2.8.12.2
10 | - opencv 3.0
11 |
12 | ### 运行方式
13 | - build project `make all`
14 | - run `./camera 8 6 5 3`
15 |
16 | ## 二、算法具体步骤
17 | #### 2.1 通过摄像头获取适合计算的图像
18 | - 每隔一段时间取当前一帧
19 | - 通过cvFindeCornerSubPix函数寻找图像中的棋盘
20 | - 如果棋盘符合输入参数条件的话,保持该棋盘数据
21 |
22 | #### 2.2 计算相机内参数矩阵和变形矩阵
23 | - cvCalibrateCamera2函数计算相机内参数矩阵和变形矩阵
24 |
25 | #### 2.3 矫正后的摄像头
26 | - 将摄像头的每一帧图像矫正后输出
27 | - 需要用到cvInitUndistortMap与cvRemap函数
28 |
29 | #### 2.4 获取一张棋盘在水平面上的图
30 | - 通过摄像头获取一张棋盘在水平面上的图
31 |
32 | #### 2.5 生成鸟瞰图
33 | - 需要用到cvWarpPerspective函数
34 |
35 | ## 三、算法实现要点
36 | #### 3.1 通过摄像头获取适合计算的图像
37 | 
38 |
39 | #### 3.2 计算相机内参数矩阵和变形矩阵
40 | 
41 |
42 | #### 3.3 矫正后的摄像头
43 | 
44 |
45 | #### 3.4 获取一张棋盘在水平面上的图
46 | 
47 |
48 | #### 3.5 生成鸟瞰图
49 | 
50 |
51 | ## 四、实验结果展示及分析
52 | #### 4.1 通过摄像头获取适合计算的图像
53 | 
54 |
55 | 
56 |
57 | 
58 |
59 | 
60 |
61 | 
62 |
63 | #### 4.2 矫正后的摄像头
64 | 
65 |
66 | #### 4.3 获取一张棋盘在水平面上的图
67 |
68 | 
69 |
70 | #### 4.4 生成鸟瞰图
71 |
72 | 
73 |
74 | 
75 |
--------------------------------------------------------------------------------
/Resource/bird-eye.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/Resource/bird-eye.jpg
--------------------------------------------------------------------------------
/camera:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/camera
--------------------------------------------------------------------------------
/camera.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 | #include
5 | #include
6 | #include
7 | #include
8 | #include
9 | #include
10 |
11 | int n_boards = 0;
12 | const int board_dt = 20;
13 | int board_w;
14 | int board_h;
15 |
16 | void get_calib(CvCapture* capture);
17 | void distort_image(CvCapture* capture);
18 | void get_bird_eye(CvCapture* capture);
19 | void bird_eye();
20 |
21 | int main(int argc, char* argv[]) {
22 | if(argc != 5) {
23 | printf("ERROR: Wrong number of input parameters\n");
24 | return -1;
25 | }
26 | board_w = atoi(argv[1]);
27 | board_h = atoi(argv[2]);
28 | n_boards = atoi(argv[3]);
29 | CvCapture* capture = cvCreateCameraCapture(0);
30 | assert(capture);
31 |
32 | //get_calib(capture);
33 | //distort_image(capture);
34 | //get_bird_eye(capture);
35 | bird_eye();
36 | return 0;
37 | }
38 |
39 | void bird_eye() {
40 | int board_n = board_w * board_h;
41 | CvSize board_sz = cvSize(board_w, board_h);
42 | CvMat *intrinsic = (CvMat*) cvLoad("Intrinsics.xml");
43 | CvMat *distortion = (CvMat*) cvLoad("Distortion.xml");
44 |
45 | IplImage* image = cvLoadImage("./Resource/bird-eye.jpg", 1);
46 | IplImage* gray_image = cvCreateImage(cvGetSize(image), 8, 1);
47 | cvCvtColor(image, gray_image, CV_BGR2GRAY);
48 |
49 | IplImage* mapx = cvCreateImage(cvGetSize(image), IPL_DEPTH_32F, 1);
50 | IplImage* mapy = cvCreateImage(cvGetSize(image), IPL_DEPTH_32F, 1);
51 |
52 | cvInitUndistortMap(
53 | intrinsic,
54 | distortion,
55 | mapx,
56 | mapy
57 | );
58 |
59 | IplImage* t = cvCloneImage(image);
60 |
61 | cvRemap(t, image, mapx, mapy);
62 |
63 | cvNamedWindow("Chessboard");
64 | cvShowImage("Chessboard", image);
65 | int c = cvWaitKey(-1);
66 | CvPoint2D32f* corners = new CvPoint2D32f[board_n];
67 | int corner_count = 0;
68 |
69 | int found = cvFindChessboardCorners(
70 | image,
71 | board_sz,
72 | corners,
73 | &corner_count,
74 | CV_CALIB_CB_ADAPTIVE_THRESH | CV_CALIB_CB_FILTER_QUADS
75 | );
76 |
77 | if(!found){
78 | printf("couldn't aquire chessboard!\n");
79 | return;
80 | }
81 |
82 | cvFindCornerSubPix(
83 | gray_image,
84 | corners,
85 | corner_count,
86 | cvSize(11, 11),
87 | cvSize(-1, -1),
88 | cvTermCriteria(CV_TERMCRIT_EPS | CV_TERMCRIT_ITER, 30, 0.1)
89 | );
90 |
91 | CvPoint2D32f objPts[4], imgPts[4];
92 | objPts[0].x = 0; objPts[0].y = 0;
93 | objPts[1].x = board_w - 1; objPts[1].y = 0;
94 | objPts[2].x = 0; objPts[2].y = board_h - 1;
95 | objPts[3].x = board_w - 1; objPts[3].y = board_h - 1;
96 | imgPts[0] = corners[0];
97 | imgPts[1] = corners[board_w - 1];
98 | imgPts[2] = corners[(board_h - 1) * board_w];
99 | imgPts[3] = corners[(board_h - 1) * board_w + board_w - 1];
100 |
101 | cvCircle(image, cvPointFrom32f(imgPts[0]), 9, CV_RGB(0, 0, 255), 3);
102 | cvCircle(image, cvPointFrom32f(imgPts[1]), 9, CV_RGB(0, 255, 0), 3);
103 | cvCircle(image, cvPointFrom32f(imgPts[2]), 9, CV_RGB(255, 0, 0), 3);
104 | cvCircle(image, cvPointFrom32f(imgPts[3]), 9, CV_RGB(255, 255, 0), 3);
105 |
106 | cvDrawChessboardCorners(
107 | image,
108 | board_sz,
109 | corners,
110 | corner_count,
111 | found
112 | );
113 |
114 | cvShowImage("Chessboard", image);
115 |
116 | CvMat *H = cvCreateMat(3, 3, CV_32F);
117 | cvGetPerspectiveTransform(objPts, imgPts, H);
118 |
119 | float z = 25;
120 | int key = 0;
121 | IplImage * birds_image = cvCloneImage(image);
122 | cvNamedWindow("Birds_Eye");
123 |
124 | while(key != 27) {
125 | CV_MAT_ELEM(*H, float, 2, 2) = z;
126 |
127 | cvWarpPerspective(
128 | image,
129 | birds_image,
130 | H,
131 | CV_INTER_LINEAR| CV_WARP_INVERSE_MAP | CV_WARP_FILL_OUTLIERS
132 | );
133 |
134 | cvShowImage("Birds_Eye", birds_image);
135 |
136 | key = cvWaitKey();
137 | if(key == 'u') z += 0.5;
138 | if(key == 'd') z -= 0.5;
139 | }
140 |
141 | cvSave("H.xml", H);
142 | }
143 |
144 | void get_bird_eye(CvCapture* capture) {
145 | printf("haha\n");
146 | //get bird_eye picture
147 | cvNamedWindow("Get_birdeye");
148 |
149 | CvMat *intrinsic = (CvMat*) cvLoad("Intrinsics.xml");
150 | CvMat *distortion = (CvMat*) cvLoad("Distortion.xml");
151 |
152 | IplImage *image = cvQueryFrame(capture);
153 | IplImage *gray_image = cvCreateImage(cvGetSize(image), 8, 1);
154 |
155 | int board_n = board_w * board_h;
156 |
157 | IplImage* mapx = cvCreateImage(cvGetSize(image), IPL_DEPTH_32F, 1);
158 | IplImage* mapy = cvCreateImage(cvGetSize(image), IPL_DEPTH_32F, 1);
159 |
160 | cvInitUndistortMap(
161 | intrinsic,
162 | distortion,
163 | mapx,
164 | mapy
165 | );
166 |
167 | CvSize board_sz = cvSize(board_w, board_h);
168 | CvPoint2D32f* corners = new CvPoint2D32f[board_n];
169 |
170 | int frame = 0;
171 | int corner_count;
172 | bool catch_bird = false;
173 |
174 |
175 | while(!catch_bird) {
176 | IplImage *t = cvCloneImage(image);
177 | if(frame++ % board_dt == 0) {
178 | IplImage* t = cvCloneImage(image);
179 | cvRemap(t, image, mapx, mapy);
180 |
181 | int found = cvFindChessboardCorners(
182 | image,
183 | board_sz,
184 | corners,
185 | &corner_count,
186 | CV_CALIB_CB_ADAPTIVE_THRESH | CV_CALIB_CB_FILTER_QUADS
187 | );
188 |
189 | cvCvtColor(
190 | image,
191 | gray_image,
192 | CV_RGB2GRAY
193 | );
194 |
195 | cvFindCornerSubPix(
196 | gray_image,
197 | corners,
198 | corner_count,
199 | cvSize(11,11),
200 | cvSize(-1, -1),
201 | cvTermCriteria(CV_TERMCRIT_EPS + CV_TERMCRIT_ITER, 30, 0.1)
202 | );
203 |
204 | cvDrawChessboardCorners(
205 | image,
206 | board_sz,
207 | corners,
208 | corner_count,
209 | found
210 | );
211 |
212 | cvShowImage("Get_birdeye", image);
213 | //get a good board, add to data
214 | if(corner_count == board_n) {
215 | catch_bird = true;
216 | printf("That's it!\n");
217 | }
218 | }
219 | int c;
220 | if(catch_bird) c = cvWaitKey(-1);
221 | else c = cvWaitKey(15);
222 | if(catch_bird && c == 's') {
223 | cvSaveImage("./Resource/bird-eye.jpg", t, 0);
224 | printf("save at ./Resource/bird-eye.jpg\n");
225 | }
226 | else catch_bird = false;
227 | if(c == 'p') {
228 | c = 0;
229 | while(c!='p' && c!= 27){
230 | c = cvWaitKey(250);
231 | }
232 | }
233 | image = cvQueryFrame(capture);
234 | }
235 | }
236 |
237 | void get_calib(CvCapture* capture) {
238 | int board_n = board_w * board_h;
239 | CvSize board_sz = cvSize(board_w, board_h);
240 | cvNamedWindow("Calibration");
241 | CvMat* image_points = cvCreateMat(n_boards * board_n, 2, CV_32FC1);
242 | CvMat* object_points = cvCreateMat(n_boards * board_n, 3, CV_32FC1);
243 | CvMat* point_counts = cvCreateMat(n_boards, 1, CV_32FC1);
244 | CvMat* intrinsic_matrix = cvCreateMat(3, 3, CV_32FC1);
245 | CvMat* distortion_coeffs = cvCreateMat(5, 1, CV_32FC1);
246 |
247 | CvPoint2D32f* corners = new CvPoint2D32f[board_n];
248 | int corner_count;
249 | int successes = 0;
250 | int step, frame = 0;
251 | IplImage *image = cvQueryFrame(capture);
252 | IplImage *gray_image = cvCreateImage(cvGetSize(image), 8, 1);
253 |
254 |
255 | while(successes < n_boards) {
256 | if(frame++ % board_dt == 0) {
257 | int found = cvFindChessboardCorners(
258 | image, board_sz, corners, &corner_count,
259 | CV_CALIB_CB_ADAPTIVE_THRESH | CV_CALIB_CB_FILTER_QUADS);
260 | cvCvtColor(image, gray_image, CV_RGB2GRAY);
261 | cvFindCornerSubPix(gray_image, corners, corner_count,
262 | cvSize(11,11), cvSize(-1, -1),
263 | cvTermCriteria(CV_TERMCRIT_EPS + CV_TERMCRIT_ITER, 30, 0.1));
264 | cvDrawChessboardCorners(image, board_sz, corners, corner_count, found);
265 | cvShowImage("Calibration", image);
266 | //get a good board, add to data
267 | if(corner_count == board_n) {
268 | printf("here\n");
269 | step = successes * board_n;
270 | for(int i = step, j = 0; j < board_n; ++i, ++j) {
271 | CV_MAT_ELEM(*image_points, float, i, 0) = corners[j].x;
272 | CV_MAT_ELEM(*image_points, float, i, 1) = corners[j].y;
273 | CV_MAT_ELEM(*object_points, float, i, 0) = j / board_w;
274 | CV_MAT_ELEM(*object_points, float, i, 1) = j % board_w;
275 | CV_MAT_ELEM(*object_points, float, i, 2) = 0.0f;
276 | }
277 |
278 | CV_MAT_ELEM(*point_counts, int, successes, 0) = board_n;
279 | successes++;
280 | printf("Nice shot!\n");
281 | int k = cvWaitKey(-1);
282 | while(k != 'n') k = cvWaitKey(-1);
283 | }
284 | }
285 | //Handle pause/unpause
286 | int c = cvWaitKey(15);
287 | if(c == 'p') {
288 | c = 0;
289 | while(c!='p' && c!= 27){
290 | c = cvWaitKey(250);
291 | }
292 | }
293 |
294 | if(c == 27) return;
295 | image = cvQueryFrame(capture);
296 | }
297 |
298 | printf("Finish samples!");
299 |
300 | CvMat *object_points2 = cvCreateMat(successes * board_n, 3, CV_32FC1);
301 | CvMat *image_points2 = cvCreateMat(successes * board_n, 2, CV_32FC1);
302 | CvMat *point_counts2 = cvCreateMat(successes, 1, CV_32SC1);
303 |
304 | for(int i = 0; i < successes * board_n; ++i) {
305 | CV_MAT_ELEM(*image_points2, float, i, 0) = CV_MAT_ELEM(*image_points, float, i, 0);
306 | CV_MAT_ELEM(*image_points2, float, i, 1) = CV_MAT_ELEM(*image_points, float, i, 1);
307 | CV_MAT_ELEM(*object_points2, float, i, 0) = CV_MAT_ELEM(*object_points, float, i, 0);
308 | CV_MAT_ELEM(*object_points2, float, i, 1) = CV_MAT_ELEM(*object_points, float, i, 1);
309 | CV_MAT_ELEM(*object_points2, float, i, 2) = CV_MAT_ELEM(*object_points, float, i, 2);
310 | }
311 |
312 | for(int i = 0; i < successes; ++i) {
313 | CV_MAT_ELEM(*point_counts2, int, i, 0) = CV_MAT_ELEM(*point_counts, int, i, 0);
314 | }
315 |
316 | cvReleaseMat(&object_points);
317 | cvReleaseMat(&image_points);
318 | cvReleaseMat(&point_counts);
319 |
320 | CV_MAT_ELEM(*intrinsic_matrix, float, 0, 0) = 1.0f;
321 | CV_MAT_ELEM(*intrinsic_matrix, float, 1, 1) = 1.0f;
322 |
323 | printf("Ready for calib\n");
324 |
325 | cvCalibrateCamera2(
326 | object_points2, image_points2,
327 | point_counts2, cvGetSize(image),
328 | intrinsic_matrix, distortion_coeffs,
329 | NULL, NULL, 0
330 | );
331 |
332 | printf("Ready for save\n");
333 | cvSave("Intrinsics.xml", intrinsic_matrix);
334 | cvSave("Distortion.xml", distortion_coeffs);
335 | }
336 |
337 |
338 | void distort_image(CvCapture* capture){
339 | IplImage *image = cvQueryFrame(capture);
340 | CvMat *intrinsic = (CvMat*) cvLoad("Intrinsics.xml");
341 | CvMat *distortion = (CvMat*) cvLoad("Distortion.xml");
342 |
343 | IplImage* mapx = cvCreateImage(cvGetSize(image), IPL_DEPTH_32F, 1);
344 | IplImage* mapy = cvCreateImage(cvGetSize(image), IPL_DEPTH_32F, 1);
345 |
346 | printf("Ready for undistort\n");
347 | cvInitUndistortMap(intrinsic, distortion, mapx, mapy);
348 |
349 | printf("After init\n");
350 | cvNamedWindow("Undistort");
351 | while(image) {
352 | IplImage* t = cvCloneImage(image);
353 | cvShowImage("Calibration", image);
354 | cvRemap(t, image, mapx, mapy);
355 | cvReleaseImage(&t);
356 | cvShowImage("Undistort", image);
357 |
358 | int c = cvWaitKey(15);
359 | if(c=='p') {
360 | c = 0;
361 | while(c!='p' && c!=27) {
362 | c = cvWaitKey(250);
363 | }
364 | }
365 |
366 | if(c == 27) break;
367 | image = cvQueryFrame(capture);
368 | }
369 | }
370 |
--------------------------------------------------------------------------------
/cmake_install.cmake:
--------------------------------------------------------------------------------
1 | # Install script for directory: /home/aprilwang/Documents/HW4/book
2 |
3 | # Set the install prefix
4 | IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
5 | SET(CMAKE_INSTALL_PREFIX "/usr/local")
6 | ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
7 | STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
8 |
9 | # Set the install configuration name.
10 | IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
11 | IF(BUILD_TYPE)
12 | STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
14 | ELSE(BUILD_TYPE)
15 | SET(CMAKE_INSTALL_CONFIG_NAME "")
16 | ENDIF(BUILD_TYPE)
17 | MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
18 | ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
19 |
20 | # Set the component getting installed.
21 | IF(NOT CMAKE_INSTALL_COMPONENT)
22 | IF(COMPONENT)
23 | MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
24 | SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
25 | ELSE(COMPONENT)
26 | SET(CMAKE_INSTALL_COMPONENT)
27 | ENDIF(COMPONENT)
28 | ENDIF(NOT CMAKE_INSTALL_COMPONENT)
29 |
30 | # Install shared libraries without execute permission?
31 | IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
32 | SET(CMAKE_INSTALL_SO_NO_EXE "1")
33 | ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
34 |
35 | IF(CMAKE_INSTALL_COMPONENT)
36 | SET(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
37 | ELSE(CMAKE_INSTALL_COMPONENT)
38 | SET(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
39 | ENDIF(CMAKE_INSTALL_COMPONENT)
40 |
41 | FILE(WRITE "/home/aprilwang/Documents/HW4/book/${CMAKE_INSTALL_MANIFEST}" "")
42 | FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})
43 | FILE(APPEND "/home/aprilwang/Documents/HW4/book/${CMAKE_INSTALL_MANIFEST}" "${file}\n")
44 | ENDFOREACH(file)
45 |
--------------------------------------------------------------------------------
/pic/31.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/pic/31.tiff
--------------------------------------------------------------------------------
/pic/32.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/pic/32.tiff
--------------------------------------------------------------------------------
/pic/33.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/pic/33.tiff
--------------------------------------------------------------------------------
/pic/34.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/pic/34.tiff
--------------------------------------------------------------------------------
/pic/35.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/pic/35.tiff
--------------------------------------------------------------------------------
/pic/avatar.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/pic/avatar.jpg
--------------------------------------------------------------------------------
/pic/bird-eye.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/pic/bird-eye.jpg
--------------------------------------------------------------------------------
/pic/get1.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/pic/get1.tiff
--------------------------------------------------------------------------------
/pic/get2.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/pic/get2.tiff
--------------------------------------------------------------------------------
/pic/get3.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/pic/get3.tiff
--------------------------------------------------------------------------------
/pic/get4.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/pic/get4.tiff
--------------------------------------------------------------------------------
/pic/get5.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/pic/get5.tiff
--------------------------------------------------------------------------------
/pic/result1.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/pic/result1.tiff
--------------------------------------------------------------------------------
/pic/result2.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/pic/result2.tiff
--------------------------------------------------------------------------------
/pic/result3.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LittleAprilFool/camera-calibration/58a34f569884fc4c141424c7029efe5537a06922/pic/result3.tiff
--------------------------------------------------------------------------------