Image Stitching 图像融合
发布时间
阅读量:
阅读量
Ex6: Image Stitching 图像拼接
完整代码可在Github平台获取,具体链接如下:
Ex6 Image Stitching
#include "ImageStitching.h"
int main() {
// read image filenames
string filepath = "../TEST-ImageData(2)/";
string outputpath = "../result/";
vector<string> filenames;
// under ubuntu environment
DIR *dir;
struct dirent *ptr;
if ((dir=opendir(filepath.c_str())) == NULL) {
perror("open directory error!");
exit(1);
}
while ((ptr=readdir(dir)) != NULL) {
if(ptr->d_t
全部评论 (0)
还没有任何评论哟~
