EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
* ]" G3 b; ?) f+ M( G+ m8 A" h
! X- V! w" a7 j8 N3 v
* b9 X) a p: |( o7 Y9 I9 n8 ]9 y' s这是readme文件中的说明: Please follow these simple instructions to get the
- Z* N# S/ e9 GToolBox 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.
9 l3 @& X6 Y( p/ K8 D
4) Build the library files required by the toolbox by executing ( p1 N( r4 C1 P1 Q4 `% R, C
the following at the matlab commandline: mex GraphCutSegment.cpp graph.cpp maxflow.cpp/ X9 M) g7 x z: V. I6 t j# D
# a% w/ U2 y) I; @% j7 k/ V
AND9 t- M' m \+ M
mex GraphCutSegmentLazy.cpp graph.cpp maxflow.cpp
This should create the library files (ex: FileName.dll in Windows or
' i V/ ]$ L/ v! iFileName.mexmac in MacOS) 我按上面操作生成了一个GraphCutSegmentLazy.mexw64文件 另一个生成失败了 但是按照readme说明不是应该生成.dll文件吗?这个列表里本来就有,这个mexw64是来运行程序的吗? % n5 {2 x2 p: n, W! F4 `
. n2 f y+ z% s/ l( V, r) e6 u
' E6 W1 W, P% }1 c! c
, ~8 ]5 o$ j& l* V2 ~/ R |