setting the colors for blocks

5 visualizzazioni (ultimi 30 giorni)
angel
angel il 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.

Risposta accettata

Walter Roberson
Walter Roberson il 8 Mar 2013
Take the matrix of mean values, and imagesc() it.
  6 Commenti
angel
angel il 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 il 9 Mar 2013
No, it needs to be an array.
I suggest you upload an image of the result of imagesc(meanValues)

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by