average of pixel color in block

1 次查看(过去 30 天)
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...

采纳的回答

Walter Roberson
Walter Roberson 2013-1-18
mean2() applied to the block.

更多回答(1 个)

Jan
Jan 2013-1-18
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