error processing wavelet3ddemo from help menu

8 views (last 30 days)
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

Accepted Answer

Wayne King
Wayne King on 3 Nov 2011
colormap('gray')
  1 Comment
Wayne King
Wayne King on 3 Nov 2011
You should realize that there are a number of colormap(map) calls in that demo, not just one.

Sign in to comment.

More Answers (1)

Wayne King
Wayne King on 3 Nov 2011
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 Comments
FIR
FIR on 3 Nov 2011
wayne i commented that colour map line ,please say the command how to use that gray colormap

Sign in to comment.

Categories

Find more on Color and Styling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!