简体   繁体   中英

Getting coordinate for Matlab image processing

I create a program in MATLAB that loaded a video and then selected an object. After that video start to run I can follow the object that I have been selected. The object is tracking in the binary video. usually it's just 3 or 4 pixel, but the coordinate of those pixels (I mean object). How can I do this?

get(hpanel,'position')

将返回一个矩形为[left bottom width height]的4元素向量。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM