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!