Performing Operations on an Image Sequence

1 Ansicht (letzte 30 Tage)
rrv
rrv am 16 Feb. 2019
Bearbeitet: Image Analyst am 16 Feb. 2019
I am looking for the centroid and diameter of the every frame in an image sequence. How can I save the list of data in csv file format? It's in the for loop by the way.

Antworten (1)

Image Analyst
Image Analyst am 16 Feb. 2019
Bearbeitet: Image Analyst am 16 Feb. 2019
In the loop, just save the values to your lists, then call csvwrite() after the loop.
for k = 1 : numberOfFrames
centroids(k) = .......
diameters(k) = ......
end
csvwrite(centroidFileName, centroids);
csvwrite(diameterFileName, diameters);
I'm assuming you already have your lists of data, centroids and diameters.

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by