When following the code example at http://au.mathworks.com/help/vision/examples/uncalibrated-stereo-image-rectification.html I get an error no the final image rectification step with the following command (output included) I wonder if my version of the Computer Vision Toolbox (6.1 under R2014b) is not supporting this operation?:
>> [I1Rect, I2Rect] = rectifyStereoImages(I1, I2, tform1, tform2); Error using rectifyStereoImages Expected stereoParams to be one of these types:
stereoParameters
Instead its type was projective2d.
Error in rectifyStereoImages>validateStereoParameters (line 129) validateattributes(params, {'stereoParameters'}, …
Error in rectifyStereoImages>parseInputs (line 109) validateStereoParameters(stereoParams);
Error in rectifyStereoImages (line 96) [I1, I2, interp, outputView, fillValues] = parseInputs(…
>>
Thank you in advance of any advice received.
James
Best Answer