Clear Filters
Clear Filters

Running the software for multiple images

1 view (last 30 days)
I have this folder of images and would like to run my software on them. However, I am not so sure how and what to start with. Thanks in advance.

Accepted Answer

Walter Roberson
Walter Roberson on 10 Jan 2016
  2 Comments
Gee Cheng Mun
Gee Cheng Mun on 10 Jan 2016
Thank you so much! May I know how can I obtain an average image from a folder which contains multiple images?
Walter Roberson
Walter Roberson on 11 Jan 2016
for imagenumber = 1 : 20
TheImageArray = read image #imagenumber
if imagenumber == 1
image_total = double(TheImageArray)
else
image_total = image_total + TheImageArray
end
end
mean_Image = image_total / number of images

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!