필터 지우기
필터 지우기

how can i calculate a variance of each BLOB in image

조회 수: 3 (최근 30일)
bay rem
bay rem 2016년 1월 20일
편집: Image Analyst 2016년 1월 20일
hello every one; i need to know how to calculate a variance of each blob contains in one image, thank you in advance

채택된 답변

Image Analyst
Image Analyst 2016년 1월 20일
편집: Image Analyst 2016년 1월 20일
Ask regionprops to return PixelValues for the blobs.
measurements = regionprops(labeledImage, 'PixelValues');
Then for the kth blob:
blobVariance(k) = var(measurements(k).PixelValues);

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by