Demosaic 16bit Image into a 16 bit Color image

Hi, the Demosaic function in Matlab create a truecolor image not in the same format as the input, so the output is of type "Double". Anybody knows an optimal way to convert a bayer image into a true color image keeping the type? tnx
Azi

답변 (1개)

Image Analyst
Image Analyst 2013년 11월 20일

0 개 추천

Can't you just use uint8() to cast it to uint8 or whatever?

댓글 수: 2

azarm
azarm 2013년 11월 21일
in Conversions you lose information in the image! that's why i do not want to use any class conversions.
Then don't. You don't have to. You can keep it as floating point. You only need to convert to uint8 if you want to display it or you want to save it in a standard image format file.

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

카테고리

도움말 센터File Exchange에서 Images에 대해 자세히 알아보기

태그

질문:

2013년 11월 20일

댓글:

2013년 11월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by