setting the colors for blocks

2 views (last 30 days)
angel
angel on 8 Mar 2013
i've a grayscale image and i've divided into non-overlapping blocks.
i want to color/mark the blocks having same mean value.
can anyone tell me how to do so.. as i m novice to matlab...
if required tell me as soon as possible i can provide you my code.

Accepted Answer

Walter Roberson
Walter Roberson on 8 Mar 2013
Take the matrix of mean values, and imagesc() it.
  6 Comments
angel
angel on 9 Mar 2013
meanValue is array in my code...
u mean i've to convert it into vector form first right?
then apply imagesc(meanValue);
is it this u r saying??
Walter Roberson
Walter Roberson on 9 Mar 2013
No, it needs to be an array.
I suggest you upload an image of the result of imagesc(meanValues)

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!