Value only extraction of ROI data?
Show older comments
Hi,
I have a matrix of numeric intensity data (data) and a binary mask (BW). I would like to make histograms of intensity under each mask.
for some context: Currently I have the mean of the region of interest (ROI).
meanvalue=mean2(data(BW));
What I would like is a 1D histogram but I cannot collapse the ROI of data(BW) without a lengthy code.
any ideas on how to collapse this ROI into a single column vector, or just plot an ROI histogram? Thanks in advance.
regards, Rob
Accepted Answer
More Answers (0)
Categories
Find more on Image Filtering and Enhancement in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!