Borrar filtros
Borrar filtros

RGB images 3 dimensional??

16 visualizaciones (últimos 30 días)
ABTJ
ABTJ el 3 de Mayo de 2020
Comentada: Stephen23 el 3 de Mayo de 2020
What is the dimension size of RGB image matrix? Are they three dimensional or two dimensional?
  1 comentario
Stephen23
Stephen23 el 3 de Mayo de 2020
Different image types are explained very well in the MATLAB documentation:

Iniciar sesión para comentar.

Respuesta aceptada

KSSV
KSSV el 3 de Mayo de 2020
RGB image will be a 3D matrix.....it will be of size m*n*3. It has three color channels. You can seperate them using:
I = imread("MyColorImage") ;
[m,n,p] = size(I) ; % note p = 3
R = I(:,:,1) ; % Red
G = I(:,:,2) ; % Green
B = I(:,:,3) ; % Blue

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Productos


Versión

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by