Effacer les filtres
Effacer les filtres

setting the colors for blocks

3 vues (au cours des 30 derniers jours)
angel
angel le 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.

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by