error processing wavelet3ddemo from help menu

9 ビュー (過去 30 日間)
FIR
FIR 2011 年 11 月 3 日
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 日
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 日
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

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeColor and Styling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by