フィルターのクリア

how to find map matrix to an 3D image as in load function?

2 ビュー (過去 30 日間)
Rasha
Rasha 2014 年 11 月 14 日
コメント済み: Rasha 2014 年 11 月 18 日
in this code
load wbarb;
the output be the image 'X' and the map of it.
I want to find the map to my image so I wrote a cod as:
[X,map] = imread('pears.png');
the output be the image 'X' but the map be like this []
so what is the right way to find 'map' in 3 columns?
  1 件のコメント
Rasha
Rasha 2014 年 11 月 18 日
I found this code and I think it's what I looking for
[X,map] = cmunique(RGB);

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by