johannesu / stereo Goto Github PK
View Code? Open in Web Editor NEWEstimate a depth map from two or more images
License: GNU General Public License v2.0
Estimate a depth map from two or more images
License: GNU General Public License v2.0
Your sample image looks quite good, better than most other stereo code on github. Is there any way to compile this without mex/matlab? I'm on a new macbook and it seems like the mex command is not possible to install anymore.
Hi,
I was trying to reproduce your code for generating a disparity map from the stereo input images
However, I got the following error in MATLAB.
Error using nargin
You can only call nargin/nargout from within a MATLAB function.
Error in vgg_mexcompile_script (line 20)
if nargin == 2 && isequal(varargin{1}, 'compile')
Error in vgg_segment_ms (line 36)
vgg_mexcompile_script; % Compilation happens in this script
Error in dispmap_globalstereo/preprocess (line 391)
info.segment = vgg_segment_ms(Rorig, self.options.seg_params(1), ...
Error in dispmap_globalstereo (line 55)
preprocess(self);
Error in example_global (line 29)
dm = dispmap_globalstereo(images,P, disp_range, disparity_factor, options);
Please advise on how to overcome this error
Error using nargin
You can only call nargin/nargout from within a MATLAB function.
Error in vgg_mexcompile_script (line 20)
if nargin == 2 && isequal(varargin{1}, 'compile')
I change it to a function as well and set the first input as 'compile'. However, it then requires other stuff. Can you clarify what should be inputed to the function then since vgg_mexcompile_script requires funcName, sourceList, varargin{2}
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.