"Video Stabilization Using Point Feature Matching" Example- cannot find "cvexEstSt​abilizatio​nTform" or "cvexTformToSRT" function files

16 次查看(过去 30 天)
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? 

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2022-3-11
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 个)

类别

Help CenterFile Exchange 中查找有关 Computer Vision Toolbox 的更多信息

产品


版本

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by