Performing Operations on an Image Sequence
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!