CMake Support
parent
225f668539
commit
2914357f97
@ -0,0 +1,4 @@
|
||||
|
||||
# Dependency
|
||||
|
||||
1. [OpenCV](git@github.com:opencv/opencv.git) v4.5.5 build from source through CMake
|
@ -1 +1,7 @@
|
||||
#include "hdrplus/hdrplus.h"
|
||||
#include "hdrplus/hdrplus_pipeline.h"
|
||||
|
||||
int main( int argc, char** argv )
|
||||
{
|
||||
hdrplus::hdrplus_pipeline pipeline;
|
||||
pipeline.run_pipeline();
|
||||
}
|
@ -1,8 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <opencv2/opencv.hpp> // all opencv header
|
||||
#include <hdrplus/bayer_image.h>
|
||||
|
||||
namespace hdrplus
|
||||
{
|
||||
|
||||
|
||||
class burst
|
||||
{
|
||||
std::vector<hdrplus::bayer_image> bayer_images;
|
||||
};
|
||||
|
||||
} // namespace hdrplus
|
||||
|
@ -1,8 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <opencv2/opencv.hpp> // all opencv header
|
||||
|
||||
namespace hdrplus
|
||||
{
|
||||
|
||||
} // namespace hdrplus
|
@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include <opencv2/opencv.hpp> // all opencv header
|
||||
#include <hdrplus/burst.h>
|
||||
#include <hdrplus/align.h>
|
||||
#include <hdrplus/merge.h>
|
||||
#include <hdrplus/finish.h>
|
||||
|
||||
namespace hdrplus
|
||||
{
|
||||
|
||||
class hdrplus_pipeline
|
||||
{
|
||||
private:
|
||||
hdrplus::align align;
|
||||
hdrplus::merge merge;
|
||||
hdrplus::finish finish;
|
||||
|
||||
public:
|
||||
void run_pipeline();
|
||||
};
|
||||
|
||||
} // namespace hdrplus
|
@ -1,7 +0,0 @@
|
||||
#include <opencv2/opencv.hpp> // all opencv header
|
||||
#include "hdrplus/hdrplus.h"
|
||||
|
||||
namespace hdrplus
|
||||
{
|
||||
|
||||
} // namespace hdrplus
|
@ -0,0 +1,13 @@
|
||||
#include <cstdio>
|
||||
#include <opencv2/opencv.hpp> // all opencv header
|
||||
#include "hdrplus/hdrplus_pipeline.h"
|
||||
|
||||
namespace hdrplus
|
||||
{
|
||||
|
||||
void hdrplus_pipeline::run_pipeline()
|
||||
{
|
||||
printf("Run pipeline\n");
|
||||
}
|
||||
|
||||
} // namespace hdrplus
|
Loading…
Reference in New Issue