How to make 5 frame average and let them combine into a image?如何讓5張影格合成一張圖片

1 次查看(过去 30 天)
我想讓影片中前五張影格合成1張他們平均值的圖片.請問該如何做? How to make 5 frame average and let them combine into a image?

回答(1 个)

Image Analyst
Image Analyst 2016-12-4
Try this:
averageFrame = uint8((double(frame1) + double(frame2) + double(frame3) + double(frame4) + double(frame5))/5);

Community Treasure Hunt

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

Start Hunting!

Translated by