RGB images 3 dimensional??

조회 수: 10 (최근 30일)
ABTJ
ABTJ 2020년 5월 3일
댓글: Stephen23 2020년 5월 3일
What is the dimension size of RGB image matrix? Are they three dimensional or two dimensional?
  댓글 수: 1
Stephen23
Stephen23 2020년 5월 3일
Different image types are explained very well in the MATLAB documentation:

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

채택된 답변

KSSV
KSSV 2020년 5월 3일
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개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품


릴리스

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by