Info

This question is closed. Reopen it to edit or answer.

I have calculated fractional value of each image in an image array ,but how to calculate average of all the fractional values of an image array using matlab.

1 view (last 30 days)
sandhya sandhya
sandhya sandhya on 11 Jul 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
I have calculated fractional value of each image in an image array ,but how to calculate average of all fractional values of an image array .

Answers (1)

Guillaume
Guillaume on 11 Jul 2017
I don't know what fractional value of an image mean. To calculate the average of an array:
mean(yourarray(:))
or if you have the processing toolbox and your image is greyscale
mean2(yourarray)

Community Treasure Hunt

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

Start Hunting!