필터 지우기
필터 지우기

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by