Effacer les filtres
Effacer les filtres

Standard deviation per pixel in an image series

11 vues (au cours des 30 derniers jours)
Bankim Chandra Yadav
Bankim Chandra Yadav le 1 Mai 2018
Commenté : Ameer Hamza le 1 Mai 2018
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.

Réponse acceptée

Ameer Hamza
Ameer Hamza le 1 Mai 2018
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 commentaires
Bankim Chandra Yadav
Bankim Chandra Yadav le 1 Mai 2018
Simplistic answer. Thanks.
Ameer Hamza
Ameer Hamza le 1 Mai 2018
You are welcome.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Image Processing and Computer Vision dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by