RGB images 3 dimensional??
16 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
What is the dimension size of RGB image matrix? Are they three dimensional or two dimensional?
1 Commento
Risposta accettata
KSSV
il 3 Mag 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
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Processing Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!