save pixel coordinate in image

6 ビュー (過去 30 日間)
mohamad almasi
mohamad almasi 2016 年 8 月 10 日
コメント済み: Walter Roberson 2016 年 8 月 10 日
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
Walter Roberson 2016 年 8 月 10 日
save() ?
store it in a cell array?
store it as a column in a numeric array?
  1 件のコメント
Walter Roberson
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

サインインしてコメントする。


mohamad almasi
mohamad almasi 2016 年 8 月 10 日
hi walter, thanks for your attention, actually store in a 2*N array.
thanks a lot

Community Treasure Hunt

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

Start Hunting!

Translated by