MoamenMokhtar / Coarse-to-fine-matching

7 stars 4 forks source link

Hello MoamenMokhtar, Params.txt, about parameters #1

Open yangninghua opened 4 years ago

yangninghua commented 4 years ago

Hello MoamenMokhtar, Params.txt, about parameters

s_min =
s_max =

lambda_min =
lambda_max =

h_min =
h_max =

theta_min =
theta_max =

thrF =
thrR =

has_mask =
mask_name =

Is there any default value recommended, such as this image, by the way, paste my cmakelist implementation

cmake_minimum_required(VERSION 3.12)
project(Coarse_to_fine_matching)

set(CMAKE_CXX_STANDARD 14)

# OpenCV依赖
set(OpenCV_DIR "/media/spple/新加卷1/opencv-3.4.1/install_4/share/OpenCV/")
find_package( OpenCV REQUIRED )

FIND_PACKAGE( OpenMP REQUIRED)
if(OPENMP_FOUND)
    message("OPENMP FOUND")
    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
    set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}")
endif()

include_directories("/home/spple/CLionProjects/Coarse-to-fine-matching/header" ${OpenCV_INCLUDE_DIRS})

add_executable(Coarse_to_fine_matching main.cpp CoarseToFineAffineSearch.cpp CoarseToFineRegionSearch.cpp)

target_link_libraries(Coarse_to_fine_matching
        ${OpenCV_LIBS}
        )
yangninghua commented 4 years ago

image image