Borrar filtros
Borrar filtros

Creating a table of ROI average values

1 visualización (últimos 30 días)
Sarron Simpson
Sarron Simpson el 7 de Dic. de 2022
Respondida: Mandar el 8 de Feb. de 2023
Hello,
I have a folder of ~2,000 grayscale images. I've selected a ROI and gotten the average pixel value from those areas. I just need to figure out a way to create a table so that I could show that frame 24 has an average value of "x". I'm not sure where to start on this, any help would be much appreciated.
Thanks!

Respuestas (1)

Mandar
Mandar el 8 de Feb. de 2023
I understand that you want to create a table that shows average value of the ROI for each frame. Refer the demo example below which makes use of "table" function to generate the table with the entries of frame number and respective average ROI value of each frame. Refer the link below to know more about creating tables in the MATLAB.
Frame_number = [1; 2; 3; 4];
Avg_ROI_value = [12.5;55.5;36.7;12.4];
Entries = table(Frame_number,Avg_ROI_value)
Entries = 4×2 table
Frame_number Avg_ROI_value ____________ _____________ 1 12.5 2 55.5 3 36.7 4 12.4

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by