RMS image process for multiple photographs
8 views (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/307507/image.png)
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.
0 Comments
Answers (1)
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
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.
See Also
Categories
Find more on Install Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!