Problem with the function 'rectifyStereoImages'
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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.
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Computer Vision Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!