EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
! x% z& {8 }: Z: `/ c" r
9 o; o4 c6 H" ?$ @- T: S2 y2 ^% ~
/ [4 w: _, D) r
这是readme文件中的说明: Please follow these simple instructions to get the 1 h1 q: l0 U6 z- h' b
ToolBox working: 1) Download and unzip SegToolBox.zip from the website. ****** PRECAUTION: Please make sure that the path-name to the directory where files are unzipped does NOT contain any spaces. ****** 2) Open Matlab. Cd to the unzipped directory whcih has all the files. 3) Make sure you have mex C++ compiler installed (Ex: Visual C++.) - To choose the compiler type "mex -setup" at the matlab commandline.
- Follow the instructions therein until you have chosen a C++ compiler.) D/ e# S5 h5 Z+ g
4) Build the library files required by the toolbox by executing
+ ^8 X0 H+ N% p% Cthe following at the matlab commandline: mex GraphCutSegment.cpp graph.cpp maxflow.cpp- ?) ^+ g( K9 u M- }
' L1 }. `1 ^% TAND2 Z2 ?4 d1 l2 q) V% p) W
mex GraphCutSegmentLazy.cpp graph.cpp maxflow.cpp
This should create the library files (ex: FileName.dll in Windows or" A* I7 Q4 h. I4 a
FileName.mexmac in MacOS) 我按上面操作生成了一个GraphCutSegmentLazy.mexw64文件 另一个生成失败了 但是按照readme说明不是应该生成.dll文件吗?这个列表里本来就有,这个mexw64是来运行程序的吗? ' N1 y) V! T' ^0 G$ h* ^# s
, M9 l8 x, T9 k6 K+ Q7 e3 R, W6 \
. q) u8 ?5 v( e$ n+ b/ c, {2 U/ e
$ R1 d4 p5 w5 }2 |, Q) t$ N
|