average of pixel color in block

2 visualizzazioni (ultimi 30 giorni)
jenifer
jenifer il 18 Gen 2013
I m doing project in medical images.. I want to extract the color features. In that first i divided the whole image into 64 blocks.. next i want to average the pixel colors in each block.. the block size is(32 x 32)...how can i take average of pixel colors.. please help me with matlab codes...

Risposta accettata

Walter Roberson
Walter Roberson il 18 Gen 2013
mean2() applied to the block.

Più risposte (1)

Jan
Jan il 18 Gen 2013
You can apply FEX: BlockMean directly to the RGB image.

Community Treasure Hunt

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

Start Hunting!

Translated by