필터 지우기
필터 지우기

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 CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by