How do I generate code for 'rectifyStereoImages' functionality to rectify stereo camera images?
Ältere Kommentare anzeigen
I have 2 images ('img1' and 'img2'), and have a variable called 'stereoParameters' that contains the Stereo Parameters. that I have generated by calibrating my stereo camera.
I run the following function without a problem:
>> [J1,J2] = rectifyStereoImages(img1,img2,stereoParameters)
I would like to generate C code for the same. When I tried to generate code with the 'codegen' function, I keep getting the following error:
>> codegen rectifyStereoImages -args {coder.typeof(img1), coder.typeof(img2), coder.typeof(stereoParameters)};
??? Not enough input arguments. Error in ==> rectifyStereoImages Line: 112 Column: 5 Code generation failed: View Error Report Error using codegen
Why do I see this error? How do I generate code that can rectify images?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu MATLAB Support Package for USB Webcams finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!