average of pixel color in block

1 view (last 30 days)
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...

Accepted Answer

Walter Roberson
Walter Roberson on 18 Jan 2013
mean2() applied to the block.

More Answers (1)

Jan
Jan on 18 Jan 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!