How do I calculate a threshold from one ROI and calculate a mean from a larger ROI that only takes into account pixels above this threshold?
1 view (last 30 days)
Show older comments
I've never coded a Matlab program to analyze images so I'm having some trouble with this. What I'd like to do is take the mean brightness/intensity of a small region of interest, set a threshold 2 SD below this mean, and then find the mean of a larger region of interest only taking into account the values above threshold. Could anyone help me with this?
0 Comments
Answers (1)
Image Analyst
on 22 Jul 2014
See attached code to produce this:
4 Comments
Image Analyst
on 26 Jul 2014
Roshimi, haven't heard back from you. Did my answer solve your question? Or are you still unable to do what you want to do?
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!