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

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -