error processing wavelet3ddemo from help menu
9 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Wayne King
2011-11-3
colormap('gray')
1 个评论
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
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Color and Styling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!