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 Center および File ExchangeConvert Image Type についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by