フィルターのクリア

Overlaying images with different colormap

4 ビュー (過去 30 日間)
Bojan
Bojan 2012 年 6 月 27 日
How can I overlay images with different colormaps together while preserving the colormap of individual images in the composite images? I am trying to overlay four images with different colormaps together. Very similar to imfuse but with four images rather than two and I want to specify the colormap for each image individually. I have tried holding the image and displaying the subsequent ones on while changing the AlphaData but the colormap changes every time I add a new image. Many thanks Bojan

回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 6 月 27 日
You cannot.
You can share a single colormap such as is described at http://www.mathworks.com/support/solutions/en/data/1-GNRWEH/index.html, but that is not the same thing as preserving the colormap of the individual images.
Unless you need to do "colormap animation", I recommend that you use the File Exchange contribution http://www.mathworks.com/matlabcentral/fileexchange/7943

カテゴリ

Help Center および File ExchangeColormaps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by