convert RGB to YCbCr
이전 댓글 표시
I need to get three channel(three matrix)= Y, Cb, Cr from convert color imag to ycbcr but: the follow function
RGB = imread(colorimage) ycbcr = rgb2ycbcr(RGB)
give alone one channel(luminance)
댓글 수: 5
Anton Semechko
2012년 7월 7일
try this example:
RGB = imread('board.tif');
YCBCR = rgb2ycbcr(RGB);
do you still get only one channel?
Anton Semechko
2012년 7월 7일
Y=YCBCR(:,:,1);
Cb=YCBCR(:,:,2);
Cr=YCBCR(:,:,3);
Aseel H
2012년 7월 7일
Aseel H
2012년 7월 8일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!