Show older comments
Hi,
I am looking to calculate the standard deviation of intensity values of a grayscale image.
I do not want to calculate the standard deviation of the entire image, but just a ROI.
I can create a binary mask, but can not see a way of using this to extract the ROI statistics.
Any help would be greatly appreciated.
Cheers,
Joe
Accepted Answer
More Answers (1)
David Young
on 29 Aug 2011
std(Image(logical(binary_mask)))
Categories
Find more on ROI-Based Processing 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!