error processing wavelet3ddemo from help menu

I have a set of slices of image say 15,i want to proess compression,i saw from wavelet3ddemo from help menu ,but it gave coloured output,my image id a 2d,not colourred, can u tell how to rectify it please

 채택된 답변

Wayne King
Wayne King 2011년 11월 3일

0 개 추천

colormap('gray')

댓글 수: 1

Wayne King
Wayne King 2011년 11월 3일
You should realize that there are a number of colormap(map) calls in that demo, not just one.

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

추가 답변 (1개)

Wayne King
Wayne King 2011년 11월 3일

0 개 추천

That's because they used a colormap. You don't have to use the colormap. You can use a gray scale colormap.
If you load the wmri dataset in your workspace, you'll see that the .mat file has a 89x3 color map

댓글 수: 2

FIR
FIR 2011년 11월 3일
wayne i commented that colour map line ,please say the command how to use that gray colormap
FIR
FIR 2011년 11월 3일
thanks wayne

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

카테고리

도움말 센터File Exchange에서 Color and Styling에 대해 자세히 알아보기

질문:

FIR
2011년 11월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by