i've an png image of size 192x268. i've divided into non-overlapping blocks..now i want to calulate the mean of each and every block.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
i wanted to calculate the mean of every block in order to check which block(s) have the same mean value...
or other way
i want to compare the mean value of every block
what should i do?
1 Commento
Risposta accettata
Walter Roberson
il 14 Feb 2013
means = blockproc(YourImage, [3 3], @(s) mean2(s.data), 'BorderSize', [3 3], 'TrimBorder', false);
0 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!