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

조회 수: 1 (최근 30일)
Meghraj Kc
Meghraj Kc 2021년 9월 20일
댓글: DGM 2021년 9월 21일
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
Meghraj Kc
Meghraj Kc 2021년 9월 21일
Image type is lena type image
The allocated frame is 512x512
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에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by