필터 지우기
필터 지우기

changing an image to rgb format

조회 수: 2 (최근 30일)
nazli melek
nazli melek 2012년 8월 23일
hi every body
I have an image stored in png format,its size is 256*256 but I need to have the image in size 256*256*3 which format should I use to store it? is there any way that I can do it in matlab?

채택된 답변

Matt Fig
Matt Fig 2012년 8월 23일
A png is already 3D. I have an image named IMG.png in my directory. Now look:
>> X = imread('IMG.png');
>> whos
Name Size Bytes Class Attributes
X 2304x2857x3 19747584 uint8

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by