pixel - Calculating average intensity of area with matlab regionprops -


i have grayscaled picture, there objects different shapes. have binary image of grayscaled picture.

with majoraxeslength , minoraxislength ratio (from regionprops) can identify each of them, how can calculate average intensity each of objects?

and possible calculate average intensity of lines, gives minoraxislength , majoraxislength?

add regionprops 'pixelidxlist' handle. can following:

s = regionprops(bw,'pixelidxlist'); n=1:numel(s)      meani(n)=mean(image(s(n).pixelidxlist)); end 

this assumes bw binary image , image grayscale one.


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -