Trying to read .nef file in 14 bits

조회 수: 4 (최근 30일)
ilan ancelseritcioglu
ilan ancelseritcioglu 2023년 4월 16일
편집: ilan ancelseritcioglu 2023년 4월 17일
Hello Everyone, Im using D300s camera to take some images (.nef) and want to read them on matlab. I take the images in 14 bits but when I read them it reads in 8 bits. Does anyone knows how to read in 14 bits. I tried using imread and fread but its no help.
Thanks alot

채택된 답변

ilan ancelseritcioglu
ilan ancelseritcioglu 2023년 4월 17일
편집: ilan ancelseritcioglu 2023년 4월 17일
I used raw2rgb('image.nef') to read the 14 bit image. It creates a 16 bits data and interpolate some of the point (from 14 to 16) but overall it does the works and doesnt converts to 8 bits.

추가 답변 (0개)

카테고리

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

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by