Extract image statistics using a mask

I can establish a mask [(polygon shaped) ROI] to define a set of pixels in an (multiband) image.
How do i extract statistics (mean, covariance) using only those pixels within the ROI?

답변 (0개)

질문:

2012년 3월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by