RMS image process for multiple photographs

8 次查看(过去 30 天)
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.

回答(1 个)

Image Analyst
Image Analyst 2020-6-1
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 个评论
Image Analyst
Image Analyst 2020-6-2
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 2020-6-2
Okay. It was a great help for me. Thank you so much.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by