How to create mask of an image

5 views (last 30 days)
Jim
Jim on 14 Sep 2011
Hi,
I have 10 images of same object(in matrix form)(.txt file) of same size and and same class
I converted from matrix to grayscale using mat2gray command
I calculated the mean of 10 images using
mean(cat(3,IMG1,IMG2,IMG3,IMG4,IMG5,IMG6,IMG7,IMG8,IMG9,IMG10),3)
and this gives me a new image with mean of pixel values of 10 images
Now I have to create mask of the image using the threshold value of the new image
Can anyone suggest something about this?
Thanks in advance

Answers (1)

Walter Roberson
Walter Roberson on 14 Sep 2011
Please edit your previous question to reflect this new information, and then delete this question.

Products

Community Treasure Hunt

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

Start Hunting!