Trying to read .nef file in 14 bits

4 次查看(过去 30 天)
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
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