Stereo Vision with computer vision tool box

The Demo-StereoVision which was given in the HELP is perfectly working for the images in the example and some of the images from web. I have Clicked two images with a disparity of 15cm(with perfect measurements). But the images which i have taken are not working with that code. Please tell me why this is happening.
I also want to know the distance between objects or distance to object from camera. Please help me in this regard.

3 Comments

Is there an error message? If not, how do you know it is not working?
The error shown in Matlab is: ??? Bad value for axes property: 'YLim'
Values must be increasing and non-NaN
Error in ==> scribe.colorbar.methods>setConfiguration at 741
set(cbar,'YLim',lim,'XLim',[0 1]);
Error in ==> scribe.colorbar.methods at 19
feval(args{:});
Error in ==> scribe.colorbar.colorbar at 103
methods(h,'setConfiguration', ax);
Error in ==> colorbar>make_colorbar at 226
ch=scribe.colorbar(peeraxes,location,position,pvpairs{:});
Error in ==> colorbar at 190
[c,msg] = make_colorbar(peeraxes,location,position,pvpairs);
Error in ==> ster at 179
imshow(DbasicSubpixel,[]), axis image, colormap('jet'), colorbar;
Please check it out. If you want the images which i have taken, I will mail them to u. Please give your email ID to me. We can have any further discussion there. Waiting for your reply.

Sign in to comment.

Answers (0)

Categories

Asked:

on 7 Feb 2012

Edited:

on 2 Oct 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!