"moving average" of last 3 images

1 回表示 (過去 30 日間)
AAS
AAS 2022 年 3 月 14 日
コメント済み: AAS 2022 年 3 月 14 日
Hi everyone,
I have about 1000 images and I want to remove the images that changes drastically from the past 3 images in the vector. So I want to find a way to dynamically keep saving mean of last 3 images in a vectore and see how much the next image in the loop changes from these values. How do I do that?
Thanks

採用された回答

Image Analyst
Image Analyst 2022 年 3 月 14 日
That's what I do in the attached demo, but for just the one prior frame. You'll see that it's easy to modify to average more prior frames on line 223. Adapt as needed.
  1 件のコメント
AAS
AAS 2022 年 3 月 14 日
Thanks a lot!!

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by