computer vision - How to use Mori's superpixels Matlab code on Windows -
how use mori's superpixels matlab code (http://www.cs.sfu.ca/~mori/research/superpixels/) on windows?
i ran mex , downloaded segbench.readme file in segbench says
(1) image , segmentation reading routines in dataset directory work, make sure edit dataset/bsdsroot.m point local copy of bsds dataset.
(2) run 'gmake install' directory build everything. should put lib/matlab directory in matlab path.
(3) read benchmark/readme file.
for 1st step, changed path in bsdsroot.m c:\users\rajan\desktop\superpixels have file want segment.
for 2nd step ran command gmake install in terminal , got
c:\users\rajan\desktop\superpixels\segbench>gmake install
gmake[1]: entering directory `c:/users/rajan/desktop/superpixels/segbench/util'
gnumakefile-library:26: * mexsuffix not defined. stop.
gmake[1]: leaving directory `c:/users/rajan/desktop/superpixels/segbench/util'
slightly adapted explanation given on website.
- run mex on each .c file in yu_imncut directory
- obtain mfm-pb boundary detector code http://www.cs.berkeley.edu/projects/vision/grouping/segbench/
- change path names in sp_demo.m , pbwrapper.m
- run sp_demo.m
Comments
Post a Comment