I have an image and I want to calculate the mean pixel value in a region of interest. I have defined the polygon and ROIPOLY returns a mask. The mask is a filled polygon with value 1;s and all 0's outside.
MATLAB: How to calculate the mean value of a region given the mask from ROIPOLY
Image Processing Toolbox
Best Answer