필터 지우기
필터 지우기

Standard deviation per pixel in an image series

조회 수: 11 (최근 30일)
Bankim Chandra Yadav
Bankim Chandra Yadav 2018년 5월 1일
댓글: Ameer Hamza 2018년 5월 1일
Let's say I have 2 images of size 3x3. I want to store the standard deviation of each pixel in a new matrix of size 3x3.
So if I have k images of same size, then I want to find the standard deviation of k entries per pixel and store that in a new matrix.

채택된 답변

Ameer Hamza
Ameer Hamza 2018년 5월 1일
Save the images in a 3D array (say imageArray), such that imageArray(:,:,1) = Image1, imageArray(:,:,1) = Image2, ..., imageArray(:,:,k) = Imagek. Then you can calculate per pixel standard deviation using
std(imageArray, 3);
  댓글 수: 2
Bankim Chandra Yadav
Bankim Chandra Yadav 2018년 5월 1일
Simplistic answer. Thanks.
Ameer Hamza
Ameer Hamza 2018년 5월 1일
You are welcome.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by