フィルターのクリア

I would like to determine the average of a region of pixels within an image and quantify it automatically. How can I do that?

19 ビュー (過去 30 日間)
Hello,
I have an .lsm image and with a single color channel. Each image has a couple of regions of pixels that I would like to calculate the mean. Is there a function that can identify these regions of interest and quantify its mean automatically?
Also is there a function in Matlab that could count the regions within an iamge based on its RGB?
Thank you!!
Kind wishes,
Neo

採用された回答

Image Analyst
Image Analyst 2022 年 6 月 8 日
You need to create a binary image and then use regionprops
In short it's
props = regionprops(binaryImage, grayScaleImage, 'MeanIntensity');
allMeanIntensities = [props.MeanIntensity]
  8 件のコメント
Neo
Neo 2022 年 6 月 21 日
@Image Analyst in case you did not see earlier, thank you!!
Image Analyst
Image Analyst 2022 年 6 月 21 日
@Neo, glad it worked for you. Thanks for accepting the answer.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Segmentation and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by