Standard deviation per pixel in an image series
조회 수: 11 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
채택된 답변
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);
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File 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!