You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
351 B
C++
19 lines
351 B
C++
6 months ago
|
#include "hdrplus/hdrplus_pipeline.h"
|
||
|
|
||
|
int main( int argc, char** argv )
|
||
|
{
|
||
|
std::vector<std::string> paths;
|
||
|
for (int idx = 2; idx < argc; idx++)
|
||
|
{
|
||
|
paths.push_back(argv[idx]);
|
||
|
}
|
||
|
|
||
|
cv::Mat rgb;
|
||
|
|
||
|
hdrplus::hdrplus_pipeline pipeline;
|
||
|
pipeline.run_pipeline( paths, 0, rgb);
|
||
|
|
||
|
cv::imwrite(argv[1], rgb);
|
||
|
|
||
|
return 0;
|
||
|
}
|