How do I generate code for 'rectifyStereoImages' functionality to rectify stereo camera images?
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur MATLAB Support Package for USB Webcams dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!