Performing Operations on an Image Sequence

조회 수: 13 (최근 30일)
rrv
rrv 2019년 2월 16일
편집: Image Analyst 2019년 2월 16일
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.

답변 (1개)

Image Analyst
Image Analyst 2019년 2월 16일
편집: Image Analyst 2019년 2월 16일
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.

카테고리

Help CenterFile Exchange에서 Large Files and Big Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by