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 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Neo
am 8 Jun. 2022
Kommentiert: Image Analyst
am 21 Jun. 2022
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
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 8 Jun. 2022
You need to create a binary image and then use regionprops
In short it's
props = regionprops(binaryImage, grayScaleImage, 'MeanIntensity');
allMeanIntensities = [props.MeanIntensity]
8 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!