EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
# j0 J$ c5 L' N# R9 p
7 p4 F! y: Q8 G3 @: z$ g: p
& D1 V9 a) n+ p% D. P Y1 m: ^. W
这是readme文件中的说明: Please follow these simple instructions to get the
* A+ ~( U! ]6 Z+ \/ t0 a$ [: AToolBox 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.6 y# @8 J! u& z: i: }! N. u2 O4 R
4) Build the library files required by the toolbox by executing 8 X1 i) B4 b4 [
the following at the matlab commandline: mex GraphCutSegment.cpp graph.cpp maxflow.cpp
! S% I2 ~6 \" a+ c* g, e" e& X0 Q8 `, L6 k2 w
AND
# t$ V2 K& V. h5 wmex GraphCutSegmentLazy.cpp graph.cpp maxflow.cpp
This should create the library files (ex: FileName.dll in Windows or+ w6 ^. a% J) J' @- O
FileName.mexmac in MacOS) 我按上面操作生成了一个GraphCutSegmentLazy.mexw64文件 另一个生成失败了 但是按照readme说明不是应该生成.dll文件吗?这个列表里本来就有,这个mexw64是来运行程序的吗?
8 f# b( O; y2 m6 k! F4 @
9 ?! r$ k4 f( J8 l' x6 h
4 U" z, m9 C( c9 f. i
9 l( X* U1 A; b) C0 ?1 |& k |