Borrar filtros
Borrar filtros

setting the colors for blocks

2 visualizaciones (últimos 30 días)
angel
angel el 8 de Mzo. de 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.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by