vogechri / prsm Goto Github PK
View Code? Open in Web Editor NEWPiecewise Rigid Scene Model - Implementation IJCV'15
License: GNU Lesser General Public License v3.0
Piecewise Rigid Scene Model - Implementation IJCV'15
License: GNU Lesser General Public License v3.0
Error in SegmentImageCube (line 36); Undefined function or variable 'SuperPixelMisc'.
There are no source code form SuperPixelMisc, therefore I can not create mac mex binary.
Where is the source code for SuperPixelMisc? Also missing code for Stereo_SGM probably.
Hi, I'm trying to compile this but I get an error saying that there is no such file called "Math/Vector.h". I'm quite new to MATLAB and compiling using it, what library/files does Math/Vector.h refer to and where can I get them?
Verbose mode is on.
No MEX options file identified; looking for an implicit selection.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/6/libstdc++.so').
... Executing command 'g++ -dumpversion' ...Yes ('6.3.0').
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Looking for folder '/usr' ...Yes.
... Executing command 'g++ -dumpmachine' ...Yes ('x86_64-linux-gnu').
Found installed compiler 'g++'.
Set INCLUDE = /usr/lib/gcc/x86_64-linux-gnu/6.3.0/include;/usr/include/c++/6.3.0;/usr/include/c++/6.3.0/x86_64-linux-gnu;/usr/include/c++/6.3.0/backward;
Options file details
-------------------------------------------------------------------
Compiler location: /usr/bin/g++
Options file: /usr/local/MATLAB/R2019a/bin/glnxa64/mexopts/g++_glnxa64.xml
CMDLINE2 : g++ -pthread -Wl,--no-undefined -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2019a/extern/lib/glnxa64/c_exportsmexfileversion.map" /tmp/mex_50128684820405_12808/MexInterface.o /tmp/mex_50128684820405_12808/graph.o /tmp/mex_50128684820405_12808/maxflow.o /tmp/mex_50128684820405_12808/cpp_mexapi_version.o -lgomp -Wl,--as-needed -Wl,-rpath-link,/usr/local/MATLAB/R2019a/bin/glnxa64 -L"/usr/local/MATLAB/R2019a/bin/glnxa64" -Wl,-rpath-link,/usr/local/MATLAB/R2019a/extern/bin/glnxa64 -L"/usr/local/MATLAB/R2019a/extern/bin/glnxa64" -lMatlabDataArray -lmx -lmex -lmat -lm -lstdc++ -o /disks/local/PRSM-master/./solvePWRSMulti/mex/Seg_3SM.mexa64
CXX : g++
DEFINES : -D_SEG_ -D_sse_linux_ -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE
MATLABMEX : -DMATLAB_MEX_FILE
CFLAGS : -fexceptions -fPIC -fno-omit-frame-pointer -pthread
CXXFLAGS : -fPIC -fopenmp -march=native
INCLUDE : -I"/SceneFlowCode/CPP" -I"/SceneFlowCode/maxflow-v3.03.src" -I"." -I"/usr/local/MATLAB/R2019a/extern/include" -I"/usr/local/MATLAB/R2019a/simulink/include"
CXXOPTIMFLAGS : -O2 -fwrapv -DNDEBUG
CXXDEBUGFLAGS : -g
LDXX : g++
LDFLAGS : -pthread -Wl,--no-undefined
LDTYPE : -shared
LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2019a/extern/lib/glnxa64/mexFunction.map"
LINKEXPORTVER : -Wl,--version-script,"/usr/local/MATLAB/R2019a/extern/lib/glnxa64/c_exportsmexfileversion.map"
LINKLIBS : -lgomp -Wl,--as-needed -Wl,-rpath-link,/usr/local/MATLAB/R2019a/bin/glnxa64 -L"/usr/local/MATLAB/R2019a/bin/glnxa64" -Wl,-rpath-link,/usr/local/MATLAB/R2019a/extern/bin/glnxa64 -L"/usr/local/MATLAB/R2019a/extern/bin/glnxa64" -lMatlabDataArray -lmx -lmex -lmat -lm -lstdc++
LDOPTIMFLAGS : -O
LDDEBUGFLAGS : -g
MWCPPLIB : "/usr/local/MATLAB/R2019a/sys/os/glnxa64/libstdc++.so.6"
OBJEXT : .o
LDEXT : .mexa64
SETENV : CC="gcc"
CXX="g++"
CFLAGS="-fexceptions -fPIC -fno-omit-frame-pointer -pthread -D_SEG_ -D_sse_linux_ -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE "
CXXFLAGS="-fPIC -fopenmp -march=native -D_SEG_ -D_sse_linux_ -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE "
COPTIMFLAGS="-O2 -fwrapv -DNDEBUG"
CXXOPTIMFLAGS="-O2 -fwrapv -DNDEBUG"
CDEBUGFLAGS="-g"
CXXDEBUGFLAGS="-g"
LD="gcc"
LDXX="g++"
LDFLAGS="-pthread -Wl,--no-undefined -shared -lgomp -Wl,--as-needed -Wl,-rpath-link,/usr/local/MATLAB/R2019a/bin/glnxa64 -L"/usr/local/MATLAB/R2019a/bin/glnxa64" -Wl,-rpath-link,/usr/local/MATLAB/R2019a/extern/bin/glnxa64 -L"/usr/local/MATLAB/R2019a/extern/bin/glnxa64" -lMatlabDataArray -lmx -lmex -lmat -lm -lstdc++ -Wl,--version-script,"/usr/local/MATLAB/R2019a/extern/lib/glnxa64/mexFunction.map""
LDDEBUGFLAGS="-g"
GCC : /usr/bin/g++
CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/6/libstdc++.so
VER : 6.3.0
GCCDIR : /usr
GCC_TARGET : x86_64-linux-gnu
MATLABROOT : /usr/local/MATLAB/R2019a
ARCH : glnxa64
SRC : "/disks/local/PRSM-master/./SceneFlowCode/VCSF_CODE/MexInterface.cpp";"/disks/local/PRSM-master/./SceneFlowCode/maxflow-v3.03.src/graph.cpp";"/disks/local/PRSM-master/./SceneFlowCode/maxflow-v3.03.src/maxflow.cpp";"/usr/local/MATLAB/R2019a/extern/version/cpp_mexapi_version.cpp"
OBJ : /tmp/mex_50128684820405_12808/MexInterface.o;/tmp/mex_50128684820405_12808/graph.o;/tmp/mex_50128684820405_12808/maxflow.o;/tmp/mex_50128684820405_12808/cpp_mexapi_version.o
OBJS : /tmp/mex_50128684820405_12808/MexInterface.o /tmp/mex_50128684820405_12808/graph.o /tmp/mex_50128684820405_12808/maxflow.o /tmp/mex_50128684820405_12808/cpp_mexapi_version.o
SRCROOT : /disks/local/PRSM-master/./SceneFlowCode/VCSF_CODE/MexInterface
DEF : /tmp/mex_50128684820405_12808/Seg_3SM.def
EXP : "/disks/local/PRSM-master/./solvePWRSMulti/mex/Seg_3SM.exp"
LIB : "/disks/local/PRSM-master/./solvePWRSMulti/mex/Seg_3SM.lib"
EXE : /disks/local/PRSM-master/./solvePWRSMulti/mex/Seg_3SM.mexa64
ILK : "/disks/local/PRSM-master/./solvePWRSMulti/mex/Seg_3SM.ilk"
MANIFEST : "/disks/local/PRSM-master/./solvePWRSMulti/mex/Seg_3SM.mexa64.manifest"
TEMPNAME : /disks/local/PRSM-master/./solvePWRSMulti/mex/Seg_3SM
EXEDIR : /disks/local/PRSM-master/./solvePWRSMulti/mex/
EXENAME : Seg_3SM
CC : g++
LD : g++
OPTIMFLAGS : /O2 /DNDEBUG /openmp
OPTIM : -O2 -fwrapv -DNDEBUG
LINKOPTIM : -O
CMDLINE1_0 : g++ -c -D_SEG_ -D_sse_linux_ -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/SceneFlowCode/CPP" -I"/SceneFlowCode/maxflow-v3.03.src" -I"." -I"/usr/local/MATLAB/R2019a/extern/include" -I"/usr/local/MATLAB/R2019a/simulink/include" -fPIC -fopenmp -march=native -O2 -fwrapv -DNDEBUG "/disks/local/PRSM-master/./SceneFlowCode/VCSF_CODE/MexInterface.cpp" -o /tmp/mex_50128684820405_12808/MexInterface.o
CMDLINE1_1 : g++ -c -D_SEG_ -D_sse_linux_ -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/SceneFlowCode/CPP" -I"/SceneFlowCode/maxflow-v3.03.src" -I"." -I"/usr/local/MATLAB/R2019a/extern/include" -I"/usr/local/MATLAB/R2019a/simulink/include" -fPIC -fopenmp -march=native -O2 -fwrapv -DNDEBUG "/disks/local/PRSM-master/./SceneFlowCode/maxflow-v3.03.src/graph.cpp" -o /tmp/mex_50128684820405_12808/graph.o
CMDLINE1_2 : g++ -c -D_SEG_ -D_sse_linux_ -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/SceneFlowCode/CPP" -I"/SceneFlowCode/maxflow-v3.03.src" -I"." -I"/usr/local/MATLAB/R2019a/extern/include" -I"/usr/local/MATLAB/R2019a/simulink/include" -fPIC -fopenmp -march=native -O2 -fwrapv -DNDEBUG "/disks/local/PRSM-master/./SceneFlowCode/maxflow-v3.03.src/maxflow.cpp" -o /tmp/mex_50128684820405_12808/maxflow.o
CMDLINE1_3 : g++ -c -D_SEG_ -D_sse_linux_ -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/SceneFlowCode/CPP" -I"/SceneFlowCode/maxflow-v3.03.src" -I"." -I"/usr/local/MATLAB/R2019a/extern/include" -I"/usr/local/MATLAB/R2019a/simulink/include" -fPIC -fopenmp -march=native -O2 -fwrapv -DNDEBUG "/usr/local/MATLAB/R2019a/extern/version/cpp_mexapi_version.cpp" -o /tmp/mex_50128684820405_12808/cpp_mexapi_version.o
-------------------------------------------------------------------
Building with 'g++'.
g++ -c -D_SEG_ -D_sse_linux_ -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/SceneFlowCode/CPP" -I"/SceneFlowCode/maxflow-v3.03.src" -I"." -I"/usr/local/MATLAB/R2019a/extern/include" -I"/usr/local/MATLAB/R2019a/simulink/include" -fPIC -fopenmp -march=native -O2 -fwrapv -DNDEBUG "/disks/local/PRSM-master/./SceneFlowCode/VCSF_CODE/MexInterface.cpp" -o /tmp/mex_50128684820405_12808/MexInterface.o
Error using mex
In file included from /disks/local/PRSM-master/./SceneFlowCode/VCSF_CODE/MexInterface.cpp:26:0:
/disks/local/PRSM-master/./SceneFlowCode/VCSF_CODE/VCSF_GC.h:13:26: fatal error: Math/VectorT.h: No such file
or directory
#include "Math/VectorT.h"
^
compilation terminated.
Undefined function or variable 'fullStepTGV_PF24_s'.
Error in tgv_level_flow (line 43)
[u,v,w,p,q] = fullStepTGV_PF24_s( I1,I2, par.ring, u,v, par.lambda, yids, xids, vids, max(yids),
max(xids), cat(1, u(:), v(:), w(:) ), cat(1, p(:), q(:)), par.warps, par.maxits, par.cEps, 0,
par.dataTerm );
Error in pyramidFlow (line 108)
[u, v, w, pp, qq] = tgv_level_flow(I1_Pyramid{level}, I2_Pyramid{level}, ...
Error in TGV_flow (line 43)
flow = pyramidFlow(I1, I2, p, 16);
Error in generateProposals (line 79)
flowL_2d = TGV_flow( 1.25/255, 12.333, warps, pyrscale, ref.I(1).I, ref.I(2).I, innerIts, 2,
dataterm, 0);
Error in run_pwrs_red (line 214)
[N_prop, RT_prop] = generateProposals(p, cam, ref, Seg );
This function is only provided in mexa64 format, but cannot be compiled, may be since we are using different matlab versions, I could not use the function.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.