Clear Filters
Clear Filters

RMS image process for multiple photographs

8 views (last 30 days)
JCH
JCH on 1 Jun 2020
Commented: JCH on 2 Jun 2020
I need the RMS result of about 100 pictures like above. First of all, I want to bring the image, use the 'rgb2gray' code, use the 'RMS' code, and add the thresholding value to dichotomize the picture. After all, it is my goal to observe the boundaries between the background and the subject clearly. Please help me with this problem.

Answers (1)

Image Analyst
Image Analyst on 1 Jun 2020
What is the RMS result and RMS code? What does dichotomize mean? You mean binarize or threshold???
What I'd do is, if you want the average of all the spray cone patterns (see the FAQ) is to cast the images to double and sum them up. Then I'd threshold the sum image and call bwboundaries. You might find my interactive thresholding app useful: https://www.mathworks.com/matlabcentral/fileexchange/29372-thresholding-an-image
  3 Comments
Image Analyst
Image Analyst on 2 Jun 2020
OK, easy enough if you have all the S{k}, but how do you get those? I'm sure you have all the raw images but how do they say they "correct" and "denoise" the images before squaring them?
If you just want to find the shape, and not analyze any pattern inside the shape, another option to look at is just to take the max:
for k = 1 : numImages
outputImageMax = max(cat(3, outputImage, S{k}));
outputImageRMS = outputImageRMS + double(S{k}) .^ 2;
end
% Need to divide the RMS image (only) by the number of images.
outputImageRMS = outputImageRMS / numImages;
Since it's so easy, do it both ways and look at the images.
JCH
JCH on 2 Jun 2020
Okay. It was a great help for me. Thank you so much.

Sign in to comment.

Categories

Find more on Install Products in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!