Problem with the function 'rectifyStereoImages'

6 vues (au cours des 30 derniers jours)
ciel
ciel le 4 Mai 2016
when I run this code in Matlab R2014a:
[J1,J2]=rectifyStereoImages(I1,I2,stereoParams);
An error occurs:
Operands to the || and && operators must be convertible to logical scalar
values.
Error in vision.CameraParameters/getValidBounds (line 694)
if left > right || top > bot
...
Then I correct the code like this:
[J1,J2]=rectifyStereoImages(I1,I2,stereoParams,'OutputView','full');
It runs for a long long time,and then shows ”Out of memory“
Error using horzcat
Out of memory. Type HELP MEMORY for your options.
Error in vision.internal.calibration.ImageTransformer/computeMap (line 146)
ptsIn = [X(:) Y(:)]; % remapmex requires singles
...
I can't understand why out of memory, my picture I1 and I2 is just 14KB. I'm not sure if it is concerned with the varible "stereoParams" since the MeanReprojectError is somewhat strange-5.5。
I appreciate very much if anyone can help me.

Réponses (0)

Catégories

En savoir plus sur Computer Vision Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by