How do I generate code for 'rectifyStereoImages' functionality to rectify stereo camera images?
Mostra commenti meno recenti
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?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su MATLAB Support Package for USB Webcams in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!