Rank: 705 based on 99 downloads (last 30 days) and 1 file submitted
photo

Miki Rubinstein

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Miki
Updated   File Tags Downloads
(last 30 days)
Comments Rating
16 Sep 2008 maxflow A wrapper library for Boykov and Kolmogorov max-flow/min-cut implementation Author: Miki Rubinstein cut, min, flow, graph cut, max, mathematics 99 18
  • 3.88889
3.9 | 9 ratings
Comments and Ratings on Miki's Files View all
Updated File Comment by Comments Rating
09 Feb 2012 maxflow A wrapper library for Boykov and Kolmogorov max-flow/min-cut implementation Author: Miki Rubinstein Antoniuk

Hi all,
Can't comile mex file... here is my output

/usr/local/matlab79/bin/mex -I.. -O -output maxflowmex.mexa64 maxflowmex.cpp

Warning: You are using gcc version "4.6.2". The earliest gcc version supported
         with mex is "4.1". The latest version tested for use with mex is "4.2".
         To download a different version of gcc, visit http://gcc.gnu.org

In file included from maxflow-v3.0/graph.h:43:0,
                 from maxflowmex.cpp:20:
maxflow-v3.0/block.h: In member function ‘Type* Block<Type>::New(int)’:
maxflow-v3.0/block.h:124:76: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
maxflow-v3.0/block.h: In member function ‘Type* DBlock<Type>::New()’:
maxflow-v3.0/block.h:223:76: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
maxflowmex.o: In function `mexFunction':
maxflowmex.cpp:(.text+0x116): undefined reference to `Graph<float, float, float>::Graph(int, int, void (*)(char*))'
maxflowmex.cpp:(.text+0x139): undefined reference to `Graph<float, float, float>::reallocate_nodes(int)'
maxflowmex.cpp:(.text+0x209): undefined reference to `Graph<float, float, float>::reallocate_arcs()'
maxflowmex.cpp:(.text+0x3ee): undefined reference to `Graph<float, float, float>::maxflow(bool, Block<int>*)'
maxflowmex.cpp:(.text+0x464): undefined reference to `Graph<float, float, float>::~Graph()'
collect2: ld returned 1 exit status

    mex: link of ' "maxflowmex.mexa64"' failed.

Can some one help me with it ?

13 Jul 2011 maxflow A wrapper library for Boykov and Kolmogorov max-flow/min-cut implementation Author: Miki Rubinstein JD

Per 23 june 2010 comment, I also tried flipping image.
Per 17 Aug 2009 comment I also tried simple binary test images (black X and black blob on white background.
Binary labeling does not match source image in any case.

Was someone able to get proper labeling for an image? If so, what image did you use?

13 Jul 2011 maxflow A wrapper library for Boykov and Kolmogorov max-flow/min-cut implementation Author: Miki Rubinstein JD

Thanks for upload. Need help with interpreting output to confirm code runs properly.

The code builds and runs fine on R2010b-64 bit system with VisualStudio2008-64. However, Test2.m output produces a binary labeled image of the waterfallf.bmp picture that does not match RGB image. The boundary between labeled regions does not match coastline or any other feature.
What is the correct output for Test2.m ?

02 May 2011 maxflow A wrapper library for Boykov and Kolmogorov max-flow/min-cut implementation Author: Miki Rubinstein Lee, Tak Yeon

I'm sorry .. build seems to be okay. But when I'm trying to run test1.m and test2.m I got the above error.

02 May 2011 maxflow A wrapper library for Boykov and Kolmogorov max-flow/min-cut implementation Author: Miki Rubinstein Lee, Tak Yeon

When trying to build it, I got this error below :

??? Error using ==> maxflowmex
Function "mxGetIr_700" is obsolete in file ".\compat32.cpp", line 264.
(64-bit mex files using sparse matrices must be rebuilt with the "-largeArrayDims" option.
See the R2006b release notes for more details.)

Error in ==> maxflow at 35
[flow,labels] = maxflowmex(A,T);

Error in ==> test1 at 32
[flow,labels] = maxflow(A,T)

Top Tags Applied by Miki
cut, flow, graph cut, mathematics, max
Files Tagged by Miki
Updated   File Tags Downloads
(last 30 days)
Comments Rating
16 Sep 2008 maxflow A wrapper library for Boykov and Kolmogorov max-flow/min-cut implementation Author: Miki Rubinstein cut, min, flow, graph cut, max, mathematics 99 18
  • 3.88889
3.9 | 9 ratings

Contact us at files@mathworks.com