Debut Tests ASIFT + Essai VISP simplifié
This commit is contained in:
parent
a41f1ba991
commit
fbafece5af
1339 changed files with 153161 additions and 56 deletions
53
ASIFT_tests/demo_ASIFT_src/CMakeLists.txt~
Executable file
53
ASIFT_tests/demo_ASIFT_src/CMakeLists.txt~
Executable file
|
@ -0,0 +1,53 @@
|
|||
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
|
||||
|
||||
# Author : Pierre Moulon
|
||||
# Date : December 2010.
|
||||
# README :
|
||||
# The following cmake works for windows.
|
||||
# Openmp is accessible only on the professionnal version of Visual Studio.
|
||||
# In order to use OPENMP in visual your have to add the preprocessor _OPENMP
|
||||
# and enable OPENMP library in C/C++/Language.
|
||||
PROJECT(ASIFT)
|
||||
|
||||
ADD_SUBDIRECTORY(io_png)
|
||||
ADD_SUBDIRECTORY(libMatch)
|
||||
ADD_SUBDIRECTORY(libNumerics)
|
||||
|
||||
FIND_PACKAGE(OpenMP)
|
||||
if (OPENMP_FOUND)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
|
||||
endif (OPENMP_FOUND)
|
||||
|
||||
IF(MSVC)
|
||||
ADD_DEFINITIONS(/arch:SSE2)
|
||||
ENDIF(MSVC)
|
||||
|
||||
IF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-strict-aliasing")
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra -Wno-write-strings")
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated -ansi")
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -ftree-vectorize -funroll-loops")
|
||||
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
|
||||
set(ASIFT_srcs
|
||||
numerics1.cpp frot.cpp splines.cpp fproj.cpp
|
||||
library.cpp flimage.cpp filter.cpp
|
||||
demo_lib_sift.cpp compute_asift_keypoints.cpp
|
||||
compute_asift_matches.cpp
|
||||
orsa.cpp #demo_ASIFT.cpp
|
||||
|
||||
#ASIFT_matcher.cpp
|
||||
|
||||
io_png/io_png.c)
|
||||
|
||||
include_directories(.
|
||||
./io_png
|
||||
./io_png/libs/png)
|
||||
|
||||
|
||||
add_executable(demo_ASIFT demo_ASIFT.cpp ${ASIFT_srcs})
|
||||
|
||||
add_executable(test_ASIFT test_ASIFT.cpp ASIFT_matcher.cpp ${ASIFT_srcs})
|
||||
|
||||
TARGET_LINK_LIBRARIES(demo_ASIFT png zlib Match Numerics)
|
Loading…
Add table
Add a link
Reference in a new issue