필터 지우기
필터 지우기

setting the colors for blocks

조회 수: 2 (최근 30일)
angel
angel 2013년 3월 8일
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.

채택된 답변

Walter Roberson
Walter Roberson 2013년 3월 8일
Take the matrix of mean values, and imagesc() it.
  댓글 수: 6
angel
angel 2013년 3월 9일
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 2013년 3월 9일
No, it needs to be an array.
I suggest you upload an image of the result of imagesc(meanValues)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by