How to calculate the mean intensity in my ROI

Hey
I'm sitting with a DICOM image and I want to calculate the mean and std of the intensity in my ROI. But I don't know how..
Regards Ane

Answers (1)

Extract the pixels in your ROI and then take the mean or std of them using mean/std. If you can provide more information on your ROI that would help us provide a better answer. Is it an IMROI (and children) object? If so you could use its createMask method to generate a mask and the use the mask as a logical index to extract the pixel values...

Categories

Tags

Asked:

Ane
on 24 Oct 2012

Community Treasure Hunt

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

Start Hunting!