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

1 view (last 30 days)
Fu-An Nung
Fu-An Nung on 4 Dec 2016
Answered: Image Analyst on 4 Dec 2016
我想讓影片中前五張影格合成1張他們平均值的圖片.請問該如何做? How to make 5 frame average and let them combine into a image?

Answers (1)

Image Analyst
Image Analyst on 4 Dec 2016
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!