How can I add 20 frames of noise N1 to N20 such that resulting noise in NA1
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
DGM
il 21 Set 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.
Risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!