"Video Stabilization Using Point Feature Matching" Example- cannot find "cvexEstStabilizationTform" or "cvexTformToSRT" function files
16 views (last 30 days)
Show older comments
MathWorks Support Team
on 11 Oct 2019
Edited: MathWorks Support Team
on 11 Mar 2022
I am trying to follow the example for "Video Stabilization Using Point Feature Matching" given in the documentation for the Computer Vision Toolbox:
https://www.mathworks.com/help/vision/ug/video-stabilization-using-point-feature-matching.html?searchHighlight=cvexEstStabilizationTform&s_tid=doc_srchtitleI have simply copied and pasted the code given on that documentation page into a script. However, when I run that script, I encounter the following error message:Error in videostabilize_pm (line 252)H = cvexEstStabilizationTform(imgA,imgB);What files do I need to run this example? And where can I find them?
Accepted Answer
MathWorks Support Team
on 10 Mar 2022
Edited: MathWorks Support Team
on 11 Mar 2022
To run this example, you need to 2 files, both of which can be found in the following MATLAB folder:
C:\Program Files\MATLAB\R2019a\examples\vision\main
Copy the "cvexEstStabilizationTform.m" and "cvexTformToSRT.m" function files from this folder and paste them into your working directory.
Your code should now run through the example as expected.
0 Comments
More Answers (0)
See Also
Categories
Find more on Computer Vision Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!