How can I add 20 frames of noise N1 to N20 such that resulting noise in NA1
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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
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.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Feature Detection and Extraction finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!