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

Antworten (2)

Walter Roberson
Walter Roberson am 10 Aug. 2016

0 Stimmen

save() ?
store it in a cell array?
store it as a column in a numeric array?

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

mohamad almasi
mohamad almasi am 10 Aug. 2016

0 Stimmen

hi walter, thanks for your attention, actually store in a 2*N array.
thanks a lot

Gefragt:

am 10 Aug. 2016

Kommentiert:

am 10 Aug. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by