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.
24 lines
542 B
C++
24 lines
542 B
C++
3 years ago
|
#include "hdrplus/align.h"
|
||
|
#include "hdrplus/bayer_image.h"
|
||
|
#include "hdrplus/burst.h"
|
||
|
#include <cstdio>
|
||
|
|
||
|
void test_align_one_level(int argc, char** argv)
|
||
|
{
|
||
|
if ( argc != 3 )
|
||
|
{
|
||
|
printf("Usage ./test_align BUTST_PATH REF_PATH");
|
||
|
}
|
||
|
hdrplus::burst burst_images( argv[1], argv[2] );
|
||
|
std::vector<std::vector<std::vector<std::pair<int, int>>>> alignments;
|
||
|
|
||
|
hdrplus::align align_module;
|
||
|
align_module.process( burst_images, alignments );
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
int main(int argc, char** argv)
|
||
|
{
|
||
|
test_align_one_level(argc, argv);
|
||
|
}
|