필터 지우기
필터 지우기

Converting gray scale to ycbcr??

조회 수: 6 (최근 30일)
Niranjan
Niranjan 2011년 2월 18일
댓글: Christin Panjaitan 2014년 9월 5일
Is there any way by which we can convert a gray scale to Ycbcbr???

채택된 답변

David Young
David Young 2011년 2월 18일
A greyscale image has no colour information, but you can still represent it as ycbcr if you wish - though it's not clear why you'd want to, since the chrominance planes will be constants. Anyway, this will convert, assuming you're starting from a 2D greyscale image:
rgbimage(:,:,1) = greyimage;
rgbimage(:,:,2) = greyimage;
rgbimage(:,:,3) = greyimage;
ycbcrimage = rgb2ycbcr(rgbimage);
You can also convert a colormap using the same function, if that's what you want to do.
  댓글 수: 1
Christin Panjaitan
Christin Panjaitan 2014년 9월 5일
How is about grayscale High Dynamic Range (12-bit) ? How to convert grayscale High Dynamic Range into Ycbcr ?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by