"Video Stabilization Using Point Feature Matching" Example- cannot find "cvexEstStabilizationTform" or "cvexTformToSRT" function files
16 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2019-10-11
编辑: MathWorks Support Team
2022-3-11
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
2022-3-10
编辑: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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!