How to calculate sum of pixel values in grey scale images.
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ahmad Alenezi
am 29 Jul. 2019
Beantwortet: Guillaume
am 29 Jul. 2019
Hi all,
I have a grey scale image that contains a tumour uptake and i want to know how to calculate the sum of all pixel values (intensities) within this tumour. I have selected the ROI where i want to calculate the uptake value. I called this image myROI.
Can you help in this, please ?
0 Kommentare
Akzeptierte Antwort
Guillaume
am 29 Jul. 2019
Not many details are given, but shouldn't it be:
sum(myROI(:)) %sum of all values in array myROI
If on R2018b or later, you can also use:
sum(myROI, 'all')
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Modify Image Colors finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!