How can I add 20 frames of noise N1 to N20 such that resulting noise in NA1

1 次查看(过去 30 天)
I want to Add the 20 frames of noise N1…N20 together. The result noise image is NA1. I.e.
NA1=N1+N2+…+N20. I want to Show NA1 (you may want to enhance it for display purpose), and the histogram distribution. What type of distribution does this look like? Using statistical theorem to explain.
  3 个评论
DGM
DGM 2021-9-21
That doesn't answer any of the questions.
If the images are separate arrays, you can add them together rather explicitly as in your post.
% NA1 = N1+N2+N3+ ... N20;
If the images are pages/frames of an N-D array, then you can just use sum() along the appropriate dimension
% images arranged on dim3 of an array called N
NA1 = sum(N,3);
In either case, if the images are integer-class arrays, the result will be clipped. You could either do this by converting to floating point or by using a wider integer class. Depending on what you started with and what your analysis requires, this can be done different ways, some of which may require extra steps to get the image displayed correctly.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Feature Detection and Extraction 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by