save pixel coordinate in image
显示 更早的评论
Hi, I wanna to save pixel coordinate of a point from a video, please help me how can I do this, thanks for devote your time for me in advance
回答(2 个)
Walter Roberson
2016-8-10
0 个投票
save() ?
store it in a cell array?
store it as a column in a numeric array?
1 个评论
Walter Roberson
2016-8-10
for frameidx = 1 : 10
this_frame = get_a_frame_here();
[x, y] = your_find_pixel_coordinate_routine(this_frame);
saved_xy(:, frameidx) = [x; y];
end
类别
在 帮助中心 和 File Exchange 中查找有关 Video Formats and Interfaces 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!