I have used 'regionprops' to identify regions after a volume segmentation. I need to know the pixel values within each region. The result from 'regionprops' include 'PixelList'. For example, the first region's pixel subscripts in my volume are:
regions(1).PixelList:
100 27 73
100 26 74
99 25 75
There are more than 4000 regions. It takes time as well as being inelegant to go through all the regions in a loop.
How can I get the 'PixelList' for all the regions and calculate the Mean, Max, Min, etc. for every region without using a loop.
Thanks.