average of pixel color in block

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...

 Respuesta aceptada

Walter Roberson
Walter Roberson el 18 de En. de 2013

0 votos

mean2() applied to the block.

Más respuestas (1)

Jan
Jan el 18 de En. de 2013

0 votos

You can apply FEX: BlockMean directly to the RGB image.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by