Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 MATLAB 中创建了一个程序,它加载了一个视频,然后选择了一个对象。在该视频开始播放后,我可以跟随我被选中的对象。对象在二进制视频中进行跟踪。通常它只有 3 或 4 个像素,但这些像素的坐标(我的意思是对象)。我怎样才能做到这一点?
get(hpanel,'position')
将返回[left bottom width height]矩形的 4 元素向量。
[left bottom width height]