save pixel coordinate in image

조회 수: 9 (최근 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