Filter löschen
Filter löschen

setting the colors for blocks

2 Ansichten (letzte 30 Tage)
angel
angel am 8 Mär. 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.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by