필터 지우기
필터 지우기

By using rgb2bind function 512x512x3 image is converted into 512x512 for algorithm implementation.If i have to convert 512x512 image into 512x512x3 image what needs to be done?

조회 수: 3 (최근 30일)
A=imread('airplane.bmp');
[Z,map]=rgb2ind(A,256);
A is 512x512x3 and Z is 512x512.
I want to perform reverse operation.

답변 (1개)

Walter Roberson
Walter Roberson 2017년 1월 10일
A_rebuilt = ind2rgb(Z, map);
  댓글 수: 1
Jan
Jan 2017년 1월 10일
@Sudeep Albal: This answer looks a kind of trivial. You can find such solutions by reading the "See also" line of the commands.

댓글을 달려면 로그인하십시오.

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by