Borrar filtros
Borrar filtros

changing an image to rgb format

2 visualizaciones (últimos 30 días)
nazli melek
nazli melek el 23 de Ag. de 2012
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?

Respuesta aceptada

Matt Fig
Matt Fig el 23 de Ag. de 2012
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

Más respuestas (0)

Categorías

Más información sobre Images en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by