Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
Meghraj Kc
Meghraj Kc am 20 Sep. 2021
Kommentiert: DGM am 21 Sep. 2021
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 Kommentare
Meghraj Kc
Meghraj Kc am 21 Sep. 2021
Image type is lena type image
The allocated frame is 512x512
DGM
DGM am 21 Sep. 2021
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by