MATLAB Answers

averaging images and subtracting one image from the other

조회 수: 20(최근 30일)
Sumera Yamin
Sumera Yamin 18 Feb 2021
댓글: Sumera Yamin 18 Feb 2021
Hi, I have a basic image processing question. I am dealing with two sets of images. Lets say image A (average of 10 image sets) and image B (average of 10 image sets). How do I do the average of 10 images to get image A and B and then subtract image A from image B. Many thanks for any leads.

채택된 답변

Matt J
Matt J 18 Feb 2021
편집: Matt J 18 Feb 2021
For example,
setA=rand(256,256,10);
setB=rand(256,256,10);
imageA=mean(setA,3);
imageB=mean(setB,3);
result = imageB-imageA;
  댓글 수: 3

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

추가 답변(0개)

범주

Community Treasure Hunt

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

Start Hunting!

Translated by