Initial commit
parent
958160e177
commit
225f668539
@ -0,0 +1,33 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.0)
|
||||||
|
|
||||||
|
# project name
|
||||||
|
project(hdrplus)
|
||||||
|
|
||||||
|
# set c++ standard
|
||||||
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
|
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")
|
||||||
|
|
||||||
|
# Arm / X86 optimize flag
|
||||||
|
if(${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "arm*")
|
||||||
|
message(STATUS "ARM processor detected, will attempt to use NEON.")
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpu=neon")
|
||||||
|
else()
|
||||||
|
message(STATUS "Assuming AVX2 instructions available.")
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mavx2")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(NOT APPLE)
|
||||||
|
# The clang compiler (on osx) is somehow much more strict
|
||||||
|
# than the compilers on ubuntu and so this does not seem
|
||||||
|
# possible on OSX just yet.
|
||||||
|
add_definitions( -Werror )
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# dependency opencv
|
||||||
|
find_package( OpenCV REQUIRED )
|
||||||
|
include_directories( ${OpenCV_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
# executable
|
||||||
|
add_executable( demo bin/demo.cpp )
|
||||||
|
target_link_libraries( demo ${OpenCV_LIBS} )
|
@ -1,2 +1,3 @@
|
|||||||
# HDR-
|
# HDR+
|
||||||
HDR+ Paper reimplementation, UC Berkeley Spring 2022 CS184/284A Final Project
|
> HDR+ Paper reimplementation
|
||||||
|
> UC Berkeley Spring 2022 CS184/284A Final Project
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
#include "hdrplus/hdrplus.h"
|
@ -0,0 +1,8 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <opencv2/opencv.hpp> // all opencv header
|
||||||
|
|
||||||
|
namespace hdrplus
|
||||||
|
{
|
||||||
|
|
||||||
|
} // namespace hdrplus
|
@ -0,0 +1,8 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <opencv2/opencv.hpp> // all opencv header
|
||||||
|
|
||||||
|
namespace hdrplus
|
||||||
|
{
|
||||||
|
|
||||||
|
} // namespace hdrplus
|
@ -0,0 +1,8 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <opencv2/opencv.hpp> // all opencv header
|
||||||
|
|
||||||
|
namespace hdrplus
|
||||||
|
{
|
||||||
|
|
||||||
|
} // namespace hdrplus
|
@ -0,0 +1,8 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <opencv2/opencv.hpp> // all opencv header
|
||||||
|
|
||||||
|
namespace hdrplus
|
||||||
|
{
|
||||||
|
|
||||||
|
} // namespace hdrplus
|
@ -0,0 +1,8 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <opencv2/opencv.hpp> // all opencv header
|
||||||
|
|
||||||
|
namespace hdrplus
|
||||||
|
{
|
||||||
|
|
||||||
|
} // namespace hdrplus
|
@ -0,0 +1,8 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <opencv2/opencv.hpp> // all opencv header
|
||||||
|
|
||||||
|
namespace hdrplus
|
||||||
|
{
|
||||||
|
|
||||||
|
} // namespace hdrplus
|
@ -0,0 +1,7 @@
|
|||||||
|
#include <opencv2/opencv.hpp> // all opencv header
|
||||||
|
#include "hdrplus/align.h"
|
||||||
|
|
||||||
|
namespace hdrplus
|
||||||
|
{
|
||||||
|
|
||||||
|
} // namespace hdrplus
|
@ -0,0 +1,7 @@
|
|||||||
|
#include <opencv2/opencv.hpp> // all opencv header
|
||||||
|
#include "hdrplus/bayer_image.h"
|
||||||
|
|
||||||
|
namespace hdrplus
|
||||||
|
{
|
||||||
|
|
||||||
|
} // namespace hdrplus
|
@ -0,0 +1,7 @@
|
|||||||
|
#include <opencv2/opencv.hpp> // all opencv header
|
||||||
|
#include "hdrplus/burst.h"
|
||||||
|
|
||||||
|
namespace hdrplus
|
||||||
|
{
|
||||||
|
|
||||||
|
} // namespace hdrplus
|
@ -0,0 +1,7 @@
|
|||||||
|
#include <opencv2/opencv.hpp> // all opencv header
|
||||||
|
#include "hdrplus/finish.h"
|
||||||
|
|
||||||
|
namespace hdrplus
|
||||||
|
{
|
||||||
|
|
||||||
|
} // namespace hdrplus
|
@ -0,0 +1,7 @@
|
|||||||
|
#include <opencv2/opencv.hpp> // all opencv header
|
||||||
|
#include "hdrplus/hdrplus.h"
|
||||||
|
|
||||||
|
namespace hdrplus
|
||||||
|
{
|
||||||
|
|
||||||
|
} // namespace hdrplus
|
@ -0,0 +1,7 @@
|
|||||||
|
#include <opencv2/opencv.hpp> // all opencv header
|
||||||
|
#include "hdrplus/merge.h"
|
||||||
|
|
||||||
|
namespace hdrplus
|
||||||
|
{
|
||||||
|
|
||||||
|
} // namespace hdrplus
|
Loading…
Reference in New Issue