Combine video frames to calculate average motion of a plume
2 次查看(过去 30 天)
显示 更早的评论
Hi,
For my master these we make sediment plumes (like smoke plumes, but with sediment) in water and study the motion of the plume.
We film it and have to calculate the average motion, such as the boundaries where the plume goes and the centerline of the plume.
So what I would like to do, is, from all frames, calculate the average plume...
Is there somebody with a good idea?
Thank you!
Stijn
0 个评论
采纳的回答
Image Analyst
2012-3-10
Average plume? You mean average image, since there is a plume in every image? Sum them up and divide by the number of images??? Make sure you cast to single or double first because summing uint8's will clip to 255.
2 个评论
Image Analyst
2012-3-21
See my BlobsDemo in my File Exchange for a tutuorial on how to make measurements on the image using regionprops. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
更多回答(2 个)
James morgenstern
2012-3-21
you need to process each image separately. i would segment the plume from the background. Now extract geometric measures from the plume: get the centroid, calculate the spatial covariance 2d matrix. then the covariance matrix can be analyzed, for example get the eigen vectors which approximate the plume as an ellipse and give you the orientation and the length of the 2 axes.
0 个评论
James morgenstern
2012-3-21
it can be dangerous to simply sum the images. does not account for any drift in the centroid of the plume! you need a process to account for the dynamics of the plume.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!