SeamSeg: Video Object Segmentation using Patch Seams
论文阅读 + demo搭建
demo搭建
调试环境
- 操作系统:Mac OSX 10.9
- Matlab 2014a
- Opencv版本2.4.13
代码下载
- 根据论文提供的地址下载源码:
http://val.serc.iisc.ernet.in/seamSeg/seamSeg.html - 下载安装mexopencv。
相关文件的编译
- 编译子目录下的ERS下的cpp。直接运行ERS下的make.m
- FeatureMatching_Dependency目录下的相关文件编译
其中coherency_eigen.cpp,im2colstep.cpp的编译较为简单。
integral.cpp,Sobel.cpp需要用到matlab与opencv库的混编,需要用到mexopencv。 - tstool中的nn_search, nn_prepare的编译。从http://www.physik3.gwdg.de/tstool/下载tstool代码。64位Mac需要自己编译源代码。可能是由于编译器原因,派生类中调用基类中的函数需要指明所属域显示调用,对源代码进行部分修改。
nearneigh_search.h如果该文件报错,且错误位置为test或者类似的函数找不到,则加上基类名,如下
nearneigh_searcher<POINT_SET>::test(j, query_point, table.highdist());
4.到这里,程序应该能够成功调用了。